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-505";
10 compatible = "dlink,dir-505", "qca,ar9330";
14 led-boot = &led_power_green;
15 led-failsafe = &led_status_red;
16 led-running = &led_power_green;
17 led-upgrade = &led_status_red;
21 compatible = "gpio-keys";
25 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_WPS_BUTTON>;
30 label = "Reset button";
31 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
32 linux,code = <KEY_RESTART>;
37 compatible = "gpio-leds";
38 pinctrl-names = "default";
39 pinctrl-0 = <&jtag_disable_pins>;
41 led_power_green: power {
42 label = "green:power";
43 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
46 led_status_red: status {
48 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
61 gpios = <1 GPIO_ACTIVE_LOW>;
62 line-name = "d-link:power:led";
80 switch-phy-addr-swap = <0>;
81 switch-phy-swap = <0>;
86 compatible = "syscon", "simple-mfd";
91 num-chipselects = <1>;
95 compatible = "jedec,spi-nor";
96 spi-max-frequency = <50000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
110 art: partition@10000 {
112 reg = <0x10000 0x10000>;
116 mac: partition@20000 {
118 reg = <0x20000 0x10000>;
124 reg = <0x30000 0x10000>;
130 reg = <0x40000 0x40000>;
135 compatible = "denx,uimage";
137 reg = <0x80000 0x780000>;