diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_cameo_810.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_cameo_810.dtsi | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620a_cameo_810.dtsi b/target/linux/ramips/dts/mt7620a_cameo_810.dtsi index adbb4cf65c..3ec31238b4 100644 --- a/target/linux/ramips/dts/mt7620a_cameo_810.dtsi +++ b/target/linux/ramips/dts/mt7620a_cameo_810.dtsi @@ -6,6 +6,14 @@ #include <dt-bindings/input/input.h> / { + aliases { + label-mac-device = ðernet; + led-boot = &led_power_green; + led-failsafe = &led_power_green; + led-running = &led_power_green; + led-upgrade = &led_power_green; + }; + keys { compatible = "gpio-keys"; @@ -21,6 +29,30 @@ linux,code = <KEY_WPS_BUTTON>; }; }; + + leds { + compatible = "gpio-leds"; + + led_power_green: power_green { + label = "green:power"; + gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; + }; + + wan_orange { + label = "orange:wan"; + gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; + }; + + wan_green { + label = "green:wan"; + gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; + }; + + power_orange { + label = "orange:power"; + gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; + }; + }; }; &spi0 { @@ -87,6 +119,13 @@ }; }; +&state_default { + gpio { + groups = "i2c", "uartf", "ephy"; + function = "gpio"; + }; +}; + ðernet { mtd-mac-address = <&factory 0x28>; |