arm64: dts: meson: vim3: correct led polarity
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 3 Aug 2020 14:18:50 +0000 (16:18 +0200)
committerKevin Hilman <khilman@baylibre.com>
Mon, 10 Aug 2020 21:38:03 +0000 (14:38 -0700)
The LEDs on the vim3 are active when the gpio is high, not low.

Fixes: c6d29c66e582 ("arm64: dts: meson-g12b-khadas-vim3: add initial device-tree")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200803141850.172704-1-jbrunet@baylibre.com
arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi

index 94f75b4..7378369 100644 (file)
 
                led-white {
                        label = "vim3:white:sys";
-                       gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
                };
 
                led-red {
                        label = "vim3:red";
-                       gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio_expander 5 GPIO_ACTIVE_HIGH>;
                };
        };