5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dir-645", "ralink,rt3883-soc";
10 model = "D-Link DIR-645";
13 led-status = &led_wps;
17 compatible = "realtek,rtl8367b";
18 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
19 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
20 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
24 compatible = "gpio-keys-polled";
27 poll-interval = <100>;
31 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
32 linux,code = <KEY_RESTART>;
37 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
38 linux,code = <KEY_WPS_BUTTON>;
43 compatible = "gpio-leds";
46 label = "dir-645:green:inet";
47 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
51 label = "dir-645:green:wps";
52 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
57 compatible = "gpio-export";
61 gpio-export,name = "usb";
62 gpio-export,output = <1>;
63 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <25000000>;
90 reg = <0x30000 0x4000>;
94 factory: partition@34000 {
96 reg = <0x34000 0x4000>;
102 reg = <0x38000 0x8000>;
108 reg = <0x40000 0x10000>;
113 reg = <0x50000 0x7b0000>;
119 state_default: pinctrl0 {
121 ralink,group = "i2c", "jtag", "uartf";
122 ralink,function = "gpio";
128 mtd-mac-address = <&factory 0x4>;
131 mediatek,fixed-link = <1000 1 1 0>;
137 ralink,mtd-eeprom = <&factory 0>;