3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "youhua,wr1200js", "mediatek,mt7621-soc";
8 model = "YouHua WR1200JS";
12 led-failsafe = &led_wps;
16 bootargs = "console=ttyS0,115200";
20 compatible = "gpio-leds";
23 label = "blue:internet";
24 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
35 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
36 linux,default-trigger = "usbport";
41 compatible = "gpio-keys";
45 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
51 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_WPS_BUTTON>;
57 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RFKILL>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
89 compatible = "nvmem-cells";
91 reg = <0x40000 0x10000>;
96 eeprom_factory_0: eeprom@0 {
100 macaddr_factory_e000: macaddr@e000 {
104 macaddr_factory_e006: macaddr@e006 {
110 compatible = "denx,uimage";
112 reg = <0x50000 0xfb0000>;
124 reg = <0x0000 0 0 0 0>;
125 nvmem-cells = <&eeprom_factory_0>;
126 nvmem-cell-names = "eeprom";
132 reg = <0x0000 0 0 0 0>;
133 mediatek,mtd-eeprom = <&factory 0x8000>;
134 ieee80211-freq-limit = <5000000 6000000>;
144 nvmem-cells = <&macaddr_factory_e000>;
145 nvmem-cell-names = "mac-address";
151 phy-handle = <ðphy0>;
153 nvmem-cells = <&macaddr_factory_e006>;
154 nvmem-cell-names = "mac-address";
158 ethphy0: ethernet-phy@0 {
189 groups = "i2c", "uart2", "uart3", "wdt";