1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dch-g020-a1", "qca,qca9531";
10 model = "D-Link DCH-G020 A1";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "i2c-gpio";
24 sda-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
25 scl-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
27 gpio_ext: gpio_ext@38 {
28 compatible = "nxp,pca9554";
36 compatible = "pericom,pt7c43390";
42 compatible = "gpio-export";
46 gpio-export,name = "d-link:power:usb";
47 gpio-export,output = <0>;
48 gpios = <&gpio_ext 3 GPIO_ACTIVE_LOW>;
52 label = "power:zwave";
53 gpio-export,name = "d-link:power:zwave";
54 gpio-export,output = <0>;
55 gpios = <&gpio_ext 1 GPIO_ACTIVE_LOW>;
60 compatible = "gpio-keys";
64 linux,code = <KEY_WPS_BUTTON>;
65 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
70 linux,code = <KEY_RESTART>;
71 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
76 compatible = "gpio-leds";
79 label = "green:power";
80 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
85 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
94 compatible = "jedec,spi-nor";
96 spi-max-frequency = <50000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
109 art: partition@10000 {
111 reg = <0x10000 0x10000>;
117 reg = <0x20000 0x10000>;
123 reg = <0x30000 0x10000>;
129 reg = <0x40000 0x10000>;
135 reg = <0x50000 0xe70000>;
136 compatible = "denx,uimage";
141 reg = <0xec0000 0x140000>;
163 mtd-cal-data = <&art 0x1000>;