5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "sparklan,wcr-150gn", "ralink,rt3050-soc";
10 model = "Sparklan WCR-150GN";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
26 compatible = "fixed-partitions";
38 reg = <0x30000 0x10000>;
42 factory: partition@40000 {
44 reg = <0x40000 0x10000>;
49 compatible = "denx,uimage";
51 reg = <0x50000 0x3b0000>;
57 compatible = "gpio-leds";
60 label = "wcr-150gn:amber:user";
61 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
62 trigger-sources = <&otg_port1>;
63 linux,default-trigger = "usbport";
67 label = "wcr-150gn:amber:power";
68 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
73 compatible = "gpio-keys-polled";
78 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_WPS_BUTTON>;
84 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_RESTART>;
92 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
93 ralink,function = "gpio";
98 mtd-mac-address = <&factory 0x4>;
102 mediatek,portmap = <0x2f>;
106 ralink,mtd-eeprom = <&factory 0>;