3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "asus,rt-g32-b1", "ralink,rt3050-soc";
8 model = "Asus RT-G32 B1";
11 compatible = "gpio-keys-polled";
16 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_RESTART>;
22 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
32 compatible = "jedec,spi-nor";
34 spi-max-frequency = <10000000>;
37 compatible = "fixed-partitions";
49 reg = <0x30000 0x10000>;
53 devconf: partition@40000 {
55 reg = <0x40000 0x10000>;
59 compatible = "fixed-layout";
63 eeprom_devconf_0: eeprom@0 {
67 macaddr_devconf_4: macaddr@4 {
74 compatible = "denx,uimage";
76 reg = <0x50000 0x3b0000>;
84 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
90 nvmem-cells = <&macaddr_devconf_4>;
91 nvmem-cell-names = "mac-address";
95 mediatek,portmap = <0x2f>;
99 nvmem-cells = <&eeprom_devconf_0>;
100 nvmem-cell-names = "eeprom";