1 #include "mt7620a_lenovo_newifi-y1.dtsi"
4 compatible = "lenovo,newifi-y1", "ralink,mt7620a-soc";
9 led-failsafe = &led_power;
10 led-running = &led_power;
11 led-upgrade = &led_power;
12 label-mac-device = ðernet;
16 compatible = "gpio-leds";
19 function = LED_FUNCTION_POWER;
20 color = <LED_COLOR_ID_BLUE>;
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
30 label = "blue:wifi5g";
31 gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
35 function = LED_FUNCTION_USB;
36 color = <LED_COLOR_ID_BLUE>;
37 gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
38 trigger-sources = <&ohci_port1>, <&ehci_port1>;
39 linux,default-trigger = "usbport";
43 function = LED_FUNCTION_LAN;
44 color = <LED_COLOR_ID_BLUE>;
45 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
49 label = "blue:internet";
50 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
56 pinctrl-names = "default";
57 pinctrl-0 = <&ephy_pins>;
59 nvmem-cells = <&macaddr_factory_28>;
60 nvmem-cell-names = "mac-address";
62 mediatek,portmap = "llllw";
63 #include <dt-bindings/leds/common.h>