forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
....@@ -19,14 +19,17 @@
1919 };
2020
2121 chosen {
22
- bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
22
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
2323 stdout-path = "serial0:115200n8";
2424 };
2525
26
- memory@48000000 {
27
- device_type = "memory";
28
- /* first 128MB is reserved for secure area. */
29
- reg = <0x0 0x48000000 0x0 0x38000000>;
26
+ d3p3: regulator-fixed {
27
+ compatible = "regulator-fixed";
28
+ regulator-name = "fixed-3.3V";
29
+ regulator-min-microvolt = <3300000>;
30
+ regulator-max-microvolt = <3300000>;
31
+ regulator-boot-on;
32
+ regulator-always-on;
3033 };
3134
3235 hdmi-out {
....@@ -38,15 +41,6 @@
3841 remote-endpoint = <&adv7511_out>;
3942 };
4043 };
41
- };
42
-
43
- d3p3: regulator-fixed {
44
- compatible = "regulator-fixed";
45
- regulator-name = "fixed-3.3V";
46
- regulator-min-microvolt = <3300000>;
47
- regulator-max-microvolt = <3300000>;
48
- regulator-boot-on;
49
- regulator-always-on;
5044 };
5145
5246 lvds-decoder {
....@@ -72,6 +66,12 @@
7266 };
7367 };
7468 };
69
+ };
70
+
71
+ memory@48000000 {
72
+ device_type = "memory";
73
+ /* first 128MB is reserved for secure area. */
74
+ reg = <0x0 0x48000000 0x0 0x38000000>;
7575 };
7676 };
7777
....@@ -100,6 +100,10 @@
100100 channel0 {
101101 status = "okay";
102102 };
103
+};
104
+
105
+&du {
106
+ status = "okay";
103107 };
104108
105109 &extal_clk {
....@@ -133,8 +137,6 @@
133137 adi,input-depth = <8>;
134138 adi,input-colorspace = "rgb";
135139 adi,input-clock = "1x";
136
- adi,input-style = <1>;
137
- adi,input-justification = "evenly";
138140
139141 ports {
140142 #address-cells = <1>;
....@@ -157,6 +159,18 @@
157159 };
158160 };
159161
162
+&lvds0 {
163
+ status = "okay";
164
+
165
+ ports {
166
+ port@1 {
167
+ lvds0_out: endpoint {
168
+ remote-endpoint = <&thc63lvd1024_in>;
169
+ };
170
+ };
171
+ };
172
+};
173
+
160174 &pfc {
161175 avb_pins: avb0 {
162176 groups = "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk";
....@@ -173,9 +187,76 @@
173187 function = "i2c0";
174188 };
175189
190
+ qspi0_pins: qspi0 {
191
+ groups = "qspi0_ctrl", "qspi0_data4";
192
+ function = "qspi0";
193
+ };
194
+
176195 scif0_pins: scif0 {
177196 groups = "scif0_data";
178197 function = "scif0";
198
+ };
199
+};
200
+
201
+&rpc {
202
+ pinctrl-0 = <&qspi0_pins>;
203
+ pinctrl-names = "default";
204
+
205
+ status = "okay";
206
+
207
+ flash@0 {
208
+ compatible = "spansion,s25fs512s", "jedec,spi-nor";
209
+ reg = <0>;
210
+ spi-max-frequency = <50000000>;
211
+ spi-rx-bus-width = <4>;
212
+
213
+ partitions {
214
+ compatible = "fixed-partitions";
215
+ #address-cells = <1>;
216
+ #size-cells = <1>;
217
+
218
+ bootparam@0 {
219
+ reg = <0x00000000 0x040000>;
220
+ read-only;
221
+ };
222
+ cr7@40000 {
223
+ reg = <0x00040000 0x080000>;
224
+ read-only;
225
+ };
226
+ cert_header_sa3@c0000 {
227
+ reg = <0x000c0000 0x080000>;
228
+ read-only;
229
+ };
230
+ bl2@140000 {
231
+ reg = <0x00140000 0x040000>;
232
+ read-only;
233
+ };
234
+ cert_header_sa6@180000 {
235
+ reg = <0x00180000 0x040000>;
236
+ read-only;
237
+ };
238
+ bl31@1c0000 {
239
+ reg = <0x001c0000 0x460000>;
240
+ read-only;
241
+ };
242
+ uboot@640000 {
243
+ reg = <0x00640000 0x0c0000>;
244
+ read-only;
245
+ };
246
+ uboot-env@700000 {
247
+ reg = <0x00700000 0x040000>;
248
+ read-only;
249
+ };
250
+ dtb@740000 {
251
+ reg = <0x00740000 0x080000>;
252
+ };
253
+ kernel@7c0000 {
254
+ reg = <0x007c0000 0x1400000>;
255
+ };
256
+ user@1bc0000 {
257
+ reg = <0x01bc0000 0x2440000>;
258
+ };
259
+ };
179260 };
180261 };
181262
....@@ -189,20 +270,4 @@
189270 pinctrl-names = "default";
190271
191272 status = "okay";
192
-};
193
-
194
-&du {
195
- status = "okay";
196
-};
197
-
198
-&lvds0 {
199
- status = "okay";
200
-
201
- ports {
202
- port@1 {
203
- lvds0_out: endpoint {
204
- remote-endpoint = <&thc63lvd1024_in>;
205
- };
206
- };
207
- };
208273 };