diff mbox series

arm64: dts: rockchip: Add regulators for pcie on rk3399-rock960

Message ID 20191117140728.917-1-linux.amoon@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: rockchip: Add regulators for pcie on rk3399-rock960 | expand

Commit Message

Anand Moon Nov. 17, 2019, 2:07 p.m. UTC
As per Rock960 schematics add 0V9 and 1V8 voltage supplies to the
RK3399 PCIe block.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
Schematics [0] https://dl.vamrs.com/products/rock960/docs/hw/rock960_sch_v12_20180314.pdf
---
 arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Heiko Stuebner Nov. 18, 2019, 12:42 a.m. UTC | #1
Am Sonntag, 17. November 2019, 15:07:28 CET schrieb Anand Moon:
> As per Rock960 schematics add 0V9 and 1V8 voltage supplies to the
> RK3399 PCIe block.
> 
> Signed-off-by: Anand Moon <linux.amoon@gmail.com>

applied, after fixing the property/node ordering.
I try to keep things mostly alphabetically :-)

Heiko
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
index c7d48d41e184..2f76cccebbee 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
@@ -53,6 +53,15 @@ 
 		vin-supply = <&vcc5v0_sys>;
 	};
 
+	vcc_0v9: vcc-0v9 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc_0v9";
+		regulator-always-on;
+		regulator-min-microvolt = <900000>;
+		regulator-max-microvolt = <900000>;
+		vin-supply = <&vcc3v3_sys>;
+	};
+
 	vcc3v3_pcie: vcc3v3-pcie-regulator {
 		compatible = "regulator-fixed";
 		enable-active-high;
@@ -385,6 +394,8 @@ 
 	pinctrl-names = "default";
 	pinctrl-0 = <&pcie_clkreqn_cpm>;
 	vpcie3v3-supply = <&vcc3v3_pcie>;
+	vpcie1v8-supply = <&vcca_1v8>;
+	vpcie0v9-supply = <&vcc_0v9>;
 	status = "okay";
 };