summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi
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/sunxi-bananapi-m2-plus.dtsi
parent4f05f03e8f8bf5c609adca829ae9857fb9f6de3e (diff)
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/sunxi-bananapi-m2-plus.dtsi')
-rw-r--r--arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi b/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi
index d03f5853ef7b..d4627bc7c122 100644
--- a/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi
+++ b/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi
@@ -101,7 +101,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";
};
};
@@ -221,7 +221,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>;