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>;
43 linux,default-trigger = "phy0tpt";
47 label = "green:status";
48 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
56 led_power_blue: power_blue {
58 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
63 label = "blue:wifi5g";
64 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
65 linux,default-trigger = "phy1tpt";
70 compatible = "linux,wdt-gpio";
71 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
73 /* hw_margin_ms is actually 300s but driver limits it to 60s */
74 hw_margin_ms = <60000>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <40000000>;
91 /* partitions are passed via bootloader */
93 compatible = "fixed-partitions";
99 reg = <0x000000 0x040000>;
104 label = "u-boot-env";
105 reg = <0x040000 0x010000>;
110 reg = <0x050000 0x060000>;
116 reg = <0x0b0000 0x7a0000>;
121 reg = <0x850000 0x7a0000>;
124 art: partition@ff0000 {
126 reg = <0xff0000 0x010000>;
138 phy5: ethernet-phy@5 {
148 pll-data = <0xae000000 0xa0000101 0xa0001313>;
150 mtd-mac-address = <&art 0x0>;
152 phy-mode = "rgmii-rxid";
153 phy-handle = <&phy5>;
168 mtd-cal-data = <&art 0x1000>;
169 mtd-mac-address = <&art 0x0>;
170 mtd-mac-address-increment = <1>;
177 compatible = "pci168c,0033";
178 reg = <0x0000 0 0 0 0>;
179 mtd-mac-address = <&art 0x0>;
180 mtd-mac-address-increment = <16>;