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;
17 compatible = "gpio-export";
21 gpio-export,name = "usb0";
22 gpio-export,output = <1>;
23 gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
26 gpio-export,name = "usb1";
27 gpio-export,output = <1>;
28 gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
31 gpio-export,name = "usb2";
32 gpio-export,output = <1>;
33 gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-leds";
41 label = "newifi-y1s:yellow:power";
42 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
45 led_power_blue: power2 {
46 label = "newifi-y1s:blue:power";
47 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
51 label = "newifi-y1s:yellow:wifi";
52 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
56 label = "newifi-y1s:blue:wifi";
57 gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
61 label = "newifi-y1s:yellow:usb";
62 gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
66 label = "newifi-y1s:blue:usb";
67 gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
68 trigger-sources = <&ohci_port1>, <&ehci_port1>;
69 linux,default-trigger = "usbport";
73 label = "newifi-y1s:blue:internet";
74 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
81 mtd-mac-address = <&factory 0x4>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
84 mediatek,portmap = "wllll";
101 phy4: ethernet-phy@4 {
106 phy5: ethernet-phy@5 {
114 mediatek,port4 = "gmac";