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 bootargs = "console=ttyS1,115200";
17 compatible = "gpio-leds";
20 label = "wizfi630a::run";
21 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
25 label = "wizfi630a::wps";
26 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
30 label = "wizfi630a::uart1";
31 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
35 label = "wizfi630a::uart2";
36 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys-polled";
48 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
54 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
60 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <10000000>;
96 reg = <0x30000 0x10000>;
100 factory: partition@40000 {
103 reg = <0x40000 0x10000>;
110 reg = <0x50000 0xfb0000>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&uartf_pins>;
122 state_default: pinctrl0 {
124 ralink,group = "i2c", "jtag" ;
125 ralink,function = "gpio";
131 mtd-mac-address = <&factory 0x4>;
135 mediatek,portmap = <0x17>;
139 ralink,mtd-eeprom = <&factory 0>;