meta-pinecube-bsp/recipes-kernel/linux/linux-yocto/0001-pinecube-dts-fix-ir-leds.patch

19 lines
567 B
Diff

diff -purN a/arch/arm/boot/dts/allwinner/sun8i-s3-pinecube.dts b/arch/arm/boot/dts/allwinner/sun8i-s3-pinecube.dts
--- a/arch/arm/boot/dts/allwinner/sun8i-s3-pinecube.dts
+++ b/arch/arm/boot/dts/allwinner/sun8i-s3-pinecube.dts
@@ -25,12 +25,12 @@ leds {
led1 {
label = "pine64:ir:led1";
- gpios = <&pio 1 10 GPIO_ACTIVE_LOW>; /* PB10 */
+ gpios = <&pio 1 10 GPIO_ACTIVE_HIGH>; /* PB10 */
};
led2 {
label = "pine64:ir:led2";
- gpios = <&pio 1 12 GPIO_ACTIVE_LOW>; /* PB12 */
+ gpios = <&pio 1 12 GPIO_ACTIVE_HIGH>; /* PB12 */
};
};