mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 03:50:24 +09:00
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>
This commit is contained in:
committed by
Tony Lindgren
parent
dff844e1fe
commit
97fab2004d
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user