1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "D-Link DIR-505";
11 compatible = "dlink,dir-505", "qca,ar9330";
15 led-boot = &led_power_green;
16 led-failsafe = &led_status_red;
17 led-running = &led_power_green;
18 led-upgrade = &led_status_red;
22 compatible = "gpio-keys";
26 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_WPS_BUTTON>;
31 label = "Reset button";
32 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
33 linux,code = <KEY_RESTART>;
38 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&jtag_disable_pins>;
42 led_power_green: power {
43 label = "d-link:green:power";
44 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
47 led_status_red: status {
48 label = "d-link:red:status";
49 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
62 gpios = <1 GPIO_ACTIVE_LOW>;
63 line-name = "d-link:power:led";
81 switch-phy-addr-swap = <0>;
82 switch-phy-swap = <0>;
87 compatible = "syscon", "simple-mfd";
92 num-chipselects = <1>;
96 compatible = "jedec,spi-nor";
97 spi-max-frequency = <50000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
111 art: partition@10000 {
113 reg = <0x10000 0x10000>;
117 mac: partition@20000 {
119 reg = <0x20000 0x10000>;
125 reg = <0x30000 0x10000>;
131 reg = <0x40000 0x40000>;
136 compatible = "denx,uimage";
138 reg = <0x80000 0x780000>;