MIPS: BMIPS: Add Broadcom STB wake-up timer nodes
authorJaedon Shin <jaedon.shin@gmail.com>
Fri, 17 Nov 2017 02:19:43 +0000 (11:19 +0900)
committerJames Hogan <jhogan@kernel.org>
Tue, 6 Mar 2018 00:24:28 +0000 (00:24 +0000)
Adds wake-up timer device nodes to BCM7xxx MIPS based SoCs.

Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17728/
Signed-off-by: James Hogan <jhogan@kernel.org>
12 files changed:
arch/mips/boot/dts/brcm/bcm7346.dtsi
arch/mips/boot/dts/brcm/bcm7358.dtsi
arch/mips/boot/dts/brcm/bcm7360.dtsi
arch/mips/boot/dts/brcm/bcm7362.dtsi
arch/mips/boot/dts/brcm/bcm7425.dtsi
arch/mips/boot/dts/brcm/bcm7435.dtsi
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts
arch/mips/boot/dts/brcm/bcm97358svmb.dts
arch/mips/boot/dts/brcm/bcm97360svmb.dts
arch/mips/boot/dts/brcm/bcm97362svmb.dts
arch/mips/boot/dts/brcm/bcm97425svmb.dts
arch/mips/boot/dts/brcm/bcm97435svmb.dts

index 8aa5b72..228184d 100644 (file)
                        interrupt-names = "mspi_done";
                        status = "disabled";
                };
+
+               waketimer: waketimer@408e80 {
+                       compatible = "brcm,brcmstb-waketimer";
+                       reg = <0x408e80 0x14>;
+                       interrupts = <0x3>;
+                       interrupt-parent = <&aon_pm_l2_intc>;
+                       interrupt-names = "timer";
+                       clocks = <&upg_clk>;
+                       status = "disabled";
+               };
        };
 
        memory_controllers {
index 1089d6e..398521c 100644 (file)
                        interrupt-names = "mspi_done";
                        status = "disabled";
                };
+
+               waketimer: waketimer@408e80 {
+                       compatible = "brcm,brcmstb-waketimer";
+                       reg = <0x408e80 0x14>;
+                       interrupts = <0x3>;
+                       interrupt-parent = <&aon_pm_l2_intc>;
+                       interrupt-names = "timer";
+                       clocks = <&upg_clk>;
+                       status = "disabled";
+               };
        };
 };
index f68285c..28f5a0c 100644 (file)
                        interrupt-names = "mspi_done";
                        status = "disabled";
                };
+
+               waketimer: waketimer@408e80 {
+                       compatible = "brcm,brcmstb-waketimer";
+                       reg = <0x408e80 0x14>;
+                       interrupts = <0x3>;
+                       interrupt-parent = <&aon_pm_l2_intc>;
+                       interrupt-names = "timer";
+                       clocks = <&upg_clk>;
+                       status = "disabled";
+               };
        };
 
        memory_controllers {
index a4bfa5f..ab2dd57 100644 (file)
                        interrupt-names = "mspi_done";
                        status = "disabled";
                };
+
+               waketimer: waketimer@408e80 {
+                       compatible = "brcm,brcmstb-waketimer";
+                       reg = <0x408e80 0x14>;
+                       interrupts = <0x3>;
+                       interrupt-parent = <&aon_pm_l2_intc>;
+                       interrupt-names = "timer";
+                       clocks = <&upg_clk>;
+                       status = "disabled";
+               };
        };
 
        memory_controllers {
index 6cb5352..23479f9 100644 (file)
                        interrupt-names = "mspi_done";
                        status = "disabled";
                };
+
+               waketimer: waketimer@409580 {
+                       compatible = "brcm,brcmstb-waketimer";
+                       reg = <0x409580 0x14>;
+                       interrupts = <0x3>;
+                       interrupt-parent = <&aon_pm_l2_intc>;
+                       interrupt-names = "timer";
+                       clocks = <&upg_clk>;
+                       status = "disabled";
+               };
        };
 
        memory_controllers {
index 1e0545c..af75b01 100644 (file)
                        interrupt-names = "mspi_done";
                        status = "disabled";
                };
+
+               waketimer: waketimer@409580 {
+                       compatible = "brcm,brcmstb-waketimer";
+                       reg = <0x409580 0x14>;
+                       interrupts = <0x3>;
+                       interrupt-parent = <&aon_pm_l2_intc>;
+                       interrupt-names = "timer";
+                       clocks = <&upg_clk>;
+                       status = "disabled";
+               };
        };
 
        memory_controllers {
index 9e7d522..b50dbb3 100644 (file)
 &mspi {
        status = "okay";
 };
+
+&waketimer {
+       status = "okay";
+};
index 708207a..2986ce3 100644 (file)
 &mspi {
        status = "okay";
 };
+
+&waketimer {
+       status = "okay";
+};
index 73c6dc9..8d48ae3 100644 (file)
 &mspi {
        status = "okay";
 };
+
+&waketimer {
+       status = "okay";
+};
index 37bacfd..4a1d063 100644 (file)
@@ -78,3 +78,7 @@
 &mspi {
        status = "okay";
 };
+
+&waketimer {
+       status = "okay";
+};
index ce762c7..488e12a 100644 (file)
 &mspi {
        status = "okay";
 };
+
+&waketimer {
+       status = "okay";
+};
index d4dd31a..e14337c 100644 (file)
 &mspi {
        status = "okay";
 };
+
+&waketimer {
+       status = "okay";
+};