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>;
42 pinctrl-names = "default";
43 pinctrl-0 = <&pins_uart0>;
49 pinctrl-names = "default";
50 pinctrl-0 = <&pins_uart1>;
56 pinctrl-names = "default";
57 pinctrl-0 = <&pins_uart3>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&pins_uart4>;
70 nandc: nand-controller@1 {
71 compatible = "ingenic,jz4780-nand";
72 reg = <1 0 0x1000000>;
77 ingenic,bch-controller = <&bch>;
79 ingenic,nemc-tAS = <10>;
80 ingenic,nemc-tAH = <5>;
81 ingenic,nemc-tBP = <10>;
82 ingenic,nemc-tAW = <15>;
83 ingenic,nemc-tSTRV = <100>;
86 * Only CLE/ALE are needed for the devices that are connected, rather
87 * than the full address line set.
89 pinctrl-names = "default";
90 pinctrl-0 = <&pins_nemc>;
95 nand-ecc-step-size = <1024>;
96 nand-ecc-strength = <24>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&pins_nemc_cs1>;
104 compatible = "fixed-partitions";
105 #address-cells = <2>;
109 label = "u-boot-spl";
110 reg = <0x0 0x0 0x0 0x800000>;
115 reg = <0x0 0x800000 0x0 0x200000>;
119 label = "u-boot-env";
120 reg = <0x0 0xa00000 0x0 0x200000>;
125 reg = <0x0 0xc00000 0x0 0x4000000>;
128 partition@0x8c00000 {
130 reg = <0x0 0x4c00000 0x1 0xfb400000>;
137 compatible = "davicom,dm9000";
140 pinctrl-names = "default";
141 pinctrl-0 = <&pins_nemc_cs6>;
143 reg = <6 0 1 /* addr */
146 ingenic,nemc-tAS = <15>;
147 ingenic,nemc-tAH = <10>;
148 ingenic,nemc-tBP = <20>;
149 ingenic,nemc-tAW = <50>;
150 ingenic,nemc-tSTRV = <100>;
152 reset-gpios = <&gpf 12 GPIO_ACTIVE_HIGH>;
153 vcc-supply = <ð0_power>;
155 interrupt-parent = <&gpe>;
167 groups = "uart0-data";
173 groups = "uart1-data";
179 groups = "uart3-data", "uart3-hwflow";
185 groups = "uart4-data";
191 groups = "nemc-data", "nemc-cle-ale", "nemc-rd-we", "nemc-frd-fwe";
195 pins_nemc_cs1: nemc-cs1 {
196 function = "nemc-cs1";
201 pins_nemc_cs6: nemc-cs6 {
202 function = "nemc-cs6";