5 #include <dt-bindings/input/input.h>
8 compatible = "DIR-320-B1", "ralink,rt5350-soc";
9 model = "D-Link DIR-320 B1";
12 compatible = "gpio-leds";
15 label = "dir-320-b1:green:status";
20 label = "dir-320-b1:green:usb";
21 gpios = <&gpio0 14 1>;
25 label = "dir-320-b1:green:wps";
26 gpios = <&gpio0 13 1>;
31 compatible = "gpio-keys-polled";
38 gpios = <&gpio0 10 1>;
39 linux,code = <KEY_RESTART>;
45 linux,code = <KEY_WPS_BUTTON>;
50 compatible = "gpio-export";
54 gpio-export,name = "usb";
55 gpio-export,output = <1>;
60 gpio-export,name = "root_hub";
61 gpio-export,output = <1>;
62 gpios = <&gpio0 12 0>;
73 compatible = "jedec,spi-nor";
75 linux,modalias = "m25p80", "s25fl064k";
76 spi-max-frequency = <10000000>;
86 reg = <0x30000 0x10000>;
90 factory: partition@40000 {
92 reg = <0x40000 0x10000>;
98 reg = <0x50000 0x7b0000>;
104 state_default: pinctrl0 {
106 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
107 ralink,function = "gpio";
113 mtd-mac-address = <&factory 0x4>;
117 mediatek,portmap = <0x2f>;
118 mediatek,led_polarity = <0x17>;
122 ralink,mtd-eeprom = <&factory 0>;