5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "youhua,wr1200js", "mediatek,mt7621-soc";
10 model = "YouHua WR1200JS";
13 led-status = &led_wps;
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,115200";
26 compatible = "gpio-leds";
29 label = "wr1200js:blue:internet";
30 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
34 label = "wr1200js:blue:wps";
35 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
39 label = "wr1200js:blue:usb";
40 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys-polled";
50 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_RFKILL>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <10000000>;
77 m25p,chunked-io = <32>;
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0xfb0000>;
110 reg = <0x0000 0 0 0 0>;
111 mediatek,mtd-eeprom = <&factory 0x0000>;
117 reg = <0x0000 0 0 0 0>;
118 mediatek,mtd-eeprom = <&factory 0x8000>;
119 ieee80211-freq-limit = <5000000 6000000>;
129 mtd-mac-address = <&factory 0xe000>;
133 state_default: pinctrl0 {
135 ralink,group = "i2c", "uart2", "uart3", "wdt";
136 ralink,function = "gpio";