MIPS: BMIPS: Add Broadcom STB watchdog nodes
authorJaedon Shin <jaedon.shin@gmail.com>
Fri, 17 Nov 2017 02:19:44 +0000 (11:19 +0900)
committerJames Hogan <jhogan@kernel.org>
Tue, 6 Mar 2018 00:25:18 +0000 (00:25 +0000)
Adds watchdog 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/17729/
Signed-off-by: James Hogan <jhogan@kernel.org>
16 files changed:
arch/mips/boot/dts/brcm/bcm7125.dtsi
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/bcm7420.dtsi
arch/mips/boot/dts/brcm/bcm7425.dtsi
arch/mips/boot/dts/brcm/bcm7435.dtsi
arch/mips/boot/dts/brcm/bcm97125cbmb.dts
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/bcm97420c.dts
arch/mips/boot/dts/brcm/bcm97425svmb.dts
arch/mips/boot/dts/brcm/bcm97435svmb.dts

index 2f9ef56..5bf77b6 100644 (file)
                        status = "disabled";
                };
 
+               watchdog: watchdog@4067e8 {
+                       clocks = <&upg_clk>;
+                       compatible = "brcm,bcm7038-wdt";
+                       reg = <0x4067e8 0x14>;
+                       status = "disabled";
+               };
+
                upg_gio: gpio@406700 {
                        compatible = "brcm,brcmstb-gpio";
                        reg = <0x406700 0x80>;
index 228184d..2afa0da 100644 (file)
                        status = "disabled";
                };
 
+               watchdog: watchdog@4067e8 {
+                       clocks = <&upg_clk>;
+                       compatible = "brcm,bcm7038-wdt";
+                       reg = <0x4067e8 0x14>;
+                       status = "disabled";
+               };
+
                aon_pm_l2_intc: interrupt-controller@408440 {
                        compatible = "brcm,l2-intc";
                        reg = <0x408440 0x30>;
index 398521c..6375fc7 100644 (file)
                        status = "disabled";
                };
 
+               watchdog: watchdog@4066a8 {
+                       clocks = <&upg_clk>;
+                       compatible = "brcm,bcm7038-wdt";
+                       reg = <0x4066a8 0x14>;
+                       status = "disabled";
+               };
+
                aon_pm_l2_intc: interrupt-controller@408240 {
                        compatible = "brcm,l2-intc";
                        reg = <0x408240 0x30>;
index 28f5a0c..a57cace 100644 (file)
                        status = "disabled";
                };
 
+               watchdog: watchdog@4066a8 {
+                       clocks = <&upg_clk>;
+                       compatible = "brcm,bcm7038-wdt";
+                       reg = <0x4066a8 0x14>;
+                       status = "disabled";
+               };
+
                aon_pm_l2_intc: interrupt-controller@408440 {
                        compatible = "brcm,l2-intc";
                        reg = <0x408440 0x30>;
index ab2dd57..728b9e9 100644 (file)
                        status = "disabled";
                };
 
+               watchdog: watchdog@4066a8 {
+                       clocks = <&upg_clk>;
+                       compatible = "brcm,bcm7038-wdt";
+                       reg = <0x4066a8 0x14>;
+                       status = "disabled";
+               };
+
                aon_pm_l2_intc: interrupt-controller@408440 {
                        compatible = "brcm,l2-intc";
                        reg = <0x408440 0x30>;
index d262e11..9540c27 100644 (file)
                        status = "disabled";
                };
 
+               watchdog: watchdog@4067e8 {
+                       clocks = <&upg_clk>;
+                       compatible = "brcm,bcm7038-wdt";
+                       reg = <0x4067e8 0x14>;
+                       status = "disabled";
+               };
+
                upg_gio: gpio@406700 {
                        compatible = "brcm,brcmstb-gpio";
                        reg = <0x406700 0x80>;
index 23479f9..410e61e 100644 (file)
                        status = "disabled";
                };
 
+               watchdog: watchdog@4067e8 {
+                       clocks = <&upg_clk>;
+                       compatible = "brcm,bcm7038-wdt";
+                       reg = <0x4067e8 0x14>;
+                       status = "disabled";
+               };
+
                aon_pm_l2_intc: interrupt-controller@408440 {
                        compatible = "brcm,l2-intc";
                        reg = <0x408440 0x30>;
index af75b01..8398b7f 100644 (file)
                        status = "disabled";
                };
 
+               watchdog: watchdog@4067e8 {
+                       clocks = <&upg_clk>;
+                       compatible = "brcm,bcm7038-wdt";
+                       reg = <0x4067e8 0x14>;
+                       status = "disabled";
+               };
+
                aon_pm_l2_intc: interrupt-controller@408440 {
                        compatible = "brcm,l2-intc";
                        reg = <0x408440 0x30>;
index 7f59ea2..79e9769 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 /* FIXME: USB is wonky; disable it for now */
 &ehci0 {
        status = "disabled";
index b50dbb3..28370ff 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index 2986ce3..41c1b51 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index 8d48ae3..9f6c6c9 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index 4a1d063..df8b755 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index f96241e..086faea 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 /* FIXME: MAC driver comes up but cannot attach to PHY */
 &enet0 {
        status = "disabled";
index 488e12a..0ed2221 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index e14337c..2c145a8 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };