3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "argus,atp-52b", "ralink,rt3052-soc";
8 model = "Argus ATP-52B";
12 led-failsafe = &led_run;
13 led-running = &led_run;
14 led-upgrade = &led_run;
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x800000>;
24 compatible = "fixed-partitions";
36 reg = <0x30000 0x10000>;
39 factory: partition@40000 {
40 compatible = "nvmem-cells";
42 reg = <0x40000 0x10000>;
46 eeprom_factory_0: eeprom@0 {
50 macaddr_factory_4: macaddr@4 {
56 compatible = "denx,uimage";
58 reg = <0x50000 0x7a0000>;
64 compatible = "gpio-leds";
68 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
73 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
78 compatible = "gpio-keys-polled";
83 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_WPS_BUTTON>;
89 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_RESTART>;
97 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
103 nvmem-cells = <&macaddr_factory_4>;
104 nvmem-cell-names = "mac-address";
108 mediatek,portmap = <0x3e>;
112 nvmem-cells = <&eeprom_factory_0>;
113 nvmem-cell-names = "eeprom";