Skip to content

Commit

Permalink
MIPS: BMIPS: Add Broadcom STB watchdog nodes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaedon Shin authored and James Hogan committed Mar 6, 2018
1 parent e84442c commit b68c257
Show file tree
Hide file tree
Showing 16 changed files with 88 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/brcm/bcm7125.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,13 @@
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>;
Expand Down
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/brcm/bcm7346.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,13 @@
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>;
Expand Down
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/brcm/bcm7358.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,13 @@
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>;
Expand Down
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/brcm/bcm7360.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@
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>;
Expand Down
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/brcm/bcm7362.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,13 @@
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>;
Expand Down
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/brcm/bcm7420.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,13 @@
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>;
Expand Down
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/brcm/bcm7425.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,13 @@
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>;
Expand Down
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/brcm/bcm7435.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,13 @@
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>;
Expand Down
4 changes: 4 additions & 0 deletions arch/mips/boot/dts/brcm/bcm97125cbmb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
status = "okay";
};

&watchdog {
status = "okay";
};

/* FIXME: USB is wonky; disable it for now */
&ehci0 {
status = "disabled";
Expand Down
4 changes: 4 additions & 0 deletions arch/mips/boot/dts/brcm/bcm97346dbsmb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
status = "okay";
};

&watchdog {
status = "okay";
};

&enet0 {
status = "okay";
};
Expand Down
4 changes: 4 additions & 0 deletions arch/mips/boot/dts/brcm/bcm97358svmb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
status = "okay";
};

&watchdog {
status = "okay";
};

&enet0 {
status = "okay";
};
Expand Down
4 changes: 4 additions & 0 deletions arch/mips/boot/dts/brcm/bcm97360svmb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
status = "okay";
};

&watchdog {
status = "okay";
};

&enet0 {
status = "okay";
};
Expand Down
4 changes: 4 additions & 0 deletions arch/mips/boot/dts/brcm/bcm97362svmb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
status = "okay";
};

&watchdog {
status = "okay";
};

&enet0 {
status = "okay";
};
Expand Down
4 changes: 4 additions & 0 deletions arch/mips/boot/dts/brcm/bcm97420c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
status = "okay";
};

&watchdog {
status = "okay";
};

/* FIXME: MAC driver comes up but cannot attach to PHY */
&enet0 {
status = "disabled";
Expand Down
4 changes: 4 additions & 0 deletions arch/mips/boot/dts/brcm/bcm97425svmb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
status = "okay";
};

&watchdog {
status = "okay";
};

&enet0 {
status = "okay";
};
Expand Down
4 changes: 4 additions & 0 deletions arch/mips/boot/dts/brcm/bcm97435svmb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
status = "okay";
};

&watchdog {
status = "okay";
};

&enet0 {
status = "okay";
};
Expand Down

0 comments on commit b68c257

Please sign in to comment.