// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "qca953x.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "qca953x.dtsi"
-
/ {
compatible = "comfast,cf-e5", "qca,qca9531";
model = "COMFAST CF-E5/E7";
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
- button0 {
+ reset {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&jtag_disable_pins &led_wan_pin>;
wan {
- label = "cf-e5:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
lan {
- label = "cf-e5:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "cf-e5:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
rssi0 {
- label = "cf-e5:blue:rssi0";
+ label = "blue:rssi0";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
rssi1 {
- label = "cf-e5:blue:rssi1";
+ label = "blue:rssi1";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "cf-e5:blue:rssi2";
+ label = "blue:rssi2";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
};
-&uart {
- status = "okay";
-};
-
&usb0 {
#address-cells = <1>;
#size-cells = <0>;
&spi {
status = "okay";
- num-cs = <1>;
flash@0 {
compatible = "jedec,spi-nor";
ð0 {
status = "okay";
- mtd-mac-address = <&art 0x0>;
+
phy-handle = <&swphy4>;
+
+ mtd-mac-address = <&art 0x0>;
};
ð1 {
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
};