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";
13 led-boot = &led_power_green;
14 led-failsafe = &led_status_red;
15 led-running = &led_power_green;
16 led-upgrade = &led_status_red;
20 compatible = "gpio-keys";
24 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_WPS_BUTTON>;
29 label = "Reset button";
30 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
31 linux,code = <KEY_RESTART>;
36 compatible = "gpio-leds";
37 pinctrl-names = "default";
38 pinctrl-0 = <&jtag_disable_pins>;
40 led_power_green: power {
41 label = "green:power";
42 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
45 led_status_red: status {
47 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
56 gpios = <1 GPIO_ACTIVE_LOW>;
57 line-name = "d-link:power:led";
75 switch-phy-addr-swap = <0>;
76 switch-phy-swap = <0>;
81 compatible = "syscon", "simple-mfd";
89 compatible = "jedec,spi-nor";
90 spi-max-frequency = <50000000>;
94 compatible = "fixed-partitions";
104 art: partition@10000 {
106 reg = <0x10000 0x10000>;
110 mac: partition@20000 {
112 reg = <0x20000 0x10000>;
118 reg = <0x30000 0x10000>;
124 reg = <0x40000 0x40000>;
129 compatible = "denx,uimage";
131 reg = <0x80000 0x780000>;