3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "accton,wr6202", "ralink,rt3052-soc";
8 model = "Accton WR6202";
11 bootargs = "console=ttyS0,115200";
15 compatible = "gpio-leds";
19 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
46 compatible = "cfi-flash";
47 reg = <0x1f000000 0x800000>;
52 compatible = "fixed-partitions";
64 reg = <0x30000 0x10000>;
68 factory: partition@40000 {
70 reg = <0x40000 0x10000>;
74 compatible = "fixed-layout";
78 eeprom_factory_0: eeprom@0 {
82 macaddr_factory_28: macaddr@28 {
89 compatible = "denx,uimage";
91 reg = <0x50000 0x7b0000>;
97 compatible = "gpio-export";
101 gpio-export,name = "usb";
102 gpio-export,output = <0>;
103 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
110 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
116 nvmem-cells = <&macaddr_factory_28>;
117 nvmem-cell-names = "mac-address";
121 mediatek,portmap = <0x3e>;
125 nvmem-cells = <&eeprom_factory_0>;
126 nvmem-cell-names = "eeprom";