define the power led for the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41288
This commit is contained in:
parent
22ffa5ef16
commit
a241853358
1 changed files with 18 additions and 0 deletions
|
@ -90,6 +90,12 @@
|
|||
marvell,pins = "mpp32";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
power_led_pin: power-led-pin {
|
||||
marvell,pins = "mpp40";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
serial@12000 {
|
||||
|
@ -239,4 +245,16 @@
|
|||
gpios = <&gpio1 1 1>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&power_led_pin>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
power {
|
||||
label = "mamba:white:power";
|
||||
gpios = <&gpio1 8 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue