1
0
Fork 0

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
alistair/sensors
Geert Uytterhoeven 2019-12-11 14:52:19 +01:00
parent 6f89dd9e93
commit 61b58e3f6e
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
compatible = "arm,cortex-a9-twd-timer";
reg = <0xf0000600 0x20>;
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
clocks = <&twd_clk>;
clocks = <&periph_clk>;
};
gic: interrupt-controller@f0001000 {
@ -812,7 +812,7 @@
clock-div = <13>;
clock-mult = <1>;
};
twd_clk: twd {
periph_clk: periph {
compatible = "fixed-factor-clock";
clocks = <&cpg_clocks SH73A0_CLK_Z>;
#clock-cells = <0>;