forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
....@@ -22,10 +22,13 @@
2222 stdout-path = "serial0:115200n8";
2323 };
2424
25
- memory@48000000 {
26
- device_type = "memory";
27
- /* first 128MB is reserved for secure area. */
28
- reg = <0 0x48000000 0 0x78000000>;
25
+ d1_8v: regulator-2 {
26
+ compatible = "regulator-fixed";
27
+ regulator-name = "D1.8V";
28
+ regulator-min-microvolt = <1800000>;
29
+ regulator-max-microvolt = <1800000>;
30
+ regulator-boot-on;
31
+ regulator-always-on;
2932 };
3033
3134 d3_3v: regulator-0 {
....@@ -37,6 +40,47 @@
3740 regulator-always-on;
3841 };
3942
43
+ hdmi-out {
44
+ compatible = "hdmi-connector";
45
+ type = "a";
46
+
47
+ port {
48
+ hdmi_con: endpoint {
49
+ remote-endpoint = <&adv7511_out>;
50
+ };
51
+ };
52
+ };
53
+
54
+ lvds-decoder {
55
+ compatible = "thine,thc63lvd1024";
56
+ vcc-supply = <&d3_3v>;
57
+
58
+ ports {
59
+ #address-cells = <1>;
60
+ #size-cells = <0>;
61
+
62
+ port@0 {
63
+ reg = <0>;
64
+ thc63lvd1024_in: endpoint {
65
+ remote-endpoint = <&lvds0_out>;
66
+ };
67
+ };
68
+
69
+ port@2 {
70
+ reg = <2>;
71
+ thc63lvd1024_out: endpoint {
72
+ remote-endpoint = <&adv7511_in>;
73
+ };
74
+ };
75
+ };
76
+ };
77
+
78
+ memory@48000000 {
79
+ device_type = "memory";
80
+ /* first 128MB is reserved for secure area. */
81
+ reg = <0 0x48000000 0 0x78000000>;
82
+ };
83
+
4084 vddq_vin01: regulator-1 {
4185 compatible = "regulator-fixed";
4286 regulator-name = "VDDQ_VIN01";
....@@ -44,6 +88,12 @@
4488 regulator-max-microvolt = <1800000>;
4589 regulator-boot-on;
4690 regulator-always-on;
91
+ };
92
+
93
+ x1_clk: x1-clock {
94
+ compatible = "fixed-clock";
95
+ #clock-cells = <0>;
96
+ clock-frequency = <148500000>;
4797 };
4898 };
4999
....@@ -55,6 +105,13 @@
55105 channel0 {
56106 status = "okay";
57107 };
108
+};
109
+
110
+&du {
111
+ clocks = <&cpg CPG_MOD 724>,
112
+ <&x1_clk>;
113
+ clock-names = "du.0", "dclkin.0";
114
+ status = "okay";
58115 };
59116
60117 &extal_clk {
....@@ -102,6 +159,53 @@
102159 gpio-controller;
103160 #gpio-cells = <2>;
104161 };
162
+
163
+ hdmi@39 {
164
+ compatible = "adi,adv7511w";
165
+ reg = <0x39>;
166
+ interrupt-parent = <&gpio1>;
167
+ interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
168
+ avdd-supply = <&d1_8v>;
169
+ dvdd-supply = <&d1_8v>;
170
+ pvdd-supply = <&d1_8v>;
171
+ bgvdd-supply = <&d1_8v>;
172
+ dvdd-3v-supply = <&d3_3v>;
173
+
174
+ adi,input-depth = <8>;
175
+ adi,input-colorspace = "rgb";
176
+ adi,input-clock = "1x";
177
+
178
+ ports {
179
+ #address-cells = <1>;
180
+ #size-cells = <0>;
181
+
182
+ port@0 {
183
+ reg = <0>;
184
+ adv7511_in: endpoint {
185
+ remote-endpoint = <&thc63lvd1024_out>;
186
+ };
187
+ };
188
+
189
+ port@1 {
190
+ reg = <1>;
191
+ adv7511_out: endpoint {
192
+ remote-endpoint = <&hdmi_con>;
193
+ };
194
+ };
195
+ };
196
+ };
197
+};
198
+
199
+&lvds0 {
200
+ status = "okay";
201
+
202
+ ports {
203
+ port@1 {
204
+ lvds0_out: endpoint {
205
+ remote-endpoint = <&thc63lvd1024_in>;
206
+ };
207
+ };
208
+ };
105209 };
106210
107211 &mmc0 {
....@@ -114,6 +218,18 @@
114218 mmc-hs200-1_8v;
115219 bus-width = <8>;
116220 non-removable;
221
+ status = "okay";
222
+};
223
+
224
+&pciec {
225
+ status = "okay";
226
+};
227
+
228
+&pcie_bus_clk {
229
+ clock-frequency = <100000000>;
230
+};
231
+
232
+&pcie_phy {
117233 status = "okay";
118234 };
119235
....@@ -146,6 +262,11 @@
146262 power-source = <1800>;
147263 };
148264
265
+ qspi0_pins: qspi0 {
266
+ groups = "qspi0_ctrl", "qspi0_data4";
267
+ function = "qspi0";
268
+ };
269
+
149270 scif0_pins: scif0 {
150271 groups = "scif0_data";
151272 function = "scif0";
....@@ -157,6 +278,73 @@
157278 };
158279 };
159280
281
+&rpc {
282
+ pinctrl-0 = <&qspi0_pins>;
283
+ pinctrl-names = "default";
284
+
285
+ status = "okay";
286
+
287
+ flash@0 {
288
+ compatible = "spansion,s25fs512s", "jedec,spi-nor";
289
+ reg = <0>;
290
+ spi-max-frequency = <50000000>;
291
+ spi-rx-bus-width = <4>;
292
+
293
+ partitions {
294
+ compatible = "fixed-partitions";
295
+ #address-cells = <1>;
296
+ #size-cells = <1>;
297
+
298
+ bootparam@0 {
299
+ reg = <0x00000000 0x040000>;
300
+ read-only;
301
+ };
302
+ cr7@40000 {
303
+ reg = <0x00040000 0x080000>;
304
+ read-only;
305
+ };
306
+ cert_header_sa3@c0000 {
307
+ reg = <0x000c0000 0x080000>;
308
+ read-only;
309
+ };
310
+ bl2@140000 {
311
+ reg = <0x00140000 0x040000>;
312
+ read-only;
313
+ };
314
+ cert_header_sa6@180000 {
315
+ reg = <0x00180000 0x040000>;
316
+ read-only;
317
+ };
318
+ bl31@1c0000 {
319
+ reg = <0x001c0000 0x460000>;
320
+ read-only;
321
+ };
322
+ uboot@640000 {
323
+ reg = <0x00640000 0x0c0000>;
324
+ read-only;
325
+ };
326
+ uboot-env@700000 {
327
+ reg = <0x00700000 0x040000>;
328
+ read-only;
329
+ };
330
+ dtb@740000 {
331
+ reg = <0x00740000 0x080000>;
332
+ };
333
+ kernel@7c0000 {
334
+ reg = <0x007c0000 0x1400000>;
335
+ };
336
+ user@1bc0000 {
337
+ reg = <0x01bc0000 0x2440000>;
338
+ };
339
+ };
340
+ };
341
+};
342
+
343
+&rwdt {
344
+ timeout-sec = <60>;
345
+ status = "okay";
346
+};
347
+
160348 &scif0 {
161349 pinctrl-0 = <&scif0_pins>, <&scif_clk_pins>;
162350 pinctrl-names = "default";