5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "wiznet,wizfi630a", "ralink,rt5350-soc";
10 model = "WIZnet WizFi630A";
13 led-status = &led_run;
17 bootargs = "console=ttyS1,115200";
21 compatible = "gpio-leds";
24 label = "wizfi630a::run";
25 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
29 label = "wizfi630a::wps";
30 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
34 label = "wizfi630a::uart1";
35 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
39 label = "wizfi630a::uart2";
40 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys-polled";
50 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
68 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <10000000>;
98 reg = <0x30000 0x10000>;
102 factory: partition@40000 {
105 reg = <0x40000 0x10000>;
112 reg = <0x50000 0xfb0000>;
119 pinctrl-names = "default";
120 pinctrl-0 = <&uartf_pins>;
124 state_default: pinctrl0 {
126 ralink,group = "i2c", "jtag" ;
127 ralink,function = "gpio";
133 mtd-mac-address = <&factory 0x4>;
137 mediatek,portmap = <0x17>;
141 ralink,mtd-eeprom = <&factory 0>;