#include "qca956x.dtsi"
/ {
+ aliases {
+ led-boot = &led_white;
+ led-failsafe = &led_white;
+ led-running = &led_blue;
+ led-upgrade = &led_blue;
+ };
+
chosen {
bootargs = "console=ttyS0,115200n8";
};
leds {
compatible = "gpio-leds";
- wifi_ac {
+ led_white: led_white {
label = "ubnt:white:dome";
- gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
- default-state = "off";
- linux,default-trigger = "phy0tpt";
+ gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
- wifi_n {
+ led_blue: led_blue {
label = "ubnt:blue:dome";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- default-state = "off";
- linux,default-trigger = "phy1tpt";
+ gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
};
-
};
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
reset {
label = "Reset button";
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
partition@70000 {
label = "firmware";
reg = <0x070000 0x790000>;
+ compatible = "denx,uimage";
};
partition@800000 {
read-only;
};
- eeprom: partition@ff0000 {
- label = "EEPROM";
+ art: partition@ff0000 {
+ label = "art";
reg = <0xff0000 0x010000>;
read-only;
};
&wmac {
status = "okay";
- mtd-cal-data = <&eeprom 0x1000>;
- mtd-mac-address = <&eeprom 0x0>;
+
+ mtd-cal-data = <&art 0x1000>;
};