07e3f5d75ca4d1894051dcf4fc08b1265cbb7947
[openwrt/openwrt.git] /
1 From 47c7ae9715d76054d98e8407dbb8ca1cf42fd587 Mon Sep 17 00:00:00 2001
2 From: Christian Marangi <ansuelsmth@gmail.com>
3 Date: Mon, 9 Dec 2024 17:50:31 +0100
4 Subject: [PATCH] arm64: dts: qcom: add partition table for ipq9574 rdp common
5
6 Add partition table for ipq9574 SoC common to every RDB board.
7
8 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 ---
10 .../boot/dts/qcom/ipq9574-rdp-common.dtsi | 146 +++++++++++++++++-
11 1 file changed, 145 insertions(+), 1 deletion(-)
12
13 --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
14 +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
15 @@ -74,11 +74,161 @@
16 status = "okay";
17
18 flash@0 {
19 - compatible = "micron,n25q128a11", "jedec,spi-nor";
20 + compatible = "jedec,spi-nor";
21 reg = <0>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24 spi-max-frequency = <50000000>;
25 +
26 + partitions {
27 + compatible = "fixed-partitions";
28 + #address-cells = <1>;
29 + #size-cells = <1>;
30 +
31 + partition@0 {
32 + label = "0:sbl1";
33 + reg = <0x0 0xc0000>;
34 + read-only;
35 + };
36 +
37 + partition@c0000 {
38 + label = "0:mibib";
39 + reg = <0xc0000 0x10000>;
40 + read-only;
41 + };
42 +
43 + partition@d0000 {
44 + label = "0:bootconfig";
45 + reg = <0xd0000 0x20000>;
46 + read-only;
47 + };
48 +
49 + partition@f0000 {
50 + label = "0:bootconfig1";
51 + reg = <0xf0000 0x20000>;
52 + read-only;
53 + };
54 +
55 + partition@110000 {
56 + label = "0:qsee";
57 + reg = <0x110000 0x180000>;
58 + read-only;
59 + };
60 +
61 + partition@290000 {
62 + label = "0:qsee_1";
63 + reg = <0x290000 0x180000>;
64 + read-only;
65 + };
66 +
67 + partition@410000 {
68 + label = "0:devcfg";
69 + reg = <0x410000 0x10000>;
70 + read-only;
71 + };
72 +
73 + partition@420000 {
74 + label = "0:devcfg_1";
75 + reg = <0x420000 0x10000>;
76 + read-only;
77 + };
78 +
79 + partition@430000 {
80 + label = "0:apdp";
81 + reg = <0x430000 0x10000>;
82 + read-only;
83 + };
84 +
85 + partition@440000 {
86 + label = "0:apdp_1";
87 + reg = <0x440000 0x10000>;
88 + read-only;
89 + };
90 +
91 + partition@450000 {
92 + label = "0:tme";
93 + reg = <0x450000 0x40000>;
94 + read-only;
95 + };
96 +
97 + partition@490000 {
98 + label = "0:tme_1";
99 + reg = <0x490000 0x40000>;
100 + read-only;
101 + };
102 +
103 + partition@4d0000 {
104 + label = "0:rpm";
105 + reg = <0x4d0000 0x20000>;
106 + read-only;
107 + };
108 +
109 + partition@4f0000 {
110 + label = "0:rpm_1";
111 + reg = <0x4f0000 0x20000>;
112 + read-only;
113 + };
114 +
115 + partition@510000 {
116 + label = "0:cdt";
117 + reg = <0x510000 0x10000>;
118 + read-only;
119 + };
120 +
121 + partition@520000 {
122 + label = "0:cdt_1";
123 + reg = <0x520000 0x10000>;
124 + read-only;
125 + };
126 +
127 + partition@530000 {
128 + label = "0:appsblenv";
129 + reg = <0x530000 0x10000>;
130 +
131 + nvmem-layout {
132 + compatible = "u-boot,env";
133 +
134 + macaddr_lan: ethaddr {
135 + #nvmem-cell-cells = <1>;
136 + };
137 + };
138 + };
139 +
140 + partition@540000 {
141 + label = "0:appsbl";
142 + reg = <0x540000 0xa0000>;
143 + read-only;
144 + };
145 +
146 + partition@5e0000 {
147 + label = "0:appsbl_1";
148 + reg = <0x5e0000 0xa0000>;
149 + read-only;
150 + };
151 +
152 + partition@680000 {
153 + label = "0:art";
154 + reg = <0x680000 0x100000>;
155 + read-only;
156 + };
157 +
158 + partition@780000 {
159 + label = "0:ethphyfw";
160 + reg = <0x780000 0x80000>;
161 + read-only;
162 +
163 + nvmem-layout {
164 + compatible = "fixed-layout";
165 +
166 + aqr_fw: aqr-fw@0 {
167 + reg = <0x0 0x5fc02>;
168 + };
169 + };
170 + };
171 + };
172 };
173 };
174