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 compatible = "realtek,rtl8367b";
14 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
15 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
16 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
20 compatible = "gpio-keys-polled";
23 poll-interval = <100>;
27 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
28 linux,code = <KEY_RESTART>;
33 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
34 linux,code = <KEY_WPS_BUTTON>;
39 compatible = "gpio-leds";
42 label = "dir-645:green:inet";
43 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
47 label = "dir-645:green:wps";
48 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
53 compatible = "gpio-export";
57 gpio-export,name = "usb";
58 gpio-export,output = <1>;
59 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
74 compatible = "jedec,spi-nor";
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>;