// 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 = "glinet,gl-ar750", "qca,qca9531";
model = "GL.iNet GL-AR750";
aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = ð0;
};
leds {
compatible = "gpio-leds";
- power {
- label = "gl-ar750:white:power";
+ led_power: power {
+ label = "white:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "gl-ar750:white:wlan2g";
+ label = "white:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "gl-ar750:white:wlan5g";
+ label = "white:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
-
};
i2c {
sda-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
scl-gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
-
-
};
&pcie0 {
};
};
-&uart {
- status = "okay";
-};
-
&usb0 {
status = "okay";
};
&spi {
status = "okay";
- num-cs = <0>;
flash@0 {
compatible = "jedec,spi-nor";
ð0 {
status = "okay";
- mtd-mac-address = <&art 0x0>;
+
phy-handle = <&swphy4>;
+
+ mtd-mac-address = <&art 0x0>;
};
ð1 {
mtd-mac-address = <&art 0x0>;
- mtd-mac-address-increment = <1>;
+ mac-address-increment = <1>;
};
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
};