a8f43591f90535ace8d920ad7eb83da70683bc73
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8068-cryptid-common.dtsi
1 // SPDX-License-Identifier: GPL-2.0 OR MIT
2
3 #include "qcom-ipq8064-v2.0-smb208.dtsi"
4
5 / {
6 memory {
7 device_type = "memory";
8 linux,usable-memory = <0x41500000 0x1ea00000>;
9 reg = <0x40000000 0x20000000>;
10 };
11
12 cpus {
13 idle-states {
14 CPU_SPC: spc {
15 status = "disabled";
16 };
17 };
18 };
19
20 chosen {
21 bootargs-append = " console=ttyMSM0,115200n8 ubi.mtd=ubi ubi.mtd=art";
22 };
23 };
24
25 &qcom_pinmux {
26 mdio0_pins_active: mdio0_pins_active {
27 mux {
28 pins = "gpio0", "gpio1";
29 function = "mdio";
30 drive-strength = <2>;
31 bias-pull-down;
32 output-low;
33 };
34
35 clk {
36 pins = "gpio1";
37 input-disable;
38 };
39 };
40
41 phy_active: phy_active {
42 phy {
43 pins = "gpio6", "gpio7";
44 function = "gpio";
45 drive-strength = <2>;
46 bias-pull-down;
47 output-high;
48 };
49 };
50
51 uart1_pins: uart1_pins {
52 mux {
53 pins = "gpio51", "gpio52";
54 function = "gsbi1";
55 drive-strength = <4>;
56 bias-disable;
57 };
58 };
59 };
60
61 &gsbi1 {
62 status = "okay";
63 qcom,mode = <GSBI_PROT_UART_W_FC>;
64
65 serial@12450000 {
66 status = "okay";
67
68 pinctrl-0 = <&uart1_pins>;
69 pinctrl-names = "default";
70 };
71 };
72
73 &pcie0 {
74 status = "okay";
75
76 /delete-property/ pinctrl-0;
77 /delete-property/ pinctrl-names;
78 /delete-property/ perst-gpios;
79
80 bridge@0,0 {
81 reg = <0x0 0 0 0 0>;
82 #address-cells = <3>;
83 #size-cells = <2>;
84 ranges;
85
86 wifi0: wifi@1,0 {
87 compatible = "qcom,ath10k";
88 status = "okay";
89 reg = <0x10000 0 0 0 0>;
90 };
91 };
92 };
93
94 &pcie1 {
95 status = "okay";
96
97 /delete-property/ pinctrl-0;
98 /delete-property/ pinctrl-names;
99 /delete-property/ perst-gpios;
100
101 bridge@0,0 {
102 reg = <0x0 0 0 0 0>;
103 #address-cells = <3>;
104 #size-cells = <2>;
105 ranges;
106
107 wifi1: wifi@1,0 {
108 compatible = "qcom,ath10k";
109 status = "okay";
110 reg = <0x10000 0 0 0 0>;
111 };
112 };
113 };
114
115 &pcie2 {
116 status = "okay";
117
118 /delete-property/ pinctrl-0;
119 /delete-property/ pinctrl-names;
120 /delete-property/ perst-gpios;
121
122 bridge@0,0 {
123 reg = <0x0 0 0 0 0>;
124 #address-cells = <3>;
125 #size-cells = <2>;
126 ranges;
127
128 wifi2: wifi@1,0 {
129 compatible = "qcom,ath10k";
130 status = "okay";
131 reg = <0x10000 0 0 0 0>;
132 };
133 };
134 };
135
136 &adm_dma {
137 status = "okay";
138 };
139
140 &nand {
141 status = "okay";
142
143 nand@0 {
144 compatible = "qcom,nandcs";
145
146 reg = <0>;
147
148 nand-ecc-strength = <4>;
149 nand-bus-width = <8>;
150 nand-ecc-step-size = <512>;
151
152 nand-is-boot-medium;
153 qcom,boot-partitions = <0x0 0x2140000>;
154
155 partitions {
156 compatible = "fixed-partitions";
157 #address-cells = <1>;
158 #size-cells = <1>;
159
160 partition@0 {
161 label = "sbl1";
162 reg = <0x0 0x40000>;
163 read-only;
164 };
165
166 partition@40000 {
167 label = "mibib";
168 reg = <0x40000 0x140000>;
169 read-only;
170 };
171
172 partition@180000 {
173 label = "sbl2";
174 reg = <0x180000 0x140000>;
175 read-only;
176 };
177
178 partition@2c0000 {
179 label = "sbl3";
180 reg = <0x2c0000 0x280000>;
181 read-only;
182 };
183
184 partition@540000 {
185 label = "ddrconfig";
186 reg = <0x540000 0x120000>;
187 read-only;
188 };
189
190 partition@660000 {
191 label = "ssd";
192 reg = <0x660000 0x120000>;
193 read-only;
194 };
195
196 partition@780000 {
197 label = "tz";
198 reg = <0x780000 0x280000>;
199 read-only;
200 };
201
202 partition@a00000 {
203 label = "rpm";
204 reg = <0xa00000 0x280000>;
205 read-only;
206 };
207
208 partition@1fc0000 {
209 label = "u-boot";
210 reg = <0x1fc0000 0x180000>;
211 read-only;
212 };
213
214 partition@21c0000 {
215 label = "bootkernel1";
216 reg = <0x21c0000 0xa80000>;
217 };
218
219 partition@2c40000 {
220 label = "bootkernel2";
221 reg = <0x2c40000 0xa80000>;
222 };
223
224 partition@36c0000 {
225 label = "ubi";
226 reg = <0x36c0000 0x46c0000>;
227 };
228
229 partition@7d80000 {
230 label = "art";
231 reg = <0x7d80000 0x200000>;
232 read-only;
233 };
234 };
235 };
236 };