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 2f9ef565e5d08976ffd14a13a9b51e5f2de82e01..5bf77b6fcceb949e0ce59df0e0e376aea0aad6b5 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 228184dedada813e17fe71d1fc21daabbc20d4bd..2afa0dada575becb0e185f6d7295da6b15156838 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 398521c7070f988bc195a68be302a63b4c6cccbe..6375fc77f389b7a5cfcbd0413201a067328aba12 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 28f5a0c1c14971c2f9a2d94f004d6f84461a6f60..a57cacea91cf45ee790121874a4c9d022be7ba46 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 ab2dd57571a06dea392a4c2f50af9f048827cea2..728b9e9f84b814b83bfa3553dac4c24e208affd6 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 d262e11bc3f905945bbc94f43a313b5f347de7cf..9540c27f12e72664780088b92a857dff5bf324ed 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 23479f988aa5b3e1e14399e0b098dbeb13479308..410e61ebaf9e5b070f540446ec2e585323142c90 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 af75b0123c0621840a17ed7ead918dc44bb59096..8398b7f68bf49fcd54deed8425ab4776f0815b72 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 7f59ea2ded6cb3ac37e8357a439baa46aee3428b..79e9769f7e003a728839717dff2c426638e62dfa 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 /* FIXME: USB is wonky; disable it for now */
 &ehci0 {
        status = "disabled";
index b50dbb3cbeeea09e6dc916e63c610ebacdb81a14..28370ff77eeb8895c782ed7a919c06ba9f77d89e 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index 2986ce353e570b7a7a8bc76fa5fd10ed0b89f1cd..41c1b510c230dd50a698b80e97deee15b6bc598e 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index 8d48ae317b8cec9e029ed8bd4b1ba61309724fd6..9f6c6c9b7ea7ff10a26d7f28d42ede2eff097ffd 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index 4a1d0631e9e6eef0c722b0ae3c72ca4822fc5b6f..df8b755c390febd1d5478a117d55ad2d3eb0ba8c 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index f96241e94874315bd5532a9e660d30fd004c6590..086faeaa384a061fa5e746dd56ecdfc68a9777c1 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 /* FIXME: MAC driver comes up but cannot attach to PHY */
 &enet0 {
        status = "disabled";
index 488e12a9e4aa3fd9bf3db1a87da7249f63fb240b..0ed22217bf3a31601b423d1713c55c4cb15354da 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };
index e14337cc51fd5ddccae15c7d2bee140006194f5b..2c145a883aefc32791a25de970033cdc4bdaeeef 100644 (file)
        status = "okay";
 };
 
+&watchdog {
+       status = "okay";
+};
+
 &enet0 {
        status = "okay";
 };