Revert "kernel: backport MT7530 IRQ support"
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_lenovo_newifi-y1.dts
1 #include "mt7620a_lenovo_newifi-y1.dtsi"
2
3 / {
4 compatible = "lenovo,newifi-y1", "ralink,mt7620a-soc";
5 model = "Lenovo Y1";
6
7 aliases {
8 led-boot = &led_power;
9 led-failsafe = &led_power;
10 led-running = &led_power;
11 led-upgrade = &led_power;
12 label-mac-device = &ethernet;
13 };
14
15 leds {
16 compatible = "gpio-leds";
17
18 led_power: power {
19 label = "blue:power";
20 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
21 };
22
23 wlan1 {
24 label = "blue:wifi";
25 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
26 };
27
28 wlan2 {
29 label = "blue:wifi5g";
30 gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
31 };
32
33 usb {
34 label = "blue:usb";
35 gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
36 trigger-sources = <&ohci_port1>, <&ehci_port1>;
37 linux,default-trigger = "usbport";
38 };
39
40 lan {
41 label = "blue:lan";
42 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
43 };
44
45 internet {
46 label = "blue:internet";
47 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
48 };
49 };
50 };
51
52 &ethernet {
53 pinctrl-names = "default";
54 pinctrl-0 = <&ephy_pins>;
55
56 nvmem-cells = <&macaddr_factory_28>;
57 nvmem-cell-names = "mac-address";
58
59 mediatek,portmap = "llllw";
60 };
61
62 &factory {
63 compatible = "nvmem-cells";
64 #address-cells = <1>;
65 #size-cells = <1>;
66
67 macaddr_factory_28: macaddr@28 {
68 reg = <0x28 0x6>;
69 };
70 };