Skip to content

Commit

Permalink
arm64: dts: meson: vim3: correct led polarity
Browse files Browse the repository at this point in the history
[ Upstream commit 1f9d87d ]

The LEDs on the vim3 are active when the gpio is high, not low.

Fixes: c6d29c6 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
jbrun3t authored and gregkh committed Oct 29, 2020
1 parent c3f2907 commit 5030ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
Expand Up @@ -41,13 +41,13 @@

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>;
};
};

Expand Down

0 comments on commit 5030ff3

Please sign in to comment.