5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dir-645", "ralink,rt3662-soc", "ralink,rt3883-soc";
10 model = "D-Link DIR-645";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
20 compatible = "realtek,rtl8367b";
21 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
22 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
23 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
27 compatible = "gpio-keys-polled";
28 poll-interval = <100>;
32 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
33 linux,code = <KEY_RESTART>;
38 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
39 linux,code = <KEY_WPS_BUTTON>;
44 compatible = "gpio-leds";
47 label = "dir-645:green:inet";
48 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
52 label = "dir-645:green:wps";
53 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
58 compatible = "gpio-export";
62 gpio-export,name = "usb";
63 gpio-export,output = <1>;
64 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <25000000>;
82 compatible = "fixed-partitions";
94 reg = <0x30000 0x4000>;
98 factory: partition@34000 {
100 reg = <0x34000 0x4000>;
106 reg = <0x38000 0x8000>;
112 reg = <0x40000 0x10000>;
116 compatible = "seama";
118 reg = <0x50000 0x7b0000>;
125 state_default: pinctrl0 {
127 ralink,group = "i2c", "jtag", "uartf";
128 ralink,function = "gpio";
134 mtd-mac-address = <&factory 0x4>;
137 mediatek,fixed-link = <1000 1 1 0>;
143 ralink,mtd-eeprom = <&factory 0>;