summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2017-05-31 09:18:43 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-01 14:53:06 -0400
commit29eb9d2984402db5e303c476c8efa8a2f587196b (patch)
treeb14cb163fcf64b2bc576bf01176aa12d389482dd
parent0d38218c4d84ec1a975195cf45eeda0fae6b0c0a (diff)
downloadlinux-29eb9d2984402db5e303c476c8efa8a2f587196b.tar.gz
linux-29eb9d2984402db5e303c476c8efa8a2f587196b.zip
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 <wens@csie.org> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-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>;