From b511a16cf0393fb7436f38fe45e0bf222d8b2106 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Mon, 24 Aug 2020 16:36:36 +0200 Subject: Revert "apalis-imx8qm: convert rtc m41t0 to syntactic sugar" This reverts commit 9a14813434c5c999ae126c5327fe3503142f58e0. Syntactic sugar is not fully supported on 4.14 kernel revert all overlays for this branch Signed-off-by: Philippe Schenker --- overlays/apalis-imx8qm_st-m41t0_overlay.dts | 34 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'overlays') diff --git a/overlays/apalis-imx8qm_st-m41t0_overlay.dts b/overlays/apalis-imx8qm_st-m41t0_overlay.dts index 76374e0..5a91eef 100644 --- a/overlays/apalis-imx8qm_st-m41t0_overlay.dts +++ b/overlays/apalis-imx8qm_st-m41t0_overlay.dts @@ -1,4 +1,4 @@ -// Enable the external RTC ST m41t0 +// Enble the external m41t0 RTC from ST /dts-v1/; /plugin/; @@ -8,22 +8,22 @@ / { compatible = "toradex,apalis-imx8qm"; -}; - -&i2c2 { - #address-cells = <1>; - #size-cells = <0>; - - /* M41T0M6 real time clock on carrier board */ - rtc_i2c: rtc@68 { - compatible = "st,m41t0"; - reg = <0x68>; + fragment@0 { + target = <&i2c2>; + __overlay__ { + /* M41T0M6 real time clock on carrier board */ + rtc_i2c: rtc@68 { + compatible = "st,m41t0"; + reg = <0x68>; + }; + }; }; -}; - -&{/aliases} { - aliases { - rtc0 = &rtc_i2c; + fragment@1 { + target-path = "/aliases"; + __overlay__ { + aliases { + rtc0 = &rtc_i2c; + }; + }; }; }; - -- cgit v1.2.3