1 #include "mt7620a_lenovo_newifi-y1.dtsi"
4 compatible = "lenovo,newifi-y1s", "lenovo,newifi-y1", "ralink,mt7620a-soc";
8 led-boot = &led_power_blue;
9 led-failsafe = &led_power_blue;
10 led-running = &led_power_blue;
11 led-upgrade = &led_power_blue;
12 label-mac-device = ðernet;
16 compatible = "gpio-export";
20 gpio-export,name = "usb0";
21 gpio-export,output = <1>;
22 gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
25 gpio-export,name = "usb1";
26 gpio-export,output = <1>;
27 gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
30 gpio-export,name = "usb2";
31 gpio-export,output = <1>;
32 gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
37 compatible = "gpio-leds";
40 function = LED_FUNCTION_POWER;
41 color = <LED_COLOR_ID_YELLOW>;
42 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
45 led_power_blue: power2 {
46 function = LED_FUNCTION_POWER;
47 color = <LED_COLOR_ID_BLUE>;
48 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
52 label = "yellow:wifi";
53 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
62 function = LED_FUNCTION_USB;
63 color = <LED_COLOR_ID_YELLOW>;
64 gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
68 function = LED_FUNCTION_USB;
69 color = <LED_COLOR_ID_BLUE>;
70 gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
71 trigger-sources = <&ohci_port1>, <&ehci_port1>;
72 linux,default-trigger = "usbport";
76 label = "blue:internet";
77 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
86 nvmem-cells = <&macaddr_factory_28>;
87 nvmem-cell-names = "mac-address";
89 mediatek,portmap = "wllll";
106 phy4: ethernet-phy@4 {
111 phy5: ethernet-phy@5 {
120 mediatek,ephy-base = /bits/ 8 <8>;
121 #include <dt-bindings/leds/common.h>