Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: BMIPS: Add Broadcom STB watchdog nodes

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>

authored by

Jaedon Shin and committed by
James Hogan
b68c2575 e84442c1

+88
+7
arch/mips/boot/dts/brcm/bcm7125.dtsi
··· 198 198 status = "disabled"; 199 199 }; 200 200 201 + watchdog: watchdog@4067e8 { 202 + clocks = <&upg_clk>; 203 + compatible = "brcm,bcm7038-wdt"; 204 + reg = <0x4067e8 0x14>; 205 + status = "disabled"; 206 + }; 207 + 201 208 upg_gio: gpio@406700 { 202 209 compatible = "brcm,brcmstb-gpio"; 203 210 reg = <0x406700 0x80>;
+7
arch/mips/boot/dts/brcm/bcm7346.dtsi
··· 233 233 status = "disabled"; 234 234 }; 235 235 236 + watchdog: watchdog@4067e8 { 237 + clocks = <&upg_clk>; 238 + compatible = "brcm,bcm7038-wdt"; 239 + reg = <0x4067e8 0x14>; 240 + status = "disabled"; 241 + }; 242 + 236 243 aon_pm_l2_intc: interrupt-controller@408440 { 237 244 compatible = "brcm,l2-intc"; 238 245 reg = <0x408440 0x30>;
+7
arch/mips/boot/dts/brcm/bcm7358.dtsi
··· 217 217 status = "disabled"; 218 218 }; 219 219 220 + watchdog: watchdog@4066a8 { 221 + clocks = <&upg_clk>; 222 + compatible = "brcm,bcm7038-wdt"; 223 + reg = <0x4066a8 0x14>; 224 + status = "disabled"; 225 + }; 226 + 220 227 aon_pm_l2_intc: interrupt-controller@408240 { 221 228 compatible = "brcm,l2-intc"; 222 229 reg = <0x408240 0x30>;
+7
arch/mips/boot/dts/brcm/bcm7360.dtsi
··· 209 209 status = "disabled"; 210 210 }; 211 211 212 + watchdog: watchdog@4066a8 { 213 + clocks = <&upg_clk>; 214 + compatible = "brcm,bcm7038-wdt"; 215 + reg = <0x4066a8 0x14>; 216 + status = "disabled"; 217 + }; 218 + 212 219 aon_pm_l2_intc: interrupt-controller@408440 { 213 220 compatible = "brcm,l2-intc"; 214 221 reg = <0x408440 0x30>;
+7
arch/mips/boot/dts/brcm/bcm7362.dtsi
··· 205 205 status = "disabled"; 206 206 }; 207 207 208 + watchdog: watchdog@4066a8 { 209 + clocks = <&upg_clk>; 210 + compatible = "brcm,bcm7038-wdt"; 211 + reg = <0x4066a8 0x14>; 212 + status = "disabled"; 213 + }; 214 + 208 215 aon_pm_l2_intc: interrupt-controller@408440 { 209 216 compatible = "brcm,l2-intc"; 210 217 reg = <0x408440 0x30>;
+7
arch/mips/boot/dts/brcm/bcm7420.dtsi
··· 214 214 status = "disabled"; 215 215 }; 216 216 217 + watchdog: watchdog@4067e8 { 218 + clocks = <&upg_clk>; 219 + compatible = "brcm,bcm7038-wdt"; 220 + reg = <0x4067e8 0x14>; 221 + status = "disabled"; 222 + }; 223 + 217 224 upg_gio: gpio@406700 { 218 225 compatible = "brcm,brcmstb-gpio"; 219 226 reg = <0x406700 0x80>;
+7
arch/mips/boot/dts/brcm/bcm7425.dtsi
··· 232 232 status = "disabled"; 233 233 }; 234 234 235 + watchdog: watchdog@4067e8 { 236 + clocks = <&upg_clk>; 237 + compatible = "brcm,bcm7038-wdt"; 238 + reg = <0x4067e8 0x14>; 239 + status = "disabled"; 240 + }; 241 + 235 242 aon_pm_l2_intc: interrupt-controller@408440 { 236 243 compatible = "brcm,l2-intc"; 237 244 reg = <0x408440 0x30>;
+7
arch/mips/boot/dts/brcm/bcm7435.dtsi
··· 247 247 status = "disabled"; 248 248 }; 249 249 250 + watchdog: watchdog@4067e8 { 251 + clocks = <&upg_clk>; 252 + compatible = "brcm,bcm7038-wdt"; 253 + reg = <0x4067e8 0x14>; 254 + status = "disabled"; 255 + }; 256 + 250 257 aon_pm_l2_intc: interrupt-controller@408440 { 251 258 compatible = "brcm,l2-intc"; 252 259 reg = <0x408440 0x30>;
+4
arch/mips/boot/dts/brcm/bcm97125cbmb.dts
··· 50 50 status = "okay"; 51 51 }; 52 52 53 + &watchdog { 54 + status = "okay"; 55 + }; 56 + 53 57 /* FIXME: USB is wonky; disable it for now */ 54 58 &ehci0 { 55 59 status = "disabled";
+4
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts
··· 59 59 status = "okay"; 60 60 }; 61 61 62 + &watchdog { 63 + status = "okay"; 64 + }; 65 + 62 66 &enet0 { 63 67 status = "okay"; 64 68 };
+4
arch/mips/boot/dts/brcm/bcm97358svmb.dts
··· 55 55 status = "okay"; 56 56 }; 57 57 58 + &watchdog { 59 + status = "okay"; 60 + }; 61 + 58 62 &enet0 { 59 63 status = "okay"; 60 64 };
+4
arch/mips/boot/dts/brcm/bcm97360svmb.dts
··· 50 50 status = "okay"; 51 51 }; 52 52 53 + &watchdog { 54 + status = "okay"; 55 + }; 56 + 53 57 &enet0 { 54 58 status = "okay"; 55 59 };
+4
arch/mips/boot/dts/brcm/bcm97362svmb.dts
··· 47 47 status = "okay"; 48 48 }; 49 49 50 + &watchdog { 51 + status = "okay"; 52 + }; 53 + 50 54 &enet0 { 51 55 status = "okay"; 52 56 };
+4
arch/mips/boot/dts/brcm/bcm97420c.dts
··· 60 60 status = "okay"; 61 61 }; 62 62 63 + &watchdog { 64 + status = "okay"; 65 + }; 66 + 63 67 /* FIXME: MAC driver comes up but cannot attach to PHY */ 64 68 &enet0 { 65 69 status = "disabled";
+4
arch/mips/boot/dts/brcm/bcm97425svmb.dts
··· 61 61 status = "okay"; 62 62 }; 63 63 64 + &watchdog { 65 + status = "okay"; 66 + }; 67 + 64 68 &enet0 { 65 69 status = "okay"; 66 70 };
+4
arch/mips/boot/dts/brcm/bcm97435svmb.dts
··· 61 61 status = "okay"; 62 62 }; 63 63 64 + &watchdog { 65 + status = "okay"; 66 + }; 67 + 64 68 &enet0 { 65 69 status = "okay"; 66 70 };