5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "argus,atp-52b", "ralink,rt3052-soc";
10 model = "Argus ATP-52B";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
31 factory: partition@40000 {
33 reg = <0x40000 0x10000>;
38 reg = <0x50000 0x7a0000>;
43 compatible = "gpio-leds";
46 label = "atp-52b:green:run";
47 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
51 label = "atp-52b:amber:net";
52 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-keys-polled";
64 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_WPS_BUTTON>;
70 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_RESTART>;
77 state_default: pinctrl0 {
79 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
80 ralink,function = "gpio";
87 mtd-mac-address = <&factory 0x4>;
91 mediatek,portmap = <0x3e>;
95 ralink,mtd-eeprom = <&factory 0>;