5 #include <dt-bindings/input/input.h>
8 compatible = "DIR-600-B1", "ralink,rt3050-soc";
9 model = "D-Link DIR-600 B1";
12 compatible = "cfi-flash";
13 reg = <0x1f000000 0x800000>;
25 devdata: partition@30000 {
27 reg = <0x30000 0x10000>;
31 factory: partition@40000 {
33 reg = <0x40000 0x10000>;
39 reg = <0x50000 0x3b0000>;
44 compatible = "gpio-keys-polled";
51 gpios = <&gpio0 10 1>;
52 linux,code = <KEY_RESTART>;
58 linux,code = <KEY_WPS_BUTTON>;
63 compatible = "gpio-leds";
66 label = "dir-600-b1:amber:status";
71 label = "dir-600-b1:green:status";
76 label = "dir-600-b1:amber:wan";
77 gpios = <&gpio0 14 1>;
81 label = "dir-600-b1:green:wan";
82 gpios = <&gpio0 12 1>;
86 label = "dir-600-b1:blue:wps";
87 gpios = <&gpio0 13 1>;
93 state_default: pinctrl0 {
95 ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
96 ralink,function = "gpio";
102 mtd-mac-address = <&devdata 0x4004>;
106 mediatek,portmap = <0x2f>;
110 ralink,mtd-eeprom = <&devdata 0x4000>;