arm64: dts: imx8mm: add VPU blk-ctrl
authorLucas Stach <l.stach@pengutronix.de>
Sat, 2 Oct 2021 00:59:53 +0000 (02:59 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 5 Oct 2021 06:38:51 +0000 (14:38 +0800)
Add the DT node for the VPU blk-ctrl. With this in place the
VPU power domains are fully functional.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index 6009e54..f4a97bd 100644 (file)
                        power-domains = <&pgc_gpu>;
                };
 
+               vpu_blk_ctrl: blk-ctrl@38330000 {
+                       compatible = "fsl,imx8mm-vpu-blk-ctrl", "syscon";
+                       reg = <0x38330000 0x100>;
+                       power-domains = <&pgc_vpumix>, <&pgc_vpu_g1>,
+                                       <&pgc_vpu_g2>, <&pgc_vpu_h1>;
+                       power-domain-names = "bus", "g1", "g2", "h1";
+                       clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>,
+                                <&clk IMX8MM_CLK_VPU_G2_ROOT>,
+                                <&clk IMX8MM_CLK_VPU_H1_ROOT>;
+                       clock-names = "g1", "g2", "h1";
+                       #power-domain-cells = <1>;
+               };
+
                gic: interrupt-controller@38800000 {
                        compatible = "arm,gic-v3";
                        reg = <0x38800000 0x10000>, /* GIC Dist */