mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
42eeb22450
U-Boot commit ea6fdc13595 ("dm: button: add support for linux_code in
button-gpio.c driver") makes it mandatory to specify linux,code for all
buttons. As that broke handling of the reset button in U-Boot with the
update to U-Boot 2023.04, add linux,code for all butons.
Reported-by: @DragonBluep
Fixes: 50f7c5af4a
("uboot-mediatek: update to v2023.04")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
26 lines
596 B
Diff
26 lines
596 B
Diff
--- a/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
|
|
+++ b/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
|
|
@@ -51,19 +51,19 @@
|
|
|
|
blue {
|
|
label = "bpi-r2:pio:blue";
|
|
- gpios = <&gpio 241 GPIO_ACTIVE_HIGH>;
|
|
+ gpios = <&gpio 240 GPIO_ACTIVE_LOW>;
|
|
default-state = "off";
|
|
};
|
|
|
|
green {
|
|
label = "bpi-r2:pio:green";
|
|
- gpios = <&gpio 240 GPIO_ACTIVE_HIGH>;
|
|
+ gpios = <&gpio 241 GPIO_ACTIVE_LOW>;
|
|
default-state = "off";
|
|
};
|
|
|
|
red {
|
|
label = "bpi-r2:pio:red";
|
|
- gpios = <&gpio 239 GPIO_ACTIVE_HIGH>;
|
|
+ gpios = <&gpio 239 GPIO_ACTIVE_LOW>;
|
|
default-state = "off";
|
|
};
|
|
};
|