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>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
98 compatible = "denx,uimage";
100 reg = <0x50000 0xfb0000>;
112 compatible = "pci14c3,7603";
113 reg = <0x0000 0 0 0 0>;
114 mediatek,mtd-eeprom = <&factory 0x0000>;
115 ieee80211-freq-limit = <2400000 2500000>;
124 compatible = "pci14c3,7662";
125 reg = <0x0000 0 0 0 0>;
126 mediatek,mtd-eeprom = <&factory 0x8000>;
127 ieee80211-freq-limit = <5000000 6000000>;
136 nvmem-cells = <&macaddr_factory_e000>;
137 nvmem-cell-names = "mac-address";
165 nvmem-cells = <&macaddr_factory_e006>;
166 nvmem-cell-names = "mac-address";
173 groups = "jtag", "wdt";
179 compatible = "nvmem-cells";
180 #address-cells = <1>;
183 macaddr_factory_e000: macaddr@e000 {
187 macaddr_factory_e006: macaddr@e006 {