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>;
23 compatible = "fixed-partitions";
35 reg = <0x30000 0x10000>;
38 factory: partition@40000 {
40 reg = <0x40000 0x10000>;
45 reg = <0x50000 0x7a0000>;
51 compatible = "gpio-leds";
54 label = "atp-52b:green:run";
55 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
59 label = "atp-52b:amber:net";
60 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
65 compatible = "gpio-keys-polled";
70 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_WPS_BUTTON>;
76 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_RESTART>;
83 state_default: pinctrl0 {
85 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
86 ralink,function = "gpio";
93 mtd-mac-address = <&factory 0x4>;
97 mediatek,portmap = <0x3e>;
101 ralink,mtd-eeprom = <&factory 0>;