diff options
author | Alexander Shiyan <eagle.alexander923@gmail.com> | 2022-04-27 11:19:13 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2022-04-29 10:10:31 +0300 |
commit | 97fab2004d11577dfe17aaaacdbf02093194dbb9 (patch) | |
tree | dbb3032fdf62f19561b0778fd39ef0168907f7c1 /arch/arm | |
parent | dff844e1fe17e6c41e5899d46a378f857ea4f354 (diff) | |
download | linux-97fab2004d11577dfe17aaaacdbf02093194dbb9.tar.xz |
ARM: dts: am335x-myirtech: Add an external clock oscillator for CPU RTC
The CPU RTC has an external crystal, so to keep time, let's define
it for devicetree.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Message-Id: <20220427081914.6773-1-eagle.alexander923@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/am335x-myirtech-myc.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-myirtech-myc.dtsi b/arch/arm/boot/dts/am335x-myirtech-myc.dtsi index 245c35f41cdf..d94e096983c7 100644 --- a/arch/arm/boot/dts/am335x-myirtech-myc.dtsi +++ b/arch/arm/boot/dts/am335x-myirtech-myc.dtsi @@ -27,6 +27,13 @@ reg = <0x80000000 0x10000000>; }; + clk32k: clk32k { + compatible = "fixed-clock"; + clock-frequency = <32768>; + + #clock-cells = <0>; + }; + vdd_mod: vdd_mod_reg { compatible = "regulator-fixed"; regulator-name = "vdd-mod"; @@ -149,6 +156,8 @@ }; &rtc { + clocks = <&clk32k>; + clock-names = "ext-clk"; system-power-controller; }; |