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

MIPS: BMIPS: Add Broadcom STB wake-up timer nodes

Adds wake-up timer 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/17728/Signed-off-by: default avatarJames Hogan <jhogan@kernel.org>
parent c7146a2b
...@@ -494,6 +494,16 @@ mspi: spi@408a00 { ...@@ -494,6 +494,16 @@ mspi: spi@408a00 {
interrupt-names = "mspi_done"; interrupt-names = "mspi_done";
status = "disabled"; status = "disabled";
}; };
waketimer: waketimer@408e80 {
compatible = "brcm,brcmstb-waketimer";
reg = <0x408e80 0x14>;
interrupts = <0x3>;
interrupt-parent = <&aon_pm_l2_intc>;
interrupt-names = "timer";
clocks = <&upg_clk>;
status = "disabled";
};
}; };
memory_controllers { memory_controllers {
......
...@@ -362,5 +362,15 @@ mspi: spi@408a00 { ...@@ -362,5 +362,15 @@ mspi: spi@408a00 {
interrupt-names = "mspi_done"; interrupt-names = "mspi_done";
status = "disabled"; status = "disabled";
}; };
waketimer: waketimer@408e80 {
compatible = "brcm,brcmstb-waketimer";
reg = <0x408e80 0x14>;
interrupts = <0x3>;
interrupt-parent = <&aon_pm_l2_intc>;
interrupt-names = "timer";
clocks = <&upg_clk>;
status = "disabled";
};
}; };
}; };
...@@ -413,6 +413,16 @@ mspi: spi@408a00 { ...@@ -413,6 +413,16 @@ mspi: spi@408a00 {
interrupt-names = "mspi_done"; interrupt-names = "mspi_done";
status = "disabled"; status = "disabled";
}; };
waketimer: waketimer@408e80 {
compatible = "brcm,brcmstb-waketimer";
reg = <0x408e80 0x14>;
interrupts = <0x3>;
interrupt-parent = <&aon_pm_l2_intc>;
interrupt-names = "timer";
clocks = <&upg_clk>;
status = "disabled";
};
}; };
memory_controllers { memory_controllers {
......
...@@ -409,6 +409,16 @@ mspi: spi@408a00 { ...@@ -409,6 +409,16 @@ mspi: spi@408a00 {
interrupt-names = "mspi_done"; interrupt-names = "mspi_done";
status = "disabled"; status = "disabled";
}; };
waketimer: waketimer@408e80 {
compatible = "brcm,brcmstb-waketimer";
reg = <0x408e80 0x14>;
interrupts = <0x3>;
interrupt-parent = <&aon_pm_l2_intc>;
interrupt-names = "timer";
clocks = <&upg_clk>;
status = "disabled";
};
}; };
memory_controllers { memory_controllers {
......
...@@ -505,6 +505,16 @@ mspi: spi@409200 { ...@@ -505,6 +505,16 @@ mspi: spi@409200 {
interrupt-names = "mspi_done"; interrupt-names = "mspi_done";
status = "disabled"; status = "disabled";
}; };
waketimer: waketimer@409580 {
compatible = "brcm,brcmstb-waketimer";
reg = <0x409580 0x14>;
interrupts = <0x3>;
interrupt-parent = <&aon_pm_l2_intc>;
interrupt-names = "timer";
clocks = <&upg_clk>;
status = "disabled";
};
}; };
memory_controllers { memory_controllers {
......
...@@ -520,6 +520,16 @@ mspi: spi@409200 { ...@@ -520,6 +520,16 @@ mspi: spi@409200 {
interrupt-names = "mspi_done"; interrupt-names = "mspi_done";
status = "disabled"; status = "disabled";
}; };
waketimer: waketimer@409580 {
compatible = "brcm,brcmstb-waketimer";
reg = <0x409580 0x14>;
interrupts = <0x3>;
interrupt-parent = <&aon_pm_l2_intc>;
interrupt-names = "timer";
clocks = <&upg_clk>;
status = "disabled";
};
}; };
memory_controllers { memory_controllers {
......
...@@ -114,3 +114,7 @@ &sdhci0 { ...@@ -114,3 +114,7 @@ &sdhci0 {
&mspi { &mspi {
status = "okay"; status = "okay";
}; };
&waketimer {
status = "okay";
};
...@@ -106,3 +106,7 @@ flash0.nvram@240000 { ...@@ -106,3 +106,7 @@ flash0.nvram@240000 {
&mspi { &mspi {
status = "okay"; status = "okay";
}; };
&waketimer {
status = "okay";
};
...@@ -109,3 +109,7 @@ flash0.nvram@240000 { ...@@ -109,3 +109,7 @@ flash0.nvram@240000 {
&mspi { &mspi {
status = "okay"; status = "okay";
}; };
&waketimer {
status = "okay";
};
...@@ -78,3 +78,7 @@ &sdhci0 { ...@@ -78,3 +78,7 @@ &sdhci0 {
&mspi { &mspi {
status = "okay"; status = "okay";
}; };
&waketimer {
status = "okay";
};
...@@ -144,3 +144,7 @@ flash0.nvram@240000 { ...@@ -144,3 +144,7 @@ flash0.nvram@240000 {
&mspi { &mspi {
status = "okay"; status = "okay";
}; };
&waketimer {
status = "okay";
};
...@@ -120,3 +120,7 @@ &sdhci1 { ...@@ -120,3 +120,7 @@ &sdhci1 {
&mspi { &mspi {
status = "okay"; status = "okay";
}; };
&waketimer {
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