diff options
author | Samuel Holland <samuel@sholland.org> | 2022-06-07 03:24:37 +0200 |
---|---|---|
committer | Jernej Skrabec <jernej.skrabec@gmail.com> | 2022-06-13 22:51:50 +0200 |
commit | 8cce5702b6671be31405c08dacdc5b82ea704a63 (patch) | |
tree | 616ca14041e7e3e3ae47a5bb42d34a32ff692619 /arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi | |
parent | ARM: dts: sun5i: adjust whitespace around '=' (diff) | |
download | linux-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/sunxi-bananapi-m2-plus.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi | 4 |
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 = <®_vcc3v3>; vddio-supply = <®_vcc3v3>; |