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";
197 &sdmmc1 { /* MicroSD */
198 pinctrl-names = "default", "opendrain", "sleep";
199 pinctrl-0 = <&sdmmc1_b4_pins_a>;
200 pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
201 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
202 cd-gpios = <&gpioi 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
206 vmmc-supply = <&vdd>;
207 vqmmc-supply = <&vdd>;
212 pinctrl-names = "default", "opendrain", "sleep";
213 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_c>;
214 pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_c>;
215 pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_c>;
221 vmmc-supply = <&v3v3>;
222 vqmmc-supply = <&vdd>;
226 &sdmmc3 { /* SDIO Wi-Fi */
227 pinctrl-names = "default", "opendrain", "sleep";
228 pinctrl-0 = <&sdmmc3_b4_pins_a>;
229 pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
230 pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
235 vmmc-supply = <&v3v3>;
236 vqmmc-supply = <&v3v3>;
240 &spi2 { /* X11 SPI */
241 pinctrl-names = "default";
242 pinctrl-0 = <&spi2_pins_b>;
243 cs-gpios = <&gpioi 0 0>;
245 /delete-property/dmas;
246 /delete-property/dma-names;
251 pinctrl-names = "default";
252 pinctrl-0 = <&uart4_pins_d>;
253 /delete-property/dmas;
254 /delete-property/dma-names;
258 &uart5 { /* X11 UART */
260 pinctrl-names = "default";
261 pinctrl-0 = <&uart5_pins_a>;
262 /delete-property/dmas;
263 /delete-property/dma-names;
269 pinctrl-names = "default";
270 pinctrl-0 = <&uart8_pins_a &uart8_rtscts_pins_a>;
272 /delete-property/dmas;
273 /delete-property/dma-names;
277 &usart3 { /* RS485 or RS232 */
279 pinctrl-names = "default", "sleep";
280 pinctrl-0 = <&usart3_pins_e>;
281 pinctrl-1 = <&usart3_sleep_pins_e>;
283 /delete-property/dmas;
284 /delete-property/dma-names;
289 phys = <&usbphyc_port0>;
294 phys = <&usbphyc_port0>;
300 pinctrl-0 = <&usbotg_hs_pins_a>;
301 pinctrl-names = "default";
302 phy-names = "usb2-phy";
303 phys = <&usbphyc_port1 0>;
304 vbus-supply = <&vbus_otg>;
313 phy-supply = <&vdd_usb>;
315 compatible = "usb-a-connector";
316 vbus-supply = <&vbus_sw>;
321 phy-supply = <&vdd_usb>;