Commit b68c2575 authored by Jaedon Shin's avatar Jaedon Shin Committed by James Hogan

MIPS: BMIPS: Add Broadcom STB watchdog nodes

Adds watchdog device nodes to BCM7xxx MIPS based SoCs.
Signed-off-by: default avatarJaedon Shin <jaedon.shin@gmail.com>
Reviewed-by: default avatarFlorian 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: default avatarJames Hogan <jhogan@kernel.org>
parent e84442c1
......@@ -198,6 +198,13 @@ pwma: pwm@406580 {
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>;
......
......@@ -233,6 +233,13 @@ pwmb: pwm@406800 {
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>;
......
......@@ -217,6 +217,13 @@ pwmb: pwm@406700 {
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>;
......
......@@ -209,6 +209,13 @@ pwma: pwm@406400 {
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>;
......
......@@ -205,6 +205,13 @@ pwma: pwm@406400 {
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>;
......
......@@ -214,6 +214,13 @@ pwmb: pwm@406880 {
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>;
......
......@@ -232,6 +232,13 @@ pwmb: pwm@406800 {
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>;
......
......@@ -247,6 +247,13 @@ pwmb: pwm@406800 {
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>;
......
......@@ -50,6 +50,10 @@ &pwma {
status = "okay";
};
&watchdog {
status = "okay";
};
/* FIXME: USB is wonky; disable it for now */
&ehci0 {
status = "disabled";
......
......@@ -59,6 +59,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};
......
......@@ -55,6 +55,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};
......
......@@ -50,6 +50,10 @@ &pwma {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};
......
......@@ -47,6 +47,10 @@ &pwma {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};
......
......@@ -60,6 +60,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
/* FIXME: MAC driver comes up but cannot attach to PHY */
&enet0 {
status = "disabled";
......
......@@ -61,6 +61,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};
......
......@@ -61,6 +61,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment