2014-08-03 11:13:52 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-05-09 06:32:52 +00:00
|
|
|
#include "Y1.dtsi"
|
2014-08-03 11:13:52 +00:00
|
|
|
|
|
|
|
/ {
|
2017-07-29 02:14:07 +00:00
|
|
|
compatible = "lenovo,y1", "ralink,mt7620a-soc";
|
2014-08-03 11:13:52 +00:00
|
|
|
model = "Lenovo Y1";
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-08-03 11:13:52 +00:00
|
|
|
power1 {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "y1:blue:power";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
2014-08-03 11:13:52 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-08-03 11:13:52 +00:00
|
|
|
wlan1 {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "y1:blue:wifi";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
|
2014-08-03 11:13:52 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-08-03 11:13:52 +00:00
|
|
|
wlan2 {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "y1:blue:wifi5g";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
|
2014-08-03 11:13:52 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-08-03 11:13:52 +00:00
|
|
|
usb {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "y1:blue:usb";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
|
2014-08-03 11:13:52 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-08-03 11:13:52 +00:00
|
|
|
lan {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "y1:blue:lan";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
|
2014-08-03 11:13:52 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-08-03 11:13:52 +00:00
|
|
|
internet {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "y1:blue:internet";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
|
2014-08-03 11:13:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
|
|
|
|
ðernet {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&ephy_pins>;
|
|
|
|
mtd-mac-address = <&factory 0x4>;
|
|
|
|
mediatek,portmap = "llllw";
|
|
|
|
};
|