From: LABBE Corentin Date: Wed, 31 May 2017 07:18:43 +0000 (+0200) Subject: arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29eb9d2984402db5e303c476c8efa8a2f587196b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Corentin Labbe Signed-off-by: David S. Miller --- 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>;