5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,rt-g32-b1", "ralink,rt3050-soc";
10 model = "Asus RT-G32 B1";
13 compatible = "gpio-keys-polled";
20 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_WPS_BUTTON>;
38 compatible = "jedec,spi-nor";
40 spi-max-frequency = <10000000>;
50 reg = <0x30000 0x10000>;
54 devconf: partition@40000 {
56 reg = <0x40000 0x10000>;
62 reg = <0x50000 0x3b0000>;
68 state_default: pinctrl0 {
70 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
71 ralink,function = "gpio";
77 mtd-mac-address = <&devconf 0x4>;
81 mediatek,portmap = <0x2f>;
85 ralink,mtd-eeprom = <&devconf 0>;