5 #include <dt-bindings/input/input.h>
8 compatible = "DIR-645", "ralink,rt3883-soc";
9 model = "D-Link DIR-645";
12 compatible = "realtek,rtl8367b";
13 gpio-sda = <&gpio0 1 0>;
14 gpio-sck = <&gpio0 2 0>;
15 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
19 compatible = "gpio-keys-polled";
22 poll-interval = <100>;
27 linux,code = <KEY_RESTART>;
32 gpios = <&gpio0 14 0>;
33 linux,code = <KEY_WPS_BUTTON>;
38 compatible = "gpio-leds";
41 label = "dir-645:green:inet";
46 label = "dir-645:green:wps";
52 compatible = "gpio-export";
56 gpio-export,name = "usb";
57 gpio-export,output = <1>;
73 compatible = "jedec,spi-nor";
75 linux,modalias = "m25p80";
76 spi-max-frequency = <25000000>;
86 reg = <0x30000 0x4000>;
90 factory: partition@34000 {
92 reg = <0x34000 0x4000>;
98 reg = <0x38000 0x8000>;
104 reg = <0x40000 0x10000>;
109 reg = <0x50000 0x7b0000>;
115 state_default: pinctrl0 {
117 ralink,group = "i2c", "jtag", "uartf";
118 ralink,function = "gpio";
124 mtd-mac-address = <&factory 0x4>;
127 mediatek,fixed-link = <1000 1 1 0>;
133 ralink,mtd-eeprom = <&factory 0>;