ARM: dts: sh73a0: Rename twd clock to periph clock
The "TWD" clock is actually the Cortex-A9 MPCore "PERIPHCLK" clock, which not only clocks the private timers and watchdogs (TWD), but also the interrupt controller and global timer. Hence rename it from "twd" to "periph". Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20191211135222.26770-2-geert+renesas@glider.be
This commit is contained in:
parent
6f89dd9e93
commit
61b58e3f6e
|
@ -43,7 +43,7 @@
|
||||||
compatible = "arm,cortex-a9-twd-timer";
|
compatible = "arm,cortex-a9-twd-timer";
|
||||||
reg = <0xf0000600 0x20>;
|
reg = <0xf0000600 0x20>;
|
||||||
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
|
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
|
||||||
clocks = <&twd_clk>;
|
clocks = <&periph_clk>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gic: interrupt-controller@f0001000 {
|
gic: interrupt-controller@f0001000 {
|
||||||
|
@ -812,7 +812,7 @@
|
||||||
clock-div = <13>;
|
clock-div = <13>;
|
||||||
clock-mult = <1>;
|
clock-mult = <1>;
|
||||||
};
|
};
|
||||||
twd_clk: twd {
|
periph_clk: periph {
|
||||||
compatible = "fixed-factor-clock";
|
compatible = "fixed-factor-clock";
|
||||||
clocks = <&cpg_clocks SH73A0_CLK_Z>;
|
clocks = <&cpg_clocks SH73A0_CLK_Z>;
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
|
|
Loading…
Reference in New Issue