2014-08-03 11:13:52 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2019-07-03 21:22:25 +00:00
|
|
|
#include "mt7620a_lenovo_newifi-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 {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "newifi-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 {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "newifi-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 {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "newifi-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 {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "newifi-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 {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "newifi-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 {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "newifi-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>;
|
2019-08-16 13:39:43 +00:00
|
|
|
mtd-mac-address = <&factory 0x28>;
|
2016-05-10 10:41:46 +00:00
|
|
|
mediatek,portmap = "llllw";
|
|
|
|
};
|