mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
59 lines
1.3 KiB
Diff
59 lines
1.3 KiB
Diff
|
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
||
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
|
||
|
@@ -20,6 +20,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 {
|
||
|
@@ -43,8 +47,8 @@
|
||
|
compatible = "gpio-keys";
|
||
|
|
||
|
factory-key {
|
||
|
- label = "factory";
|
||
|
- linux,code = <BTN_0>;
|
||
|
+ label = "reset";
|
||
|
+ linux,code = <KEY_RESTART>;
|
||
|
gpios = <&pio 0 GPIO_ACTIVE_HIGH>;
|
||
|
};
|
||
|
|
||
|
@@ -58,19 +62,25 @@
|
||
|
leds {
|
||
|
compatible = "gpio-leds";
|
||
|
|
||
|
- led-0 {
|
||
|
- label = "bpi-r64:pio:green";
|
||
|
- color = <LED_COLOR_ID_GREEN>;
|
||
|
- gpios = <&pio 89 GPIO_ACTIVE_HIGH>;
|
||
|
+ led_system_blue: blue {
|
||
|
+ label = "bpi-r64:pio:blue";
|
||
|
+ gpios = <&pio 85 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_green: green {
|
||
|
+ label = "bpi-r64:pio:green";
|
||
|
+ gpios = <&pio 89 GPIO_ACTIVE_HIGH>;
|
||
|
default-state = "off";
|
||
|
};
|
||
|
+
|
||
|
+/*
|
||
|
+ * red {
|
||
|
+ * label = "bpi-r64:pio:red";
|
||
|
+ * gpios = <&pio 88 GPIO_ACTIVE_HIGH>;
|
||
|
+ * default-state = "off";
|
||
|
+ * };
|
||
|
+ */
|
||
|
};
|
||
|
|
||
|
memory {
|