1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "D-Link DIR-615 E4";
10 compatible = "dlink,dir-615-e4", "qca,ar7240";
13 led-boot = &led_power_amber;
14 led-failsafe = &led_power_amber;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_amber;
20 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
31 linux,code = <KEY_WPS_BUTTON>;
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
38 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&switch_led_pins>;
42 led_power_green: power_green {
43 label = "green:power";
44 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
47 led_power_amber: power_amber {
48 label = "amber:power";
49 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
54 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
64 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
79 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
84 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
89 compatible = "gpio-leds";
93 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
94 linux,default-trigger = "phy0tpt";
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <33000000>;
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
119 reg = <0x30000 0x10000>;
125 compatible = "denx,uimage";
126 reg = <0x40000 0x3b0000>;
131 reg = <0x3f0000 0x10000>;
147 compatible = "pci168c,002b";
148 reg = <0x0000 0 0 0 0>;
156 switch_led_pins: pinmux_switch_led_pins {
157 pinctrl-single,bits = <0x0 0x0 0xf8>;