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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "youku,yk-l2", "mediatek,mt7621-soc";
11 model = "Youku YK-L2";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_wps;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
28 function = LED_FUNCTION_POWER;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
35 function = LED_FUNCTION_WPS;
36 color = <LED_COLOR_ID_BLUE>;
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
41 function = LED_FUNCTION_USB;
42 color = <LED_COLOR_ID_BLUE>;
43 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
44 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
45 linux,default-trigger = "usbport";
50 compatible = "gpio-keys";
54 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
60 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_WPS_BUTTON>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <10000000>;
79 compatible = "fixed-partitions";
91 reg = <0x30000 0x10000>;
97 reg = <0x40000 0x10000>;
101 compatible = "fixed-layout";
102 #address-cells = <1>;
105 eeprom_factory_0: eeprom@0 {
109 eeprom_factory_8000: eeprom@8000 {
110 reg = <0x8000 0x200>;
113 macaddr_factory_e000: macaddr@e000 {
117 macaddr_factory_e006: macaddr@e006 {
124 compatible = "openwrt,uimage", "denx,uimage";
126 openwrt,ih-magic = <0x12291000>;
127 reg = <0x50000 0xfb0000>;
139 compatible = "pci14c3,7603";
140 reg = <0x0000 0 0 0 0>;
141 nvmem-cells = <&eeprom_factory_0>;
142 nvmem-cell-names = "eeprom";
143 ieee80211-freq-limit = <2400000 2500000>;
152 compatible = "pci14c3,7662";
153 reg = <0x0000 0 0 0 0>;
154 nvmem-cells = <&eeprom_factory_8000>;
155 nvmem-cell-names = "eeprom";
156 ieee80211-freq-limit = <5000000 6000000>;
165 nvmem-cells = <&macaddr_factory_e000>;
166 nvmem-cell-names = "mac-address";
172 phy-handle = <ðphy4>;
174 nvmem-cells = <&macaddr_factory_e006>;
175 nvmem-cell-names = "mac-address";
179 /delete-property/ interrupts;
208 groups = "jtag", "wdt";