mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
659f4a13dd
With Linux 6.1 many of our downstream patches and out-of-tree files can be removed or at least replaced by backported upstream commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org> [fix CMDLINE_OVERRIDE for arm64] Signed-off-by: Bjørn Mork <bjorn@mork.no>
48 lines
1.1 KiB
Diff
48 lines
1.1 KiB
Diff
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
|
@@ -21,6 +21,10 @@
|
|
aliases {
|
|
serial0 = &uart0;
|
|
ethernet0 = &gmac0;
|
|
+ led-boot = &led_system_green;
|
|
+ led-failsafe = &led_system_blue;
|
|
+ led-running = &led_system_green;
|
|
+ led-upgrade = &led_system_blue;
|
|
};
|
|
|
|
chosen {
|
|
@@ -44,8 +48,8 @@
|
|
compatible = "gpio-keys";
|
|
|
|
factory-key {
|
|
- label = "factory";
|
|
- linux,code = <BTN_0>;
|
|
+ label = "reset";
|
|
+ linux,code = <KEY_RESTART>;
|
|
gpios = <&pio 0 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
@@ -59,17 +63,17 @@
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
- led-0 {
|
|
+ led_system_green: led-0 {
|
|
label = "bpi-r64:pio:green";
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&pio 89 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
|
|
- led-1 {
|
|
- label = "bpi-r64:pio:red";
|
|
- color = <LED_COLOR_ID_RED>;
|
|
- gpios = <&pio 88 GPIO_ACTIVE_HIGH>;
|
|
+ led_system_blue: led-1 {
|
|
+ label = "bpi-r64:pio:blue";
|
|
+ color = <LED_COLOR_ID_BLUE>;
|
|
+ gpios = <&pio 85 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
};
|