forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/rk3288-vyasa.dts
....@@ -78,6 +78,18 @@
7878 vin-supply = <&vcc_io>;
7979 };
8080
81
+ vcc50_hdmi: vcc50-hdmi {
82
+ compatible = "regulator-fixed";
83
+ regulator-name = "vcc50_hdmi";
84
+ enable-active-high;
85
+ gpio = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>; /* HDMI_EN */
86
+ pinctrl-names = "default";
87
+ pinctrl-0 = <&vcc50_hdmi_en>;
88
+ regulator-always-on;
89
+ regulator-boot-on;
90
+ vin-supply = <&vsus_5v>;
91
+ };
92
+
8193 vusb1_5v: vusb1-5v {
8294 compatible = "regulator-fixed";
8395 regulator-name = "vusb1_5v";
....@@ -87,8 +99,6 @@
8799 pinctrl-0 = <&otg_vbus_drv>;
88100 regulator-min-microvolt = <5000000>;
89101 regulator-max-microvolt = <5000000>;
90
- regulator-always-on;
91
- regulator-boot-on;
92102 vin-supply = <&vsus_5v>;
93103 };
94104
....@@ -115,13 +125,24 @@
115125 };
116126
117127 &cpu0 {
118
- cpu0-supply = <&vdd_cpu>;
128
+ cpu-supply = <&vdd_cpu>;
129
+};
130
+
131
+&cpu1 {
132
+ cpu-supply = <&vdd_cpu>;
133
+};
134
+
135
+&cpu2 {
136
+ cpu-supply = <&vdd_cpu>;
137
+};
138
+
139
+&cpu3 {
140
+ cpu-supply = <&vdd_cpu>;
119141 };
120142
121143 &emmc {
122144 bus-width = <8>;
123145 cap-mmc-highspeed;
124
- disable-wp;
125146 non-removable;
126147 pinctrl-names = "default";
127148 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
....@@ -151,7 +172,7 @@
151172 };
152173
153174 &hdmi {
154
- ddc-i2c-bus = <&i2c2>;
175
+ ddc-i2c-bus = <&i2c5>;
155176 status = "okay";
156177 };
157178
....@@ -287,15 +308,15 @@
287308 };
288309 };
289310
290
- vcc10_lcd: LDO_REG6 {
291
- regulator-name = "vcc10_lcd";
311
+ vdd10_lcd: LDO_REG6 {
312
+ regulator-name = "vdd10_lcd";
292313 regulator-min-microvolt = <1000000>;
293314 regulator-max-microvolt = <1000000>;
294315 regulator-always-on;
295316 regulator-boot-on;
296317 regulator-state-mem {
297318 regulator-on-in-suspend;
298
- regulator-suspend-microvolt = <1800000>;
319
+ regulator-suspend-microvolt = <1000000>;
299320 };
300321 };
301322
....@@ -344,7 +365,7 @@
344365 };
345366 };
346367
347
-&i2c2 {
368
+&i2c5 {
348369 status = "okay";
349370 };
350371
....@@ -401,6 +422,7 @@
401422 };
402423
403424 &usb_otg {
425
+ vbus-supply = <&vusb1_5v>;
404426 status = "okay";
405427 };
406428
....@@ -443,6 +465,12 @@
443465 };
444466 };
445467
468
+ hdmi {
469
+ vcc50_hdmi_en: vcc50-hdmi-en {
470
+ rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
471
+ };
472
+ };
473
+
446474 pmic {
447475 pmic_int: pmic-int {
448476 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;