Skip to content

Commit b68c257

Browse files
jaedonamalon
authored andcommitted
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>
1 parent e84442c commit b68c257

16 files changed

+88
-0
lines changed

arch/mips/boot/dts/brcm/bcm7125.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@
198198
status = "disabled";
199199
};
200200

201+
watchdog: watchdog@4067e8 {
202+
clocks = <&upg_clk>;
203+
compatible = "brcm,bcm7038-wdt";
204+
reg = <0x4067e8 0x14>;
205+
status = "disabled";
206+
};
207+
201208
upg_gio: gpio@406700 {
202209
compatible = "brcm,brcmstb-gpio";
203210
reg = <0x406700 0x80>;

arch/mips/boot/dts/brcm/bcm7346.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,13 @@
233233
status = "disabled";
234234
};
235235

236+
watchdog: watchdog@4067e8 {
237+
clocks = <&upg_clk>;
238+
compatible = "brcm,bcm7038-wdt";
239+
reg = <0x4067e8 0x14>;
240+
status = "disabled";
241+
};
242+
236243
aon_pm_l2_intc: interrupt-controller@408440 {
237244
compatible = "brcm,l2-intc";
238245
reg = <0x408440 0x30>;

arch/mips/boot/dts/brcm/bcm7358.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,13 @@
217217
status = "disabled";
218218
};
219219

220+
watchdog: watchdog@4066a8 {
221+
clocks = <&upg_clk>;
222+
compatible = "brcm,bcm7038-wdt";
223+
reg = <0x4066a8 0x14>;
224+
status = "disabled";
225+
};
226+
220227
aon_pm_l2_intc: interrupt-controller@408240 {
221228
compatible = "brcm,l2-intc";
222229
reg = <0x408240 0x30>;

arch/mips/boot/dts/brcm/bcm7360.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,13 @@
209209
status = "disabled";
210210
};
211211

212+
watchdog: watchdog@4066a8 {
213+
clocks = <&upg_clk>;
214+
compatible = "brcm,bcm7038-wdt";
215+
reg = <0x4066a8 0x14>;
216+
status = "disabled";
217+
};
218+
212219
aon_pm_l2_intc: interrupt-controller@408440 {
213220
compatible = "brcm,l2-intc";
214221
reg = <0x408440 0x30>;

arch/mips/boot/dts/brcm/bcm7362.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,13 @@
205205
status = "disabled";
206206
};
207207

208+
watchdog: watchdog@4066a8 {
209+
clocks = <&upg_clk>;
210+
compatible = "brcm,bcm7038-wdt";
211+
reg = <0x4066a8 0x14>;
212+
status = "disabled";
213+
};
214+
208215
aon_pm_l2_intc: interrupt-controller@408440 {
209216
compatible = "brcm,l2-intc";
210217
reg = <0x408440 0x30>;

arch/mips/boot/dts/brcm/bcm7420.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,13 @@
214214
status = "disabled";
215215
};
216216

217+
watchdog: watchdog@4067e8 {
218+
clocks = <&upg_clk>;
219+
compatible = "brcm,bcm7038-wdt";
220+
reg = <0x4067e8 0x14>;
221+
status = "disabled";
222+
};
223+
217224
upg_gio: gpio@406700 {
218225
compatible = "brcm,brcmstb-gpio";
219226
reg = <0x406700 0x80>;

arch/mips/boot/dts/brcm/bcm7425.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,13 @@
232232
status = "disabled";
233233
};
234234

235+
watchdog: watchdog@4067e8 {
236+
clocks = <&upg_clk>;
237+
compatible = "brcm,bcm7038-wdt";
238+
reg = <0x4067e8 0x14>;
239+
status = "disabled";
240+
};
241+
235242
aon_pm_l2_intc: interrupt-controller@408440 {
236243
compatible = "brcm,l2-intc";
237244
reg = <0x408440 0x30>;

arch/mips/boot/dts/brcm/bcm7435.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,13 @@
247247
status = "disabled";
248248
};
249249

250+
watchdog: watchdog@4067e8 {
251+
clocks = <&upg_clk>;
252+
compatible = "brcm,bcm7038-wdt";
253+
reg = <0x4067e8 0x14>;
254+
status = "disabled";
255+
};
256+
250257
aon_pm_l2_intc: interrupt-controller@408440 {
251258
compatible = "brcm,l2-intc";
252259
reg = <0x408440 0x30>;

arch/mips/boot/dts/brcm/bcm97125cbmb.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
status = "okay";
5151
};
5252

53+
&watchdog {
54+
status = "okay";
55+
};
56+
5357
/* FIXME: USB is wonky; disable it for now */
5458
&ehci0 {
5559
status = "disabled";

arch/mips/boot/dts/brcm/bcm97346dbsmb.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
status = "okay";
6060
};
6161

62+
&watchdog {
63+
status = "okay";
64+
};
65+
6266
&enet0 {
6367
status = "okay";
6468
};

arch/mips/boot/dts/brcm/bcm97358svmb.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
status = "okay";
5656
};
5757

58+
&watchdog {
59+
status = "okay";
60+
};
61+
5862
&enet0 {
5963
status = "okay";
6064
};

arch/mips/boot/dts/brcm/bcm97360svmb.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
status = "okay";
5151
};
5252

53+
&watchdog {
54+
status = "okay";
55+
};
56+
5357
&enet0 {
5458
status = "okay";
5559
};

arch/mips/boot/dts/brcm/bcm97362svmb.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
status = "okay";
4848
};
4949

50+
&watchdog {
51+
status = "okay";
52+
};
53+
5054
&enet0 {
5155
status = "okay";
5256
};

arch/mips/boot/dts/brcm/bcm97420c.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
status = "okay";
6161
};
6262

63+
&watchdog {
64+
status = "okay";
65+
};
66+
6367
/* FIXME: MAC driver comes up but cannot attach to PHY */
6468
&enet0 {
6569
status = "disabled";

arch/mips/boot/dts/brcm/bcm97425svmb.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
status = "okay";
6262
};
6363

64+
&watchdog {
65+
status = "okay";
66+
};
67+
6468
&enet0 {
6569
status = "okay";
6670
};

arch/mips/boot/dts/brcm/bcm97435svmb.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
status = "okay";
6262
};
6363

64+
&watchdog {
65+
status = "okay";
66+
};
67+
6468
&enet0 {
6569
status = "okay";
6670
};

0 commit comments

Comments
 (0)