diff options
author | Samuel Holland <samuel@sholland.org> | 2022-06-06 20:24:38 -0500 |
---|---|---|
committer | Jernej Skrabec <jernej.skrabec@gmail.com> | 2022-06-13 22:52:40 +0200 |
commit | 1b9dac68c636ba4b263e1178e7023f73741f20b9 (patch) | |
tree | 2e9fba2217120a7cf20243b2ba8ba8eed74d2e60 /arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | |
parent | 8cce5702b6671be31405c08dacdc5b82ea704a63 (diff) | |
download | linux-1b9dac68c636ba4b263e1178e7023f73741f20b9.tar.bz2 |
arm64: dts: allwinner: Use constants for RTC clock indexes
The binding header provides descriptive names for the RTC clock indexes,
since the indexes were arbitrarily chosen by the binding, not by the
hardware. Let's use the names, so the meaning is clearer.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220607012438.18183-2-samuel@sholland.org
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts')
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts index c519d9fa6967..e2f963332925 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts @@ -71,7 +71,7 @@ wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <&r_pio 0 8 GPIO_ACTIVE_LOW>; /* PL8 */ - clocks = <&rtc 1>; + clocks = <&rtc CLK_OSC32K_FANOUT>; clock-names = "ext_clock"; }; }; @@ -369,7 +369,7 @@ bluetooth { compatible = "brcm,bcm43438-bt"; max-speed = <1500000>; - clocks = <&rtc 1>; + clocks = <&rtc CLK_OSC32K_FANOUT>; clock-names = "lpo"; vbat-supply = <®_dldo2>; vddio-supply = <®_dldo4>; |