]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/mips/boot/dts/ingenic/ci20.dts
mlxsw: spectrum_router: Only handle IPv4 and IPv6 events
[mirror_ubuntu-focal-kernel.git] / arch / mips / boot / dts / ingenic / ci20.dts
1 /dts-v1/;
2
3 #include "jz4780.dtsi"
4
5 / {
6 compatible = "img,ci20", "ingenic,jz4780";
7
8 aliases {
9 serial0 = &uart0;
10 serial1 = &uart1;
11 serial3 = &uart3;
12 serial4 = &uart4;
13 };
14
15 chosen {
16 stdout-path = &uart4;
17 };
18
19 memory {
20 device_type = "memory";
21 reg = <0x0 0x10000000
22 0x30000000 0x30000000>;
23 };
24 };
25
26 &ext {
27 clock-frequency = <48000000>;
28 };
29
30 &uart0 {
31 status = "okay";
32
33 pinctrl-names = "default";
34 pinctrl-0 = <&pins_uart0>;
35 };
36
37 &uart1 {
38 status = "okay";
39
40 pinctrl-names = "default";
41 pinctrl-0 = <&pins_uart1>;
42 };
43
44 &uart3 {
45 status = "okay";
46
47 pinctrl-names = "default";
48 pinctrl-0 = <&pins_uart2>;
49 };
50
51 &uart4 {
52 status = "okay";
53
54 pinctrl-names = "default";
55 pinctrl-0 = <&pins_uart4>;
56 };
57
58 &nemc {
59 status = "okay";
60
61 nandc: nand-controller@1 {
62 compatible = "ingenic,jz4780-nand";
63 reg = <1 0 0x1000000>;
64
65 #address-cells = <1>;
66 #size-cells = <0>;
67
68 ingenic,bch-controller = <&bch>;
69
70 ingenic,nemc-tAS = <10>;
71 ingenic,nemc-tAH = <5>;
72 ingenic,nemc-tBP = <10>;
73 ingenic,nemc-tAW = <15>;
74 ingenic,nemc-tSTRV = <100>;
75
76 /*
77 * Only CLE/ALE are needed for the devices that are connected, rather
78 * than the full address line set.
79 */
80 pinctrl-names = "default";
81 pinctrl-0 = <&pins_nemc>;
82
83 nand@1 {
84 reg = <1>;
85
86 nand-ecc-step-size = <1024>;
87 nand-ecc-strength = <24>;
88 nand-ecc-mode = "hw";
89 nand-on-flash-bbt;
90
91 pinctrl-names = "default";
92 pinctrl-0 = <&pins_nemc_cs1>;
93
94 partitions {
95 compatible = "fixed-partitions";
96 #address-cells = <2>;
97 #size-cells = <2>;
98
99 partition@0 {
100 label = "u-boot-spl";
101 reg = <0x0 0x0 0x0 0x800000>;
102 };
103
104 partition@0x800000 {
105 label = "u-boot";
106 reg = <0x0 0x800000 0x0 0x200000>;
107 };
108
109 partition@0xa00000 {
110 label = "u-boot-env";
111 reg = <0x0 0xa00000 0x0 0x200000>;
112 };
113
114 partition@0xc00000 {
115 label = "boot";
116 reg = <0x0 0xc00000 0x0 0x4000000>;
117 };
118
119 partition@0x8c00000 {
120 label = "system";
121 reg = <0x0 0x4c00000 0x1 0xfb400000>;
122 };
123 };
124 };
125 };
126 };
127
128 &bch {
129 status = "okay";
130 };
131
132 &pinctrl {
133 pins_uart0: uart0 {
134 function = "uart0";
135 groups = "uart0-data";
136 bias-disable;
137 };
138
139 pins_uart1: uart1 {
140 function = "uart1";
141 groups = "uart1-data";
142 bias-disable;
143 };
144
145 pins_uart2: uart2 {
146 function = "uart2";
147 groups = "uart2-data", "uart2-hwflow";
148 bias-disable;
149 };
150
151 pins_uart4: uart4 {
152 function = "uart4";
153 groups = "uart4-data";
154 bias-disable;
155 };
156
157 pins_nemc: nemc {
158 function = "nemc";
159 groups = "nemc-data", "nemc-cle-ale", "nemc-rd-we", "nemc-frd-fwe";
160 bias-disable;
161 };
162
163 pins_nemc_cs1: nemc-cs1 {
164 function = "nemc-cs1";
165 groups = "nemc-cs1";
166 bias-disable;
167 };
168 };