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-12-19 20:55:42 +00:00
|
|
|
compatible = "lenovo,newifi-y1", "ralink,mt7620a-soc";
|
2014-08-03 11:13:52 +00:00
|
|
|
model = "Lenovo Y1";
|
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
aliases {
|
2018-08-28 04:54:27 +00:00
|
|
|
led-boot = &led_power;
|
|
|
|
led-failsafe = &led_power;
|
|
|
|
led-running = &led_power;
|
|
|
|
led-upgrade = &led_power;
|
2018-07-16 08:27:22 +00:00
|
|
|
};
|
|
|
|
|
2018-12-30 11:42:53 +00:00
|
|
|
leds {
|
2014-08-03 11:13:52 +00:00
|
|
|
compatible = "gpio-leds";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
led_power: power {
|
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>;
|
2018-08-13 15:14:08 +00:00
|
|
|
trigger-sources = <&ohci_port1>, <&ehci_port1>;
|
|
|
|
linux,default-trigger = "usbport";
|
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";
|
|
|
|
};
|