3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "accton,wr6202", "ralink,rt3052-soc";
9 model = "Accton WR6202";
12 bootargs = "console=ttyS0,115200";
16 compatible = "gpio-leds";
19 function = LED_FUNCTION_WPS;
20 color = <LED_COLOR_ID_BLUE>;
21 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
26 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
48 compatible = "cfi-flash";
49 reg = <0x1f000000 0x800000>;
54 compatible = "fixed-partitions";
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
76 compatible = "fixed-layout";
80 eeprom_factory_0: eeprom@0 {
84 macaddr_factory_28: macaddr@28 {
91 compatible = "denx,uimage";
93 reg = <0x50000 0x7b0000>;
99 compatible = "gpio-export";
103 gpio-export,name = "usb";
104 gpio-export,output = <0>;
105 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
112 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
118 nvmem-cells = <&macaddr_factory_28>;
119 nvmem-cell-names = "mac-address";
123 mediatek,portmap = <0x3e>;
127 nvmem-cells = <&eeprom_factory_0>;
128 nvmem-cell-names = "eeprom";