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 led-status = &led_run;
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
32 reg = <0x30000 0x10000>;
35 factory: partition@40000 {
37 reg = <0x40000 0x10000>;
42 reg = <0x50000 0x7a0000>;
47 compatible = "gpio-leds";
50 label = "atp-52b:green:run";
51 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
55 label = "atp-52b:amber:net";
56 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-keys-polled";
68 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_WPS_BUTTON>;
74 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_RESTART>;
81 state_default: pinctrl0 {
83 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
84 ralink,function = "gpio";
91 mtd-mac-address = <&factory 0x4>;
95 mediatek,portmap = <0x3e>;
99 ralink,mtd-eeprom = <&factory 0>;