arm64: dts: meson: Add DDR PMU node
authorJiucheng Xu <jiucheng.xu@amlogic.com>
Wed, 9 Nov 2022 01:58:18 +0000 (09:58 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 15 Nov 2022 12:44:50 +0000 (13:44 +0100)
Add DDR PMU device node for G12 series SoC

Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20221109015818.194927-4-jiucheng.xu@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
arch/arm64/boot/dts/amlogic/meson-g12b.dtsi
arch/arm64/boot/dts/amlogic/meson-sm1.dtsi

index 45947c1031c429c558d13dba0e42f944eb992c19..9dbd50820b1ced81d4bb6460ea5b5ff8c84c282a 100644 (file)
                        };
                };
 
+               pmu: pmu@ff638000 {
+                       reg = <0x0 0xff638000 0x0 0x100>,
+                             <0x0 0xff638c00 0x0 0x100>;
+                       interrupts = <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>;
+               };
+
                aobus: bus@ff800000 {
                        compatible = "simple-bus";
                        reg = <0x0 0xff800000 0x0 0x100000>;
index af23d7968181d087f09a048bc51f15cc1fccaba9..7677764eeee6e61b16f9e6263d9c03a4e7fe5920 100644 (file)
                };
        };
 };
+
+&pmu {
+       compatible = "amlogic,g12a-ddr-pmu";
+};
index 9978e619acccda737a21e4a4fa6ee46b93d09520..75ff00fb2e4cf9cd92c99c25b3dfd4fd448f305d 100644 (file)
 &mali {
        dma-coherent;
 };
+
+&pmu {
+       compatible = "amlogic,g12b-ddr-pmu";
+};
index d845eb19d93dce5bcd29c4b973a8b38aa281674f..56ca0ba2241e16fbc5f0d1db5f63ea5231342be5 100644 (file)
        power-domains = <&pwrc PWRC_SM1_PCIE_ID>;
 };
 
+&pmu {
+       compatible = "amlogic,sm1-ddr-pmu";
+};
+
 &pwrc {
        compatible = "amlogic,meson-sm1-pwrc";
 };