3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dir-320-b1", "ralink,rt5350-soc";
8 model = "D-Link DIR-320 B1";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 compatible = "gpio-leds";
21 label = "dir-320-b1:green:status";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
26 label = "dir-320-b1:green:usb";
27 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
31 label = "dir-320-b1:green:wps";
32 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys-polled";
42 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
54 compatible = "gpio-export";
58 gpio-export,name = "usb";
59 gpio-export,output = <1>;
60 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
64 gpio-export,name = "root_hub";
65 gpio-export,output = <1>;
66 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
80 compatible = "fixed-partitions";
92 reg = <0x30000 0x10000>;
96 factory: partition@40000 {
98 reg = <0x40000 0x10000>;
103 compatible = "denx,uimage";
105 reg = <0x50000 0x7b0000>;
113 groups = "i2c", "jtag", "uartf";
119 mtd-mac-address = <&factory 0x4>;
123 mediatek,portmap = <0x2f>;
124 mediatek,led_polarity = <0x17>;
128 ralink,mtd-eeprom = <&factory 0x0>;