1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
8 compatible = "img,ci20", "ingenic,jz4780";
22 device_type = "memory";
24 0x30000000 0x30000000>;
27 eth0_power: fixedregulator@0 {
28 compatible = "regulator-fixed";
29 regulator-name = "eth0_power";
30 gpio = <&gpb 25 GPIO_ACTIVE_LOW>;
36 clock-frequency = <48000000>;
43 max-frequency = <50000000>;
45 pinctrl-names = "default";
46 pinctrl-0 = <&pins_mmc0>;
48 cd-gpios = <&gpf 20 GPIO_ACTIVE_LOW>;
55 max-frequency = <50000000>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&pins_mmc1>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&pins_uart0>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&pins_uart1>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&pins_uart2>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&pins_uart4>;
92 nandc: nand-controller@1 {
93 compatible = "ingenic,jz4780-nand";
94 reg = <1 0 0x1000000>;
99 ingenic,bch-controller = <&bch>;
101 ingenic,nemc-tAS = <10>;
102 ingenic,nemc-tAH = <5>;
103 ingenic,nemc-tBP = <10>;
104 ingenic,nemc-tAW = <15>;
105 ingenic,nemc-tSTRV = <100>;
108 * Only CLE/ALE are needed for the devices that are connected, rather
109 * than the full address line set.
111 pinctrl-names = "default";
112 pinctrl-0 = <&pins_nemc>;
117 nand-ecc-step-size = <1024>;
118 nand-ecc-strength = <24>;
119 nand-ecc-mode = "hw";
122 pinctrl-names = "default";
123 pinctrl-0 = <&pins_nemc_cs1>;
126 compatible = "fixed-partitions";
127 #address-cells = <2>;
131 label = "u-boot-spl";
132 reg = <0x0 0x0 0x0 0x800000>;
137 reg = <0x0 0x800000 0x0 0x200000>;
141 label = "u-boot-env";
142 reg = <0x0 0xa00000 0x0 0x200000>;
147 reg = <0x0 0xc00000 0x0 0x4000000>;
152 reg = <0x0 0x4c00000 0x1 0xfb400000>;
159 compatible = "davicom,dm9000";
162 pinctrl-names = "default";
163 pinctrl-0 = <&pins_nemc_cs6>;
165 reg = <6 0 1 /* addr */
168 ingenic,nemc-tAS = <15>;
169 ingenic,nemc-tAH = <10>;
170 ingenic,nemc-tBP = <20>;
171 ingenic,nemc-tAW = <50>;
172 ingenic,nemc-tSTRV = <100>;
174 reset-gpios = <&gpf 12 GPIO_ACTIVE_HIGH>;
175 vcc-supply = <ð0_power>;
177 interrupt-parent = <&gpe>;
189 groups = "uart0-data";
195 groups = "uart1-data";
201 groups = "uart2-data", "uart2-hwflow";
207 groups = "uart4-data";
213 groups = "nemc-data", "nemc-cle-ale", "nemc-rd-we", "nemc-frd-fwe";
217 pins_nemc_cs1: nemc-cs1 {
218 function = "nemc-cs1";
223 pins_nemc_cs6: nemc-cs6 {
224 function = "nemc-cs6";
231 groups = "mmc0-1bit-e", "mmc0-4bit-e";
237 groups = "mmc1-1bit-d", "mmc1-4bit-d";