mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
ARM: dts: rockchip: rk322x: add power domain node for RK322x Soc
Change-Id: Iffc561003818d2190a4d9c9ac4196aa9437c5d7e Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/pinctrl/rockchip.h>
|
||||
#include <dt-bindings/clock/rk3228-cru.h>
|
||||
#include <dt-bindings/power/rk3228-power.h>
|
||||
#include <dt-bindings/suspend/rockchip-rk322x.h>
|
||||
#include <dt-bindings/soc/rockchip,boot-mode.h>
|
||||
#include <dt-bindings/thermal/thermal.h>
|
||||
@@ -300,6 +301,27 @@
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
power: power-controller {
|
||||
compatible = "rockchip,rk3228-power-controller";
|
||||
#power-domain-cells = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "okay";
|
||||
|
||||
pd_vpu@RK3228_PD_VPU {
|
||||
reg = <RK3228_PD_VPU>;
|
||||
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
||||
};
|
||||
|
||||
pd_rkvdec@RK3228_PD_RKVDEC {
|
||||
reg = <RK3228_PD_RKVDEC>;
|
||||
clocks = <&cru ACLK_RKVDEC>,
|
||||
<&cru HCLK_RKVDEC>,
|
||||
<&cru SCLK_VDEC_CABAC>,
|
||||
<&cru SCLK_VDEC_CORE>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
uart0: serial@11010000 {
|
||||
@@ -653,6 +675,7 @@
|
||||
reset-names = "video_a", "video_h";
|
||||
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
||||
clock-names = "aclk_vcodec", "hclk_vcodec";
|
||||
power-domains = <&power RK3228_PD_VPU>;
|
||||
rockchip,grf = <&grf>;
|
||||
iommus = <&vpu_mmu>;
|
||||
allocator = <1>;
|
||||
@@ -666,6 +689,7 @@
|
||||
interrupt-names = "vpu_mmu";
|
||||
clock-names = "aclk", "hclk";
|
||||
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
||||
power-domains = <&power RK3228_PD_VPU>;
|
||||
#iommu-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
@@ -684,6 +708,7 @@
|
||||
<&cru SRST_RKVDEC_CABAC>, <&cru SRST_RKVDEC_CORE>;
|
||||
reset-names = "video_a", "video_h", "niu_a", "niu_h",
|
||||
"cabac", "video";
|
||||
power-domains = <&power RK3228_PD_RKVDEC>;
|
||||
rockchip,grf = <&grf>;
|
||||
iommus = <&rkvdec_mmu>;
|
||||
allocator = <1>;
|
||||
@@ -697,6 +722,7 @@
|
||||
interrupt-names = "rkvdec_mmu";
|
||||
clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>;
|
||||
clock-names = "aclk", "hclk";
|
||||
power-domains = <&power RK3228_PD_RKVDEC>;
|
||||
#iommu-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user