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>
7 #include "qca953x.dtsi"
10 compatible = "compex,wpj531-16m", "qca,qca9531";
11 model = "Compex WPJ531 (16MB flash)";
14 label-mac-device = ð0;
16 led-failsafe = &led_sig4;
17 led-running = &led_sig4;
18 led-upgrade = &led_sig4;
22 compatible = "gpio-beeper";
23 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
27 compatible = "gpio-keys";
31 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&pinmux_led_eth_pins>;
43 label = "wpj531:red:sig1";
44 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
48 label = "wpj531:yellow:sig2";
49 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
53 label = "wpj531:green:sig3";
54 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
58 label = "wpj531:green:sig4";
59 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
69 pinmux_led_eth_pins: pinmux_led_eth_pins {
70 pinctrl-single,bits = <0x8 0x2b000000 0xff000000>, <0xc 0x00002d00 0x0000ff00>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <25000000>;
83 compatible = "fixed-partitions";
89 reg = <0x000000 0x030000>;
95 reg = <0x030000 0xfc0000>;
96 compatible = "denx,uimage";
99 art: partition@ff0000 {
101 reg = <0xff0000 0x010000>;
111 phy-handle = <&swphy4>;
113 mtd-mac-address = <&uboot 0x2e010>;
117 mtd-mac-address = <&uboot 0x2e018>;
123 mtd-cal-data = <&art 0x1000>;
130 compatible = "pci168c,003c";
131 reg = <0x0000 0 0 0 0>;