3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dir-645", "ralink,rt3662-soc", "ralink,rt3883-soc";
8 model = "D-Link DIR-645";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 compatible = "realtek,rtl8367b";
19 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
20 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
21 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
25 compatible = "gpio-keys-polled";
26 poll-interval = <100>;
30 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
36 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_WPS_BUTTON>;
42 compatible = "gpio-leds";
46 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
56 compatible = "gpio-export";
60 gpio-export,name = "usb";
61 gpio-export,output = <1>;
62 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <25000000>;
80 compatible = "fixed-partitions";
92 reg = <0x30000 0x4000>;
96 factory: partition@34000 {
97 compatible = "nvmem-cells";
99 reg = <0x34000 0x4000>;
100 #address-cells = <1>;
104 eeprom_factory_0: eeprom@0 {
108 macaddr_factory_4: macaddr@4 {
115 reg = <0x38000 0x8000>;
121 reg = <0x40000 0x10000>;
125 compatible = "seama";
127 reg = <0x50000 0x7b0000>;
135 groups = "i2c", "jtag", "uartf";
141 nvmem-cells = <&macaddr_factory_4>;
142 nvmem-cell-names = "mac-address";
145 mediatek,fixed-link = <1000 1 1 0>;
151 nvmem-cells = <&eeprom_factory_0>;
152 nvmem-cell-names = "eeprom";