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 label = "newifi-y1s:yellow:power";
41 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
44 led_power_blue: power2 {
45 label = "newifi-y1s:blue:power";
46 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
50 label = "newifi-y1s:yellow:wifi";
51 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
55 label = "newifi-y1s:blue:wifi";
56 gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
60 label = "newifi-y1s:yellow:usb";
61 gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
65 label = "newifi-y1s:blue:usb";
66 gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
67 trigger-sources = <&ohci_port1>, <&ehci_port1>;
68 linux,default-trigger = "usbport";
72 label = "newifi-y1s:blue:internet";
73 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
82 mtd-mac-address = <&factory 0x28>;
84 mediatek,portmap = "wllll";
101 phy4: ethernet-phy@4 {
106 phy5: ethernet-phy@5 {
114 mediatek,port4 = "gmac";