aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-06-06 20:24:37 -0500
committerJernej Skrabec <jernej.skrabec@gmail.com>2022-06-13 22:51:50 +0200
commit8cce5702b6671be31405c08dacdc5b82ea704a63 (patch)
tree616ca14041e7e3e3ae47a5bb42d34a32ff692619 /arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts
parent4f05f03e8f8bf5c609adca829ae9857fb9f6de3e (diff)
downloadlinux-8cce5702b6671be31405c08dacdc5b82ea704a63.tar.gz
ARM: dts: sunxi: 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-1-samuel@sholland.org
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts
index 26e2e6172e0d..42cd1131adf3 100644
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts
@@ -46,7 +46,7 @@
wifi_pwrseq: wifi_pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
- clocks = <&rtc 1>;
+ clocks = <&rtc CLK_OSC32K_FANOUT>;
clock-names = "ext_clock";
};
@@ -147,7 +147,7 @@
bluetooth {
compatible = "brcm,bcm43438-bt";
- clocks = <&rtc 1>;
+ clocks = <&rtc CLK_OSC32K_FANOUT>;
clock-names = "lpo";
vbat-supply = <&reg_vcc3v3>;
vddio-supply = <&reg_vcc3v3>;