1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) 2022 Marek Vasut <marex@denx.de>
8 ethernet0 = ðernet0;
21 stdout-path = "serial0:115200n8";
25 compatible = "gpio-leds";
27 label = "yellow:user0";
28 gpios = <&gpioz 6 GPIO_ACTIVE_LOW>;
29 default-state = "off";
34 gpios = <&gpioz 3 GPIO_ACTIVE_LOW>;
35 default-state = "off";
39 ethernet_vio: vioregulator {
40 compatible = "regulator-fixed";
41 regulator-name = "vio";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
44 gpio = <&gpioh 2 GPIO_ACTIVE_LOW>;
51 &adc { /* X11 ADC inputs */
52 pinctrl-names = "default";
53 pinctrl-0 = <&adc12_ain_pins_b>;
55 vdda-supply = <&vdda>;
56 vref-supply = <&vdda>;
60 st,adc-channels = <0 1 6>;
61 st,min-sample-time-nsecs = <5000>;
66 st,adc-channels = <0 1 2>;
67 st,min-sample-time-nsecs = <5000>;
74 pinctrl-0 = <ðernet0_rgmii_pins_c>;
75 pinctrl-1 = <ðernet0_rgmii_sleep_pins_c>;
76 pinctrl-names = "default", "sleep";
84 compatible = "snps,dwmac-mdio";
85 reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
86 reset-delay-us = <1000>;
87 reset-post-delay-us = <1000>;
89 phy0: ethernet-phy@7 {
100 txen-skew-ps = <540>;
101 txd0-skew-ps = <420>;
102 txd1-skew-ps = <420>;
103 txd2-skew-ps = <420>;
104 txd3-skew-ps = <420>;
110 pinctrl-names = "default", "sleep";
111 pinctrl-0 = <&fmc_pins_b>;
112 pinctrl-1 = <&fmc_sleep_pins_b>;
115 ksz8851: ethernet@1,0 {
116 compatible = "micrel,ks8851-mll";
117 reg = <1 0x0 0x2>, <1 0x2 0x20000>;
118 interrupt-parent = <&gpioc>;
119 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
122 /* Timing values are in nS */
123 st,fmc2-ebi-cs-mux-enable;
124 st,fmc2-ebi-cs-transaction-type = <4>;
125 st,fmc2-ebi-cs-buswidth = <16>;
126 st,fmc2-ebi-cs-address-setup-ns = <5>;
127 st,fmc2-ebi-cs-address-hold-ns = <5>;
128 st,fmc2-ebi-cs-bus-turnaround-ns = <5>;
129 st,fmc2-ebi-cs-data-setup-ns = <45>;
130 st,fmc2-ebi-cs-data-hold-ns = <1>;
131 st,fmc2-ebi-cs-write-address-setup-ns = <5>;
132 st,fmc2-ebi-cs-write-address-hold-ns = <5>;
133 st,fmc2-ebi-cs-write-bus-turnaround-ns = <5>;
134 st,fmc2-ebi-cs-write-data-setup-ns = <45>;
135 st,fmc2-ebi-cs-write-data-hold-ns = <1>;
140 gpio-line-names = "", "", "", "",
141 "DRCC-VAR2", "", "", "",
147 gpio-line-names = "", "", "", "",
148 "", "DRCC-GPIO0", "", "",
154 gpio-line-names = "", "", "", "",
157 "DRCC-GPIO5", "", "", "";
161 gpio-line-names = "", "", "", "DRCC-HW2",
162 "DRCC-GPIO4", "", "", "",
163 "DRCC-HW1", "DRCC-HW0", "", "DRCC-VAR1",
164 "DRCC-VAR0", "", "", "DRCC-GPIO6";
168 gpio-line-names = "", "", "", "",
169 "", "", "", "DRCC-GPIO2",
170 "", "DRCC-GPIO1", "", "",
174 &i2c1 { /* X11 I2C1 */
175 pinctrl-names = "default";
176 pinctrl-0 = <&i2c1_pins_b>;
177 i2c-scl-rising-time-ns = <185>;
178 i2c-scl-falling-time-ns = <20>;
180 /delete-property/dmas;
181 /delete-property/dma-names;
186 compatible = "microcrystal,rv8803";
191 compatible = "atmel,24c04";
196 dh_mac_eeprom: eeprom@53 {
197 compatible = "atmel,24c02";
203 &sdmmc1 { /* MicroSD */
204 pinctrl-names = "default", "opendrain", "sleep";
205 pinctrl-0 = <&sdmmc1_b4_pins_a>;
206 pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
207 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
208 cd-gpios = <&gpioi 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
212 vmmc-supply = <&vdd>;
213 vqmmc-supply = <&vdd>;
218 pinctrl-names = "default", "opendrain", "sleep";
219 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_c>;
220 pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_c>;
221 pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_c>;
227 vmmc-supply = <&v3v3>;
228 vqmmc-supply = <&vdd>;
232 &sdmmc3 { /* SDIO Wi-Fi */
233 pinctrl-names = "default", "opendrain", "sleep";
234 pinctrl-0 = <&sdmmc3_b4_pins_a>;
235 pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
236 pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
241 vmmc-supply = <&v3v3>;
242 vqmmc-supply = <&v3v3>;
246 &spi2 { /* X11 SPI */
247 pinctrl-names = "default";
248 pinctrl-0 = <&spi2_pins_b>;
249 cs-gpios = <&gpioi 0 0>;
251 /delete-property/dmas;
252 /delete-property/dma-names;
257 pinctrl-names = "default";
258 pinctrl-0 = <&uart4_pins_d>;
259 /delete-property/dmas;
260 /delete-property/dma-names;
264 &uart5 { /* X11 UART */
266 pinctrl-names = "default";
267 pinctrl-0 = <&uart5_pins_a>;
268 /delete-property/dmas;
269 /delete-property/dma-names;
275 pinctrl-names = "default";
276 pinctrl-0 = <&uart8_pins_a &uart8_rtscts_pins_a>;
278 /delete-property/dmas;
279 /delete-property/dma-names;
283 &usart3 { /* RS485 or RS232 */
285 pinctrl-names = "default", "sleep";
286 pinctrl-0 = <&usart3_pins_e>;
287 pinctrl-1 = <&usart3_sleep_pins_e>;
289 /delete-property/dmas;
290 /delete-property/dma-names;
295 phys = <&usbphyc_port0>;
300 phys = <&usbphyc_port0>;
306 pinctrl-0 = <&usbotg_hs_pins_a>;
307 pinctrl-names = "default";
308 phy-names = "usb2-phy";
309 phys = <&usbphyc_port1 0>;
310 vbus-supply = <&vbus_otg>;
319 phy-supply = <&vdd_usb>;
321 compatible = "usb-a-connector";
322 vbus-supply = <&vbus_sw>;
327 phy-supply = <&vdd_usb>;