mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 00:36:40 +07:00
ARM: dts: meson: add the clock inputs for the Meson timer
The Meson Timer IP block has two clock inputs: - clk81 for using the system clock as timebase - xtal for a timebase with 1us, 10us, 100us and 1ms resolution The clocksource driver does not use these yet, but it's still a good idea to add them as this describes how the hardware actually works internally. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
This commit is contained in:
parent
523b8b31d3
commit
7b141abe4a
@ -197,7 +197,7 @@ wdt: watchdog@9900 {
|
||||
interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
|
||||
};
|
||||
|
||||
timer@9940 {
|
||||
timer_abcde: timer@9940 {
|
||||
compatible = "amlogic,meson6-timer";
|
||||
reg = <0x9940 0x18>;
|
||||
interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
|
||||
|
@ -88,6 +88,11 @@ &efuse {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&timer_abcde {
|
||||
clocks = <&xtal>, <&clk81>;
|
||||
clock-names = "xtal", "pclk";
|
||||
};
|
||||
|
||||
&uart_AO {
|
||||
clocks = <&xtal>, <&clk81>, <&clk81>;
|
||||
clock-names = "xtal", "pclk", "baud";
|
||||
|
@ -387,6 +387,11 @@ &spifc {
|
||||
clocks = <&clkc CLKID_CLK81>;
|
||||
};
|
||||
|
||||
&timer_abcde {
|
||||
clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
|
||||
clock-names = "xtal", "pclk";
|
||||
};
|
||||
|
||||
&uart_AO {
|
||||
compatible = "amlogic,meson8-uart", "amlogic,meson-uart";
|
||||
clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
|
||||
|
@ -370,6 +370,11 @@ &sdio {
|
||||
clock-names = "core", "clkin";
|
||||
};
|
||||
|
||||
&timer_abcde {
|
||||
clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
|
||||
clock-names = "xtal", "pclk";
|
||||
};
|
||||
|
||||
&uart_AO {
|
||||
compatible = "amlogic,meson8b-uart", "amlogic,meson-uart";
|
||||
clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
|
||||
|
Loading…
Reference in New Issue
Block a user