ramips: add Xiaomi RA75 red signal led

RA75 has 5 physical LEDs under 2 indicators, mixed with light pipes:
Indicator "System":
  GPIO0: blue
  GPIO2: amber
Indicator "Signal":
  GPIO44: blue
  GPIO37: amber
  GPIO46: red

All except GPIO46 were already added by Jo Deisenhofer. GPIO46 is used for UART1 by
default, so it needs additional pin control change in devicetree to be operational.
Verified on my RA75.

Signed-off-by: Oleksandr Zharov <alex.zeed@gmail.com>
This commit is contained in:
Oleksandr Zharov 2023-04-15 23:23:41 +03:00 committed by Christian Marangi
parent 10eb3fa35a
commit 998c34d3fe
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -32,6 +32,10 @@
label = "amber:signal";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
led_signal_red: signal_red {
label = "red:signal";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
};
keys {
@ -51,6 +55,13 @@
};
&state_default {
gpio {
groups = "gpio", "refclk", "wdt", "wled_an", "uart1";
function = "gpio";
};
};
&partitions {
partition@60000 {
label = "overlay";