15b3b3b81952cb6a88a314e033b516be2982e767
[openwrt/openwrt.git] / target / linux / ramips / dts / Y1.dts
1 /dts-v1/;
2
3 #include "Y1.dtsi"
4
5 / {
6 compatible = "lenovo,y1", "ralink,mt7620a-soc";
7 model = "Lenovo Y1";
8
9 gpio-leds {
10 compatible = "gpio-leds";
11
12 power1 {
13 label = "y1:blue:power";
14 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
15 };
16
17 wlan1 {
18 label = "y1:blue:wifi";
19 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
20 };
21
22 wlan2 {
23 label = "y1:blue:wifi5g";
24 gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
25 };
26
27 usb {
28 label = "y1:blue:usb";
29 gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
30 };
31
32 lan {
33 label = "y1:blue:lan";
34 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
35 };
36
37 internet {
38 label = "y1:blue:internet";
39 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
40 };
41 };
42 };
43
44 &ethernet {
45 pinctrl-names = "default";
46 pinctrl-0 = <&ephy_pins>;
47 mtd-mac-address = <&factory 0x4>;
48 mediatek,portmap = "llllw";
49 };