1 #include <dt-bindings/leds/common.h>
3 #include "mt7620a_lenovo_newifi-y1.dtsi"
6 compatible = "lenovo,newifi-y1s", "lenovo,newifi-y1", "ralink,mt7620a-soc";
10 led-boot = &led_power_blue;
11 led-failsafe = &led_power_blue;
12 led-running = &led_power_blue;
13 led-upgrade = &led_power_blue;
14 label-mac-device = ðernet;
18 compatible = "gpio-export";
22 gpio-export,name = "usb0";
23 gpio-export,output = <1>;
24 gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
27 gpio-export,name = "usb1";
28 gpio-export,output = <1>;
29 gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
32 gpio-export,name = "usb2";
33 gpio-export,output = <1>;
34 gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
39 compatible = "gpio-leds";
42 function = LED_FUNCTION_POWER;
43 color = <LED_COLOR_ID_YELLOW>;
44 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
47 led_power_blue: power2 {
48 function = LED_FUNCTION_POWER;
49 color = <LED_COLOR_ID_BLUE>;
50 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
54 label = "yellow:wifi";
55 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
64 function = LED_FUNCTION_USB;
65 color = <LED_COLOR_ID_YELLOW>;
66 gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
70 function = LED_FUNCTION_USB;
71 color = <LED_COLOR_ID_BLUE>;
72 gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
73 trigger-sources = <&ohci_port1>, <&ehci_port1>;
74 linux,default-trigger = "usbport";
78 label = "blue:internet";
79 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
88 nvmem-cells = <&macaddr_factory_28>;
89 nvmem-cell-names = "mac-address";
91 mediatek,portmap = "wllll";
101 phy-handle = <&phy5>;
108 phy4: ethernet-phy@4 {
113 phy5: ethernet-phy@5 {
122 mediatek,ephy-base = /bits/ 8 <8>;