diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-01 18:10:20 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-03 11:38:13 +0300 |
commit | d7a28b031e388d4fbbdef79d7315fd8c0b6433e4 (patch) | |
tree | 6fbb95b910ce9b4f1523e5a0cf9f2a180feb1587 /overlays/display-edt5.7_overlay.dts | |
parent | 8597b03ca9c73bef0499efff7a4b3a2d957cc7a6 (diff) |
display: convert EDT5.7 to syntactic sugar
Convert an overlay file for EDT5.7 display into the Syntactic Sugar
format. This format is strongly recommended in Embedded Linux Wiki [1].
[1] https://elinux.org/Device_Tree_Reference#Overlay_Source_Format
Related-to: ELB-2834
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'overlays/display-edt5.7_overlay.dts')
-rw-r--r-- | overlays/display-edt5.7_overlay.dts | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/overlays/display-edt5.7_overlay.dts b/overlays/display-edt5.7_overlay.dts index 07aef51..7b989f7 100644 --- a/overlays/display-edt5.7_overlay.dts +++ b/overlays/display-edt5.7_overlay.dts @@ -5,23 +5,22 @@ / { compatible = "toradex,colibri-imx7d-emmc","toradex,apalis_imx6q", "toradex,colibri_imx6dl"; - fragment@0 { - target-path = "/panel-dpi"; - __overlay__ { - status = "okay"; - width-mm = <116>; - height-mm = <86>; - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - vactive = <480>; - hsync-len = <30>; - hfront-porch = <16>; - hback-porch = <114>; - vsync-len = <3>; - vfront-porch = <10>; - vback-porch = <32>; - }; - }; - }; }; + +&{/panel-dpi} { + status = "okay"; + width-mm = <116>; + height-mm = <86>; + panel-timing { + clock-frequency = <25175000>; + hactive = <640>; + vactive = <480>; + hsync-len = <30>; + hfront-porch = <16>; + hback-porch = <114>; + vsync-len = <3>; + vfront-porch = <10>; + vback-porch = <32>; + }; +}; + |