Skip to content

Commit 1bb69cd

Browse files
cristiccmmind
authored andcommitted
arm64: dts: rockchip: Add vdd_cpu_big regulators to rk3588-rock-5b
The RK8602 and RK8603 voltage regulators on the Rock 5B board provide the power lines vdd_cpu_big0 and vdd_cpu_big1, respectively. Add the necessary device tree nodes and bind them to the corresponding CPU big core nodes. Signed-off-by: Cristian Ciocaltea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 0af7164 commit 1bb69cd

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,62 @@
5353
};
5454
};
5555

56+
&cpu_b0 {
57+
cpu-supply = <&vdd_cpu_big0_s0>;
58+
};
59+
60+
&cpu_b1 {
61+
cpu-supply = <&vdd_cpu_big0_s0>;
62+
};
63+
64+
&cpu_b2 {
65+
cpu-supply = <&vdd_cpu_big1_s0>;
66+
};
67+
68+
&cpu_b3 {
69+
cpu-supply = <&vdd_cpu_big1_s0>;
70+
};
71+
72+
&i2c0 {
73+
pinctrl-names = "default";
74+
pinctrl-0 = <&i2c0m2_xfer>;
75+
status = "okay";
76+
77+
vdd_cpu_big0_s0: regulator@42 {
78+
compatible = "rockchip,rk8602";
79+
reg = <0x42>;
80+
fcs,suspend-voltage-selector = <1>;
81+
regulator-name = "vdd_cpu_big0_s0";
82+
regulator-always-on;
83+
regulator-boot-on;
84+
regulator-min-microvolt = <550000>;
85+
regulator-max-microvolt = <1050000>;
86+
regulator-ramp-delay = <2300>;
87+
vin-supply = <&vcc5v0_sys>;
88+
89+
regulator-state-mem {
90+
regulator-off-in-suspend;
91+
};
92+
};
93+
94+
vdd_cpu_big1_s0: regulator@43 {
95+
compatible = "rockchip,rk8603", "rockchip,rk8602";
96+
reg = <0x43>;
97+
fcs,suspend-voltage-selector = <1>;
98+
regulator-name = "vdd_cpu_big1_s0";
99+
regulator-always-on;
100+
regulator-boot-on;
101+
regulator-min-microvolt = <550000>;
102+
regulator-max-microvolt = <1050000>;
103+
regulator-ramp-delay = <2300>;
104+
vin-supply = <&vcc5v0_sys>;
105+
106+
regulator-state-mem {
107+
regulator-off-in-suspend;
108+
};
109+
};
110+
};
111+
56112
&i2c6 {
57113
status = "okay";
58114

0 commit comments

Comments
 (0)