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 = "wr1200js:blue:internet";
24 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
28 label = "wr1200js:blue:wps";
29 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
33 label = "wr1200js:blue:usb";
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 {
90 reg = <0x40000 0x10000>;
95 compatible = "denx,uimage";
97 reg = <0x50000 0xfb0000>;
109 reg = <0x0000 0 0 0 0>;
110 mediatek,mtd-eeprom = <&factory 0x0000>;
116 reg = <0x0000 0 0 0 0>;
117 mediatek,mtd-eeprom = <&factory 0x8000>;
118 ieee80211-freq-limit = <5000000 6000000>;
128 mtd-mac-address = <&factory 0xe000>;
136 mtd-mac-address = <&factory 0xe006>;
163 groups = "i2c", "uart2", "uart3", "wdt";