summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-08-24 16:36:36 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-08-24 16:36:36 +0200
commitb511a16cf0393fb7436f38fe45e0bf222d8b2106 (patch)
tree7d171393030794212fea886923fc289ef16763f3
parent380d3e136519620cb24bb93c4235b3a924713a71 (diff)
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 <philippe.schenker@toradex.com>
-rw-r--r--overlays/apalis-imx8qm_st-m41t0_overlay.dts34
1 files changed, 17 insertions, 17 deletions
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;
+ };
+ };
};
};
-