aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Labbe <[email protected]>2017-05-31 09:18:43 +0200
committerMaxime Ripard <[email protected]>2017-06-06 20:06:19 +0200
commit75ee680cbd2e4d0156b94f9fec50076361ab12f2 (patch)
tree59ec6a16e8c22f6603aa956e424281187f0c989d
parenta9992f2dd1890112643a93d621ff5a4c97c55d53 (diff)
arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high
On the Orange Pi PC Plus, the polarity of the LEDs on the RJ45 Ethernet port were changed from active low to active high. Signed-off-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Corentin Labbe <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
-rw-r--r--arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
index 8b93f5c781a7..a10281b455f5 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
@@ -53,6 +53,11 @@
};
};
+&emac {
+ /* LEDs changed to active high on the plus */
+ /delete-property/ allwinner,leds-active-low;
+};
+
&mmc1 {
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins_a>;