summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-06-07 03:24:37 +0200
committerJernej Skrabec <jernej.skrabec@gmail.com>2022-06-13 22:51:50 +0200
commit8cce5702b6671be31405c08dacdc5b82ea704a63 (patch)
tree616ca14041e7e3e3ae47a5bb42d34a32ff692619 /arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
parentARM: dts: sun5i: adjust whitespace around '=' (diff)
downloadlinux-8cce5702b6671be31405c08dacdc5b82ea704a63.tar.xz
linux-8cce5702b6671be31405c08dacdc5b82ea704a63.zip
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-h2-plus-bananapi-m2-zero.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
index d5c7b7984d85..c06b217a8af5 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
@@ -106,7 +106,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";
};
};
@@ -181,7 +181,7 @@
bluetooth {
compatible = "brcm,bcm43438-bt";
max-speed = <1500000>;
- clocks = <&rtc 1>;
+ clocks = <&rtc CLK_OSC32K_FANOUT>;
clock-names = "lpo";
vbat-supply = <&reg_vcc3v3>;
vddio-supply = <&reg_vcc3v3>;