1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 /delete-property/ bootargs;
15 led-boot = &led_power_blue;
16 led-failsafe = &led_power_blue;
17 led-running = &led_power_blue;
18 led-upgrade = &led_power_blue;
19 label-mac-device = ð0;
23 compatible = "gpio-keys";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-leds";
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
41 label = "blue:wifi2g";
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
46 label = "green:status";
47 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
55 led_power_blue: power_blue {
57 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
62 label = "blue:wifi5g";
63 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
68 compatible = "linux,wdt-gpio";
69 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
71 /* hw_margin_ms is actually 300s but driver limits it to 60s */
72 hw_margin_ms = <60000>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <40000000>;
85 /* partitions are passed via bootloader */
87 compatible = "fixed-partitions";
93 reg = <0x000000 0x040000>;
99 reg = <0x040000 0x010000>;
104 reg = <0x050000 0x060000>;
110 reg = <0x0b0000 0x7a0000>;
115 reg = <0x850000 0x7a0000>;
118 art: partition@ff0000 {
120 reg = <0xff0000 0x010000>;
132 phy5: ethernet-phy@5 {
142 pll-data = <0x82000000 0x80000101 0x80001313>;
144 mtd-mac-address = <&art 0x0>;
146 phy-mode = "rgmii-id";
147 phy-handle = <&phy5>;
158 mtd-cal-data = <&art 0x1000>;
159 mtd-mac-address = <&art 0x0>;
160 mac-address-increment = <1>;