1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "youku,yk-l2", "mediatek,mt7621-soc";
10 model = "Youku YK-L2";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_wps;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
28 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
40 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
41 linux,default-trigger = "usbport";
46 compatible = "gpio-keys";
50 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <10000000>;
79 compatible = "fixed-partitions";
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
102 compatible = "denx,uimage";
104 reg = <0x50000 0xfb0000>;
116 compatible = "pci14c3,7603";
117 reg = <0x0000 0 0 0 0>;
118 mediatek,mtd-eeprom = <&factory 0x0000>;
119 ieee80211-freq-limit = <2400000 2500000>;
128 compatible = "pci14c3,7662";
129 reg = <0x0000 0 0 0 0>;
130 mediatek,mtd-eeprom = <&factory 0x8000>;
131 ieee80211-freq-limit = <5000000 6000000>;
140 mtd-mac-address = <&factory 0xe000>;
168 mtd-mac-address = <&factory 0xe006>;
175 groups = "jtag", "wdt";