1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/clock/ingenic,tcu.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "img,ci20", "ingenic,jz4780";
23 device_type = "memory";
25 0x30000000 0x30000000>;
29 compatible = "gpio-leds";
32 label = "ci20:red:led0";
33 gpios = <&gpc 3 GPIO_ACTIVE_HIGH>;
34 linux,default-trigger = "none";
38 label = "ci20:red:led1";
39 gpios = <&gpc 2 GPIO_ACTIVE_HIGH>;
40 linux,default-trigger = "nand-disk";
44 label = "ci20:red:led2";
45 gpios = <&gpc 1 GPIO_ACTIVE_HIGH>;
46 linux,default-trigger = "cpu1";
50 label = "ci20:red:led3";
51 gpios = <&gpc 0 GPIO_ACTIVE_HIGH>;
52 linux,default-trigger = "cpu0";
56 eth0_power: fixedregulator@0 {
57 compatible = "regulator-fixed";
58 regulator-name = "eth0_power";
59 gpio = <&gpb 25 GPIO_ACTIVE_LOW>;
63 wlan0_power: fixedregulator@1 {
64 compatible = "regulator-fixed";
65 regulator-name = "wlan0_power";
66 gpio = <&gpb 19 GPIO_ACTIVE_LOW>;
72 clock-frequency = <48000000>;
79 max-frequency = <50000000>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pins_mmc0>;
84 cd-gpios = <&gpf 20 GPIO_ACTIVE_LOW>;
91 max-frequency = <50000000>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&pins_mmc1>;
99 compatible = "brcm,bcm4330-fmac";
100 vcc-supply = <&wlan0_power>;
101 device-wakeup-gpios = <&gpd 9 GPIO_ACTIVE_HIGH>;
102 shutdown-gpios = <&gpf 7 GPIO_ACTIVE_LOW>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&pins_uart0>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&pins_uart1>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pins_uart2>;
128 compatible = "brcm,bcm4330-bt";
129 reset-gpios = <&gpf 8 GPIO_ACTIVE_HIGH>;
130 vcc-supply = <&wlan0_power>;
131 device-wakeup-gpios = <&gpf 5 GPIO_ACTIVE_HIGH>;
132 host-wakeup-gpios = <&gpf 6 GPIO_ACTIVE_HIGH>;
133 shutdown-gpios = <&gpf 4 GPIO_ACTIVE_LOW>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&pins_uart3>;
147 pinctrl-names = "default";
148 pinctrl-0 = <&pins_uart4>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&pins_i2c0>;
157 clock-frequency = <400000>;
159 act8600: act8600@5a {
160 compatible = "active-semi,act8600";
166 regulator-name = "VDDCORE";
167 regulator-min-microvolt = <1100000>;
168 regulator-max-microvolt = <1100000>;
172 regulator-name = "VDDMEM";
173 regulator-min-microvolt = <1500000>;
174 regulator-max-microvolt = <1500000>;
178 regulator-name = "VCC33";
179 regulator-min-microvolt = <3300000>;
180 regulator-max-microvolt = <3300000>;
184 regulator-name = "VCC50";
185 regulator-min-microvolt = <5000000>;
186 regulator-max-microvolt = <5000000>;
190 regulator-name = "VCC25";
191 regulator-min-microvolt = <2500000>;
192 regulator-max-microvolt = <2500000>;
196 regulator-name = "WIFIIO";
197 regulator-min-microvolt = <2500000>;
198 regulator-max-microvolt = <2500000>;
202 regulator-name = "VCC28";
203 regulator-min-microvolt = <2800000>;
204 regulator-max-microvolt = <2800000>;
208 regulator-name = "VCC15";
209 regulator-min-microvolt = <1500000>;
210 regulator-max-microvolt = <1500000>;
214 regulator-name = "VCC18";
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
220 regulator-name = "VCC11";
221 regulator-min-microvolt = <1100000>;
222 regulator-max-microvolt = <1100000>;
232 pinctrl-names = "default";
233 pinctrl-0 = <&pins_i2c1>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&pins_i2c2>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&pins_i2c3>;
256 pinctrl-names = "default";
257 pinctrl-0 = <&pins_i2c4>;
259 clock-frequency = <400000>;
262 compatible = "nxp,pcf8563";
271 nandc: nand-controller@1 {
272 compatible = "ingenic,jz4780-nand";
273 reg = <1 0 0x1000000>;
275 #address-cells = <1>;
278 ingenic,bch-controller = <&bch>;
280 ingenic,nemc-tAS = <10>;
281 ingenic,nemc-tAH = <5>;
282 ingenic,nemc-tBP = <10>;
283 ingenic,nemc-tAW = <15>;
284 ingenic,nemc-tSTRV = <100>;
287 * Only CLE/ALE are needed for the devices that are connected, rather
288 * than the full address line set.
290 pinctrl-names = "default";
291 pinctrl-0 = <&pins_nemc>;
296 nand-ecc-step-size = <1024>;
297 nand-ecc-strength = <24>;
298 nand-ecc-mode = "hw";
301 pinctrl-names = "default";
302 pinctrl-0 = <&pins_nemc_cs1>;
305 compatible = "fixed-partitions";
306 #address-cells = <2>;
310 label = "u-boot-spl";
311 reg = <0x0 0x0 0x0 0x800000>;
316 reg = <0x0 0x800000 0x0 0x200000>;
320 label = "u-boot-env";
321 reg = <0x0 0xa00000 0x0 0x200000>;
326 reg = <0x0 0xc00000 0x0 0x4000000>;
331 reg = <0x0 0x4c00000 0x1 0xfb400000>;
338 compatible = "davicom,dm9000";
341 pinctrl-names = "default";
342 pinctrl-0 = <&pins_nemc_cs6>;
344 reg = <6 0 1 /* addr */
347 ingenic,nemc-tAS = <15>;
348 ingenic,nemc-tAH = <10>;
349 ingenic,nemc-tBP = <20>;
350 ingenic,nemc-tAW = <50>;
351 ingenic,nemc-tSTRV = <100>;
353 reset-gpios = <&gpf 12 GPIO_ACTIVE_HIGH>;
354 vcc-supply = <ð0_power>;
356 interrupt-parent = <&gpe>;
368 groups = "uart0-data";
374 groups = "uart1-data";
380 groups = "uart2-data", "uart2-hwflow";
386 groups = "uart3-data", "uart3-hwflow";
392 groups = "uart4-data";
398 groups = "i2c0-data";
404 groups = "i2c1-data";
410 groups = "i2c2-data";
416 groups = "i2c3-data";
422 groups = "i2c4-data-e";
428 groups = "nemc-data", "nemc-cle-ale", "nemc-rd-we", "nemc-frd-fwe";
432 pins_nemc_cs1: nemc-cs1 {
433 function = "nemc-cs1";
438 pins_nemc_cs6: nemc-cs6 {
439 function = "nemc-cs6";
446 groups = "mmc0-1bit-e", "mmc0-4bit-e";
452 groups = "mmc1-1bit-d", "mmc1-4bit-d";
458 /* 3 MHz for the system timer and clocksource */
459 assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>;
460 assigned-clock-rates = <3000000>, <3000000>;