mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-01 04:12:58 +00:00
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:
parent
10eb3fa35a
commit
998c34d3fe
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user