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>
10 /delete-property/ bootargs;
14 led-boot = &led_power_blue;
15 led-failsafe = &led_power_blue;
16 led-running = &led_power_blue;
17 led-upgrade = &led_power_blue;
18 label-mac-device = ð0;
22 compatible = "gpio-keys";
24 pinctrl-names = "default";
25 pinctrl-0 = <&jtag_disable_pins>;
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-leds";
37 led_power_blue: power_blue {
39 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
50 label = "yellow:wifi";
51 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
71 compatible = "linux,wdt-gpio";
72 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
74 /* hw_margin_ms is actually 300s but driver limits it to 60s */
75 hw_margin_ms = <60000>;
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <25000000>;
92 /* partitions are passed via bootloader */
94 compatible = "fixed-partitions";
100 reg = <0x000000 0x040000>;
105 label = "u-boot-env";
106 reg = <0x040000 0x040000>;
111 reg = <0x080000 0x140000>;
117 reg = <0x1c0000 0x700000>;
122 reg = <0x8c0000 0x700000>;
125 art: partition@fc0000 {
127 reg = <0xfc0000 0x040000>;
137 phy-handle = <&swphy4>;
139 mtd-mac-address = <&art 0x0>;
143 /* Workaround: keep the Ethernet interfaces order/mapping correct
144 * (GMAC0 -> eth0, GMAC1 -> eth1, same as in old ar71xx target)
146 compatible = "qca,qca9530-eth", "syscon", "simple-mfd";
148 mtd-mac-address = <&art 0x6>;
154 mtd-cal-data = <&art 0x1000>;
155 mtd-mac-address = <&art 0x0>;
156 mtd-mac-address-increment = <2>;