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>;
64 gpios = <1 GPIO_ACTIVE_LOW>;
65 line-name = "d-link:power:led";
83 switch-phy-addr-swap = <0>;
84 switch-phy-swap = <0>;
89 compatible = "syscon", "simple-mfd";
94 num-chipselects = <1>;
98 compatible = "jedec,spi-nor";
99 spi-max-frequency = <50000000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
113 art: partition@10000 {
115 reg = <0x10000 0x10000>;
119 mac: partition@20000 {
121 reg = <0x20000 0x10000>;
127 reg = <0x30000 0x10000>;
133 reg = <0x40000 0x40000>;
138 compatible = "denx,uimage";
140 reg = <0x80000 0x780000>;