From: Walker Chen Date: Mon, 16 Jan 2023 07:14:52 +0000 (+0800) Subject: riscv: dts: starfive: add pmu controller node X-Git-Tag: accepted/tizen/unified/riscv/20230718.024919~216 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80442a4db7101ea3fb27a09d0695f1739410963d;p=platform%2Fkernel%2Flinux-starfive.git riscv: dts: starfive: add pmu controller node Add the pmu controller node for the Starfive JH7110 SoC. The PMU needs to be used by other modules such as VPU, ISP, etc. Signed-off-by: Walker Chen --- diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index d484ecd..417f7f5 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -505,5 +505,12 @@ gpio-controller; #gpio-cells = <2>; }; + + pwrc: power-controller@17030000 { + compatible = "starfive,jh7110-pmu"; + reg = <0x0 0x17030000 0x0 0x10000>; + interrupts = <111>; + #power-domain-cells = <1>; + }; }; };