5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "unbranded,xdxrn502j", "ralink,rt3052-soc";
13 led-status = &led_power;
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
23 compatible = "fixed-partitions";
35 reg = <0x30000 0x10000>;
39 factory: partition@40000 {
41 reg = <0x40000 0x10000>;
47 reg = <0x50000 0x3b0000>;
53 compatible = "gpio-leds";
56 label = "xdxrn502j:green:wifi";
57 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
61 label = "xdxrn502j:green:power";
62 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
67 compatible = "gpio-keys-polled";
72 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_RESTART>;
79 state_default: pinctrl0 {
81 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
82 ralink,function = "gpio";
88 mtd-mac-address = <&factory 0x28>;
92 mediatek,portmap = <0x3e>;
96 ralink,mtd-eeprom = <&factory 0>;