-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
compatible = "ubnt,xw", "qca,ar9342";
model = "Ubiquiti Networks XW board";
- gpio-leds {
+ aliases {
+ led-boot = &system;
+ led-running = &system;
+ led-upgrade = &system;
+ led-failsafe = &system;
+ };
+
+ leds {
compatible = "gpio-leds";
link1 {
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- link4 {
+ system: link4 {
label = "ubnt:green:link4";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
partition@50000 {
+ compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x760000>;
};
mtd-cal-data = <&eeprom 0x1000>;
mtd-mac-address = <&eeprom 0x1002>;
};
+
+ð0 {
+ mtd-mac-address = <&eeprom 0x0>;
+};