forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
....@@ -63,8 +63,6 @@
6363
6464 reg_usb3_vbus: usb3-vbus {
6565 compatible = "regulator-fixed";
66
- pinctrl-names = "default";
67
- pinctrl-0 = <&usb3_vbus_pin_a>;
6866 regulator-name = "usb3-vbus";
6967 regulator-min-microvolt = <5000000>;
7068 regulator-max-microvolt = <5000000>;
....@@ -72,6 +70,10 @@
7270 enable-active-high;
7371 gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>;
7472 };
73
+};
74
+
75
+&cpu0 {
76
+ cpu-supply = <&reg_vdd_cpux>;
7577 };
7678
7779 &ehci3 {
....@@ -83,7 +85,7 @@
8385 pinctrl-0 = <&emac_rgmii_pins>;
8486 phy-supply = <&reg_gmac_3v3>;
8587 phy-handle = <&ext_rgmii_phy>;
86
- phy-mode = "rgmii";
88
+ phy-mode = "rgmii-id";
8789
8890 status = "okay";
8991 };
....@@ -112,10 +114,19 @@
112114 bias-pull-up;
113115 };
114116
115
-&pio {
116
- usb3_vbus_pin_a: usb3_vbus_pin {
117
- pins = "PG11";
118
- function = "gpio_out";
117
+&r_i2c {
118
+ status = "okay";
119
+
120
+ reg_vdd_cpux: regulator@65 {
121
+ compatible = "silergy,sy8106a";
122
+ reg = <0x65>;
123
+ regulator-name = "vdd-cpux";
124
+ silergy,fixed-microvolt = <1200000>;
125
+ regulator-min-microvolt = <1000000>;
126
+ regulator-max-microvolt = <1400000>;
127
+ regulator-ramp-delay = <200>;
128
+ regulator-boot-on;
129
+ regulator-always-on;
119130 };
120131 };
121132