uboot-mediatek: fix factory/reset button
[openwrt/openwrt.git] / package / boot / uboot-mediatek / patches / 405-dts-mt7623n-bpi-r2-fix-leds.patch
1 --- a/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
2 +++ b/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
3 @@ -51,19 +51,19 @@
4
5 blue {
6 label = "bpi-r2:pio:blue";
7 - gpios = <&gpio 241 GPIO_ACTIVE_HIGH>;
8 + gpios = <&gpio 240 GPIO_ACTIVE_LOW>;
9 default-state = "off";
10 };
11
12 green {
13 label = "bpi-r2:pio:green";
14 - gpios = <&gpio 240 GPIO_ACTIVE_HIGH>;
15 + gpios = <&gpio 241 GPIO_ACTIVE_LOW>;
16 default-state = "off";
17 };
18
19 red {
20 label = "bpi-r2:pio:red";
21 - gpios = <&gpio 239 GPIO_ACTIVE_HIGH>;
22 + gpios = <&gpio 239 GPIO_ACTIVE_LOW>;
23 default-state = "off";
24 };
25 };