3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "poray,ip2202", "ralink,rt3052-soc";
8 model = "Poray IP2202";
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>;
42 reg = <0x40000 0x10000>;
46 compatible = "fixed-layout";
50 macaddr_factory_28: macaddr@28 {
57 compatible = "denx,uimage";
59 reg = <0x50000 0x7b0000>;
65 compatible = "gpio-leds";
69 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
79 compatible = "gpio-keys-polled";
84 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_RESTART>;
92 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
98 nvmem-cells = <&macaddr_factory_28>;
99 nvmem-cell-names = "mac-address";
103 mediatek,portmap = <0x2f>;