From 4f487054f732d381f41475ccea227dedc1d5d3db Mon Sep 17 00:00:00 2001 From: Elaine Zhang Date: Mon, 14 Mar 2016 15:33:19 +0800 Subject: [PATCH] ARM64: dts: rockchip: add power domain node for RK3399 Soc add pd node for RK3399 Soc create power domain tree Change-Id: I5a455034f56b6d88860c3ed2decd8c6dc94896a3 Signed-off-by: Elaine Zhang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 64 ++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index abc27d799b2e..15455af384c1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -39,11 +39,13 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. */ + #include #include #include #include #include +#include #include / { @@ -575,6 +577,68 @@ status = "disabled"; }; + pmu: power-management@ff731000 { + compatible = "rockchip,rk3399-pmu", "syscon", "simple-mfd"; + reg = <0x0 0xff310000 0x0 0x1000>; + + power: power-controller { + status = "disabled"; + compatible = "rockchip,rk3399-power-controller"; + #power-domain-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + + pd_center { + reg = ; + #address-cells = <1>; + #size-cells = <0>; + + pd_vdu { + reg = ; + }; + pd_vcodec { + reg = ; + }; + pd_iep { + reg = ; + }; + pd_rga { + reg = ; + }; + }; + pd_vio { + reg = ; + #address-cells = <1>; + #size-cells = <0>; + + pd_isp0 { + reg = ; + }; + pd_isp1 { + reg = ; + }; + pd_hdcp { + reg = ; + }; + pd_vo { + reg = ; + #address-cells = <1>; + #size-cells = <0>; + + pd_vopb { + reg = ; + }; + pd_vopl { + reg = ; + }; + }; + }; + pd_gpu { + reg = ; + }; + }; + }; + pmucru: pmu-clock-controller@ff750000 { compatible = "rockchip,rk3399-pmucru"; reg = <0x0 0xff750000 0x0 0x1000>; -- 2.34.1