[PATCH 6/8] arm64: dts: meson: disable vrtc for VIM3L boards meson-khadas-vim3

Neil Armstrong narmstrong at baylibre.com
Fri Sep 25 03:44:32 EDT 2020


Hi,

On 25/09/2020 05:30, Artem Lapkin wrote:
> vrtc not used for meson-khadas-vim3
> 
> Signed-off-by: Artem Lapkin <art at khadas.com>
> ---
>  arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
> index 3111bf35c0f..81bb88a76d5 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
> @@ -284,6 +284,10 @@ &pwm_ef {
>          pinctrl-names = "default";
>  };
>  
> +&vrtc {
> +	status = "disabled";
> +};
> +
>  &saradc {
>  	status = "okay";
>  	vref-supply = <&vddao_1v8>;
> 

The VRTC is one of the default suspend wake-up sources, so why would you disable it ?

If it collides with the real RTC, add aliases to move the vrtc in rtc1 and set the real RTC as rtc0.

 »       aliases·{
+»       »       rtc0·=·&rtc0;
+»       »       rtc1·=·&vrtc;
 »       };

Neil



More information about the linux-arm-kernel mailing list