Revert faulty tree push
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_lenovo_newifi-y1.dts
1 /dts-v1/;
2
3 #include "mt7620a_lenovo_newifi-y1.dtsi"
4
5 / {
6         compatible = "lenovo,newifi-y1", "ralink,mt7620a-soc";
7         model = "Lenovo Y1";
8
9         aliases {
10                 led-boot = &led_power;
11                 led-failsafe = &led_power;
12                 led-running = &led_power;
13                 led-upgrade = &led_power;
14         };
15
16         leds {
17                 compatible = "gpio-leds";
18
19                 led_power: power {
20                         label = "newifi-y1:blue:power";
21                         gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
22                 };
23
24                 wlan1 {
25                         label = "newifi-y1:blue:wifi";
26                         gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
27                 };
28
29                 wlan2 {
30                         label = "newifi-y1:blue:wifi5g";
31                         gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
32                 };
33
34                 usb {
35                         label = "newifi-y1:blue:usb";
36                         gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
37                         trigger-sources = <&ohci_port1>, <&ehci_port1>;
38                         linux,default-trigger = "usbport";
39                 };
40
41                 lan {
42                         label = "newifi-y1:blue:lan";
43                         gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
44                 };
45
46                 internet {
47                         label = "newifi-y1:blue:internet";
48                         gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
49                 };
50         };
51 };
52
53 &ethernet {
54         pinctrl-names = "default";
55         pinctrl-0 = <&ephy_pins>;
56         mtd-mac-address = <&factory 0x4>;
57         mediatek,portmap = "llllw";
58 };