summaryrefslogtreecommitdiff
path: root/overlays/verdin-am62_mezzanine_backlight.dtsi
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2023-09-13 16:45:53 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2023-09-13 16:45:53 +0200
commit16db44294d4e523bdbdd1caa49f305a7a1634cb3 (patch)
tree0fd156a1898d3e90b690d94de171449b9e8934dd /overlays/verdin-am62_mezzanine_backlight.dtsi
parent28a84e584ce575689110c12fcd517ab4a957dd36 (diff)
verdin-am62: fix native lvds overlays
Rather than referencing the root node and overriding its compatible, overlays should have their own root node with their compatible which may be checked for compatibility prior to being applied by a boot loader. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'overlays/verdin-am62_mezzanine_backlight.dtsi')
-rw-r--r--overlays/verdin-am62_mezzanine_backlight.dtsi4
1 files changed, 3 insertions, 1 deletions
diff --git a/overlays/verdin-am62_mezzanine_backlight.dtsi b/overlays/verdin-am62_mezzanine_backlight.dtsi
index 6bfbd34..fe779ec 100644
--- a/overlays/verdin-am62_mezzanine_backlight.dtsi
+++ b/overlays/verdin-am62_mezzanine_backlight.dtsi
@@ -8,9 +8,11 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pwm/pwm.h>
-&{/} {
+/ {
compatible = "toradex,verdin-am62";
+};
+&{/} {
backlight_mezzanine: backlight-mezzanine {
compatible = "pwm-backlight";
brightness-levels = <0 45 63 88 119 158 203 255>;