diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_phicomm_psg1218.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_phicomm_psg1218.dtsi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620a_phicomm_psg1218.dtsi b/target/linux/ramips/dts/mt7620a_phicomm_psg1218.dtsi index f74506ea61..dbfec00f81 100644 --- a/target/linux/ramips/dts/mt7620a_phicomm_psg1218.dtsi +++ b/target/linux/ramips/dts/mt7620a_phicomm_psg1218.dtsi @@ -6,6 +6,13 @@ / { compatible = "phicomm,psg1218", "ralink,mt7620a-soc"; + aliases { + led-boot = &led_blue; + led-failsafe = &led_blue; + led-running = &led_blue; + led-upgrade = &led_blue; + }; + keys { compatible = "gpio-keys"; @@ -15,6 +22,26 @@ linux,code = <KEY_RESTART>; }; }; + + leds { + compatible = "gpio-leds"; + + led_blue: blue { + label = "blue:status"; + gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; + default-state = "on"; + }; + + yellow { + label = "yellow:status"; + gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; + }; + + red { + label = "red:status"; + gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; + }; + }; }; &gpio0 { |