forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/r8a7794-alt.dts
....@@ -19,10 +19,13 @@
1919 i2c10 = &gpioi2c4;
2020 i2c11 = &i2chdmi;
2121 i2c12 = &i2cexio4;
22
+ mmc0 = &mmcif0;
23
+ mmc1 = &sdhi0;
24
+ mmc2 = &sdhi1;
2225 };
2326
2427 chosen {
25
- bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
28
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
2629 stdout-path = "serial0:115200n8";
2730 };
2831
....@@ -60,8 +63,7 @@
6063
6164 gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
6265 gpios-states = <1>;
63
- states = <3300000 1
64
- 1800000 0>;
66
+ states = <3300000 1>, <1800000 0>;
6567 };
6668
6769 vcc_sdhi1: regulator-vcc-sdhi1 {
....@@ -84,8 +86,7 @@
8486
8587 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
8688 gpios-states = <1>;
87
- states = <3300000 1
88
- 1800000 0>;
89
+ states = <3300000 1>, <1800000 0>;
8990 };
9091
9192 lbsc {
....@@ -169,7 +170,6 @@
169170 composite-in@20 {
170171 compatible = "adi,adv7180";
171172 reg = <0x20>;
172
- remote = <&vin0>;
173173
174174 port {
175175 adv7180: endpoint {
....@@ -197,6 +197,22 @@
197197 #address-cells = <1>;
198198 #size-cells = <0>;
199199 };
200
+};
201
+
202
+&pci0 {
203
+ status = "okay";
204
+ pinctrl-0 = <&usb0_pins>;
205
+ pinctrl-names = "default";
206
+};
207
+
208
+&pci1 {
209
+ status = "okay";
210
+ pinctrl-0 = <&usb1_pins>;
211
+ pinctrl-names = "default";
212
+};
213
+
214
+&usbphy {
215
+ status = "okay";
200216 };
201217
202218 &du {
....@@ -293,6 +309,16 @@
293309 function = "sdhi1";
294310 power-source = <1800>;
295311 };
312
+
313
+ usb0_pins: usb0 {
314
+ groups = "usb0";
315
+ function = "usb0";
316
+ };
317
+
318
+ usb1_pins: usb1 {
319
+ groups = "usb1";
320
+ function = "usb1";
321
+ };
296322 };
297323
298324 &cmt0 {
....@@ -319,6 +345,7 @@
319345 interrupt-parent = <&irqc0>;
320346 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
321347 micrel,led-mode = <1>;
348
+ reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
322349 };
323350 };
324351
....@@ -377,6 +404,27 @@
377404 pinctrl-names = "i2c-exio4";
378405 };
379406
407
+&i2c7 {
408
+ status = "okay";
409
+ clock-frequency = <100000>;
410
+
411
+ pmic@58 {
412
+ compatible = "dlg,da9063";
413
+ reg = <0x58>;
414
+ interrupt-parent = <&gpio3>;
415
+ interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
416
+ interrupt-controller;
417
+
418
+ rtc {
419
+ compatible = "dlg,da9063-rtc";
420
+ };
421
+
422
+ wdt {
423
+ compatible = "dlg,da9063-watchdog";
424
+ };
425
+ };
426
+};
427
+
380428 &vin0 {
381429 status = "okay";
382430 pinctrl-0 = <&vin0_pins>;