1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
3 * Copyright (C) 2020 Marek Vasut <marex@denx.de>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pwm/pwm.h>
17 stdout-path = "serial0:115200n8";
31 * NOTE: On DRC02, the RS485_RX_En is controlled by a separate
32 * GPIO line, however the STM32 UART driver assumes RX happens
33 * during TX anyway and that it only controls drive enable DE
34 * line. Hence, the RX is always enabled here.
40 line-name = "rs485-rx-en";
45 gpio-line-names = "", "", "", "",
46 "", "", "DHCOM-B", "",
47 "", "", "", "DRC02-Out1",
48 "DRC02-Out2", "", "", "";
52 gpio-line-names = "DRC02-In1", "DHCOM-O", "DHCOM-H", "DHCOM-I",
53 "DHCOM-R", "DHCOM-M", "", "",
54 "DRC02-In2", "", "", "",
58 * NOTE: The USB Hub on the DRC02 needs a reset signal to be
59 * pulled high in order to be detected by the USB Controller.
60 * This signal should be handled by USB power sequencing in
61 * order to reset the Hub when USB bus is powered down, but
62 * so far there is no such functionality.
68 line-name = "usb-hub-reset";
73 pinctrl-names = "default";
74 pinctrl-0 = <&i2c2_pins_a>;
75 i2c-scl-rising-time-ns = <185>;
76 i2c-scl-falling-time-ns = <20>;
78 /* spare dmas for other usage */
79 /delete-property/dmas;
80 /delete-property/dma-names;
84 compatible = "atmel,24c04";
97 pinctrl-names = "default";
98 pinctrl-0 = <&i2c5_pins_a>;
99 i2c-scl-rising-time-ns = <185>;
100 i2c-scl-falling-time-ns = <20>;
102 /* spare dmas for other usage */
103 /delete-property/dmas;
104 /delete-property/dma-names;
109 * On DRC02, the SoM does not have SDIO WiFi. The pins
110 * are used for on-board microSD slot instead.
112 /delete-property/broken-cd;
113 cd-gpios = <&gpioi 10 GPIO_ACTIVE_HIGH>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&spi1_pins_a>;
120 cs-gpios = <&gpioz 3 0>;
121 /* Use PIO for the display */
122 /delete-property/dmas;
123 /delete-property/dma-names;
124 status = "disabled"; /* Enable once there is display driver */
126 * Note: PF3/GPIO_A , PD6/GPIO_B , PG0/GPIO_C , PC6/GPIO_E are
127 * also connected to the display board connector.
132 pinctrl-names = "default";
133 pinctrl-0 = <&usart3_pins_a>;
138 * Note: PI3 is UART1_RTS and PI5 is UART1_CTS on DRC02 (uart4 of STM32MP1),
139 * however the STM32MP1 pinmux cannot map them to UART4 .
143 linux,rs485-enabled-at-boot-time;
144 pinctrl-names = "default";
145 pinctrl-0 = <&uart8_pins_a>;
146 rts-gpios = <&gpioe 6 GPIO_ACTIVE_HIGH>;
151 phys = <&usbphyc_port0>;
160 phy-supply = <&vdd_usb>;