// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "qca9557.dtsi"
+#include "qca955x.dtsi"
/ {
aliases {
- led-boot = &power;
- led-failsafe = &power;
- led-running = &power;
- led-upgrade = &power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
chosen {
bootargs = "console=ttyS0,115200n8";
};
- leds {
+ leds: leds {
compatible = "gpio-leds";
- power: power {
+ led_power: power {
label = "iodata:green:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- copy {
- label = "iodata:green:copy";
- gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
- };
-
eco {
label = "iodata:green:eco";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
- keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ keys: keys {
+ compatible = "gpio-keys";
- button_eco {
+ eco {
label = "eco";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>;
debounce-interval = <60>;
};
- button_copy {
- label = "copy";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,code = <BTN_1>;
- debounce-interval = <60>;
- };
-
wps {
label = "wps";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
wifi@0,0 {
compatible = "pci168c,003c";
reg = <0x0000 0 0 0 0>;
- qca,no-eeprom;
};
};
&wmac {
status = "okay";
+
qca,no-eeprom;
};