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 model = "Wallys DR531";
10 compatible = "wallys,dr531", "qca,qca9531";
13 label-mac-device = ð1;
15 led-failsafe = &led_sig4;
16 led-upgrade = &led_sig4;
20 compatible = "gpio-export";
23 gpio-export,name = "buzzer";
24 gpio-export,output = <0>;
25 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
30 compatible = "gpio-keys";
34 linux,code = <KEY_RESTART>;
35 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
36 debounce-interval = <60>;
41 compatible = "gpio-leds";
45 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
65 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
70 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
78 phy-handle = <&swphy4>;
79 mtd-mac-address = <&env 0xf818>;
83 /* Workaround: keep the Ethernet interfaces order/mapping correct
84 * (GMAC0 -> eth0, GMAC1 -> eth1, same as in old ar71xx target) */
85 compatible = "qca,qca9530-eth", "syscon", "simple-mfd";
87 mtd-mac-address = <&env 0xf810>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <50000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
110 reg = <0x000000 0x030000>;
114 env: partition@30000 {
115 label = "u-boot-env";
116 reg = <0x030000 0x010000>;
120 label = "partition-table";
121 reg = <0x040000 0x010000>;
126 compatible = "denx,uimage";
128 reg = <0x050000 0x7a0000>;
131 art: partition@7f0000 {
133 reg = <0x7f0000 0x010000>;
151 mtd-cal-data = <&art 0x1000>;