Skip to content

Commit e84442c

Browse files
jaedonamalon
authored andcommitted
MIPS: BMIPS: Add Broadcom STB wake-up timer nodes
Adds wake-up timer 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/17728/ Signed-off-by: James Hogan <jhogan@kernel.org>
1 parent c7146a2 commit e84442c

File tree

12 files changed

+84
-0
lines changed

12 files changed

+84
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,16 @@
494494
interrupt-names = "mspi_done";
495495
status = "disabled";
496496
};
497+
498+
waketimer: waketimer@408e80 {
499+
compatible = "brcm,brcmstb-waketimer";
500+
reg = <0x408e80 0x14>;
501+
interrupts = <0x3>;
502+
interrupt-parent = <&aon_pm_l2_intc>;
503+
interrupt-names = "timer";
504+
clocks = <&upg_clk>;
505+
status = "disabled";
506+
};
497507
};
498508

499509
memory_controllers {

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,5 +362,15 @@
362362
interrupt-names = "mspi_done";
363363
status = "disabled";
364364
};
365+
366+
waketimer: waketimer@408e80 {
367+
compatible = "brcm,brcmstb-waketimer";
368+
reg = <0x408e80 0x14>;
369+
interrupts = <0x3>;
370+
interrupt-parent = <&aon_pm_l2_intc>;
371+
interrupt-names = "timer";
372+
clocks = <&upg_clk>;
373+
status = "disabled";
374+
};
365375
};
366376
};

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,16 @@
413413
interrupt-names = "mspi_done";
414414
status = "disabled";
415415
};
416+
417+
waketimer: waketimer@408e80 {
418+
compatible = "brcm,brcmstb-waketimer";
419+
reg = <0x408e80 0x14>;
420+
interrupts = <0x3>;
421+
interrupt-parent = <&aon_pm_l2_intc>;
422+
interrupt-names = "timer";
423+
clocks = <&upg_clk>;
424+
status = "disabled";
425+
};
416426
};
417427

418428
memory_controllers {

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,16 @@
409409
interrupt-names = "mspi_done";
410410
status = "disabled";
411411
};
412+
413+
waketimer: waketimer@408e80 {
414+
compatible = "brcm,brcmstb-waketimer";
415+
reg = <0x408e80 0x14>;
416+
interrupts = <0x3>;
417+
interrupt-parent = <&aon_pm_l2_intc>;
418+
interrupt-names = "timer";
419+
clocks = <&upg_clk>;
420+
status = "disabled";
421+
};
412422
};
413423

414424
memory_controllers {

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,16 @@
505505
interrupt-names = "mspi_done";
506506
status = "disabled";
507507
};
508+
509+
waketimer: waketimer@409580 {
510+
compatible = "brcm,brcmstb-waketimer";
511+
reg = <0x409580 0x14>;
512+
interrupts = <0x3>;
513+
interrupt-parent = <&aon_pm_l2_intc>;
514+
interrupt-names = "timer";
515+
clocks = <&upg_clk>;
516+
status = "disabled";
517+
};
508518
};
509519

510520
memory_controllers {

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,16 @@
520520
interrupt-names = "mspi_done";
521521
status = "disabled";
522522
};
523+
524+
waketimer: waketimer@409580 {
525+
compatible = "brcm,brcmstb-waketimer";
526+
reg = <0x409580 0x14>;
527+
interrupts = <0x3>;
528+
interrupt-parent = <&aon_pm_l2_intc>;
529+
interrupt-names = "timer";
530+
clocks = <&upg_clk>;
531+
status = "disabled";
532+
};
523533
};
524534

525535
memory_controllers {

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,7 @@
114114
&mspi {
115115
status = "okay";
116116
};
117+
118+
&waketimer {
119+
status = "okay";
120+
};

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,7 @@
106106
&mspi {
107107
status = "okay";
108108
};
109+
110+
&waketimer {
111+
status = "okay";
112+
};

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,7 @@
109109
&mspi {
110110
status = "okay";
111111
};
112+
113+
&waketimer {
114+
status = "okay";
115+
};

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,7 @@
7878
&mspi {
7979
status = "okay";
8080
};
81+
82+
&waketimer {
83+
status = "okay";
84+
};

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,7 @@
144144
&mspi {
145145
status = "okay";
146146
};
147+
148+
&waketimer {
149+
status = "okay";
150+
};

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,7 @@
120120
&mspi {
121121
status = "okay";
122122
};
123+
124+
&waketimer {
125+
status = "okay";
126+
};

0 commit comments

Comments
 (0)