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>
This commit is contained in:
Jaedon Shin 2017-11-17 11:19:44 +09:00 committed by James Hogan
parent e84442c12b
commit b68c257581
No known key found for this signature in database
GPG Key ID: 6C0B6993DE38767A
16 changed files with 88 additions and 0 deletions

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -50,6 +50,10 @@ &pwma {
status = "okay";
};
&watchdog {
status = "okay";
};
/* FIXME: USB is wonky; disable it for now */
&ehci0 {
status = "disabled";

View File

@ -59,6 +59,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};

View File

@ -55,6 +55,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};

View File

@ -50,6 +50,10 @@ &pwma {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};

View File

@ -47,6 +47,10 @@ &pwma {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};

View File

@ -60,6 +60,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
/* FIXME: MAC driver comes up but cannot attach to PHY */
&enet0 {
status = "disabled";

View File

@ -61,6 +61,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};

View File

@ -61,6 +61,10 @@ &pwmb {
status = "okay";
};
&watchdog {
status = "okay";
};
&enet0 {
status = "okay";
};