diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2020-03-08 16:58:49 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-03-09 18:17:56 +0300 |
commit | 32507b8681198c987fad8ac66e55ad4e15dfae4a (patch) | |
tree | 1c070263fd1dd675e0f55e0049c1087342037840 /arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | |
parent | 91f480d409429db29b402c3200e4a6f1e519ba87 (diff) | |
download | linux-32507b8681198c987fad8ac66e55ad4e15dfae4a.tar.xz |
arm64: dts: allwinner: h6: Move ext. oscillator to board DTs
It turns out that not all H6 boards have external 32kHz oscillator.
Currently the only one known such H6 board is Tanix TX6.
Move external oscillator node from common H6 dtsi to board specific dts
files where present.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts')
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts index 1e0abd9d047f..47f579610dcc 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts @@ -32,6 +32,13 @@ }; }; + ext_osc32k: ext_osc32k_clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <32768>; + clock-output-names = "ext_osc32k"; + }; + leds { compatible = "gpio-leds"; @@ -285,6 +292,10 @@ status = "okay"; }; +&rtc { + clocks = <&ext_osc32k>; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ph_pins>; |