5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "poray,ip2202", "ralink,rt3052-soc";
10 model = "Poray IP2202";
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>;
42 factory: partition@40000 {
44 reg = <0x40000 0x10000>;
50 reg = <0x50000 0x7b0000>;
56 compatible = "gpio-leds";
59 label = "ip2202:green:run";
60 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
64 label = "ip2202:amber:net";
65 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-keys-polled";
75 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
82 state_default: pinctrl0 {
84 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
85 ralink,function = "gpio";
91 mtd-mac-address = <&factory 0x28>;
95 mediatek,portmap = <0x2f>;