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";
14 led-failsafe = &led_run;
15 led-running = &led_run;
16 led-upgrade = &led_run;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
26 compatible = "fixed-partitions";
38 reg = <0x30000 0x10000>;
41 factory: partition@40000 {
43 reg = <0x40000 0x10000>;
48 reg = <0x50000 0x7a0000>;
54 compatible = "gpio-leds";
57 label = "atp-52b:green:run";
58 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
62 label = "atp-52b:amber:net";
63 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
68 compatible = "gpio-keys-polled";
73 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_WPS_BUTTON>;
79 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_RESTART>;
86 state_default: pinctrl0 {
88 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
89 ralink,function = "gpio";
96 mtd-mac-address = <&factory 0x4>;
100 mediatek,portmap = <0x3e>;
104 ralink,mtd-eeprom = <&factory 0>;