From 23b0165358484e6ce5d7b8298a69d09203b188a6 Mon Sep 17 00:00:00 2001 From: Finley Xiao Date: Tue, 8 Nov 2016 10:25:05 +0800 Subject: [PATCH] arm64: dts: rockchip: add pvtm node for rk3366 Change-Id: Ic90466538671e69aaea82b0b20afdcb39ecf7006 Signed-off-by: Finley Xiao --- arch/arm64/boot/dts/rockchip/rk3366-tb.dts | 8 ++++++++ arch/arm64/boot/dts/rockchip/rk3366.dtsi | 14 ++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts index 52553e95b64a..47e2597ba3fa 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts @@ -885,3 +885,11 @@ mali-supply = <&vdd_logic>; status = "okay"; }; + +&pvtm { + status = "okay"; +}; + +&pmu_pvtm { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/rockchip/rk3366.dtsi b/arch/arm64/boot/dts/rockchip/rk3366.dtsi index f8d8c8111d3e..8ab14153f232 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi @@ -696,6 +696,13 @@ mode-fastboot = ; mode-loader = ; }; + + pmu_pvtm: pmu-pvtm { + compatible = "rockchip,rk3366-pmu-pvtm"; + clocks = <&cru SCLK_PVTM_PMU>; + clock-names = "pmu"; + status = "disabled"; + }; }; amba { @@ -785,6 +792,13 @@ status = "okay"; }; }; + + pvtm: pvtm { + compatible = "rockchip,rk3366-pvtm"; + clocks = <&cru SCLK_PVTM_CORE>, <&cru SCLK_PVTM_GPU>; + clock-names = "core", "gpu"; + status = "disabled"; + }; }; wdt: watchdog@ff800000 { -- 2.34.1