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 nvmem-cells = <&macaddr_env_f818>;
80 nvmem-cell-names = "mac-address";
84 /* Workaround: keep the Ethernet interfaces order/mapping correct
85 * (GMAC0 -> eth0, GMAC1 -> eth1, same as in old ar71xx target) */
86 compatible = "qca,qca9530-eth", "syscon", "simple-mfd";
88 nvmem-cells = <&macaddr_env_f810>;
89 nvmem-cell-names = "mac-address";
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <50000000>;
106 compatible = "fixed-partitions";
107 #address-cells = <1>;
112 reg = <0x000000 0x030000>;
116 env: partition@30000 {
117 label = "u-boot-env";
118 reg = <0x030000 0x010000>;
122 label = "partition-table";
123 reg = <0x040000 0x010000>;
128 compatible = "denx,uimage";
130 reg = <0x050000 0x7a0000>;
133 art: partition@7f0000 {
135 reg = <0x7f0000 0x010000>;
153 mtd-cal-data = <&art 0x1000>;
157 compatible = "nvmem-cells";
158 #address-cells = <1>;
161 macaddr_env_f810: macaddr@f810 {
165 macaddr_env_f818: macaddr@f818 {