3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dir-300-b7", "ralink,rt5350-soc";
8 model = "D-Link DIR-300 B7";
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 = "green:status";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
37 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <10000000>;
58 compatible = "fixed-partitions";
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
81 compatible = "denx,uimage";
83 reg = <0x50000 0x7b0000>;
91 groups = "i2c", "jtag", "uartf";
97 nvmem-cells = <&macaddr_factory_4>;
98 nvmem-cell-names = "mac-address";
102 mediatek,portmap = <0x2f>;
103 mediatek,led_polarity = <0x17>;
108 ralink,led-polarity = <1>;
109 ralink,mtd-eeprom = <&factory 0x0>;
113 compatible = "nvmem-cells";
114 #address-cells = <1>;
117 macaddr_factory_4: macaddr@4 {