3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dir-615-h1", "ralink,rt3352-soc";
8 model = "D-Link DIR-615 H1";
11 led-boot = &led_status_green;
12 led-failsafe = &led_status_green;
13 led-running = &led_status_green;
14 led-upgrade = &led_status_green;
15 label-mac-device = &wmac;
19 compatible = "gpio-leds";
22 label = "amber:status";
23 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
26 led_status_green: status2 {
27 label = "green:status";
28 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
34 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
44 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-keys-polled";
54 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
60 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_WPS_BUTTON>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
97 compatible = "fixed-layout";
101 eeprom_factory_0: eeprom@0 {
105 macaddr_factory_28: macaddr@28 {
112 compatible = "denx,uimage";
114 reg = <0x50000 0x3b0000>;
122 groups = "i2c", "jtag", "uartf";
128 nvmem-cells = <&macaddr_factory_28>;
129 nvmem-cell-names = "mac-address";
130 pinctrl-names = "default";
131 pinctrl-0 = <&rgmii_pins &mdio_pins>;
135 mediatek,portmap = <0x2f>;
139 nvmem-cells = <&eeprom_factory_0>;
140 nvmem-cell-names = "eeprom";