#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "domywifi,dw33d", "qca,qca9558";
};
usb {
- label = "blue:usb";
+ function = LED_FUNCTION_USB;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_12>;
+ nvmem-cell-names = "calibration", "mac-address";
};
};
macaddr_art_c: macaddr@c {
reg = <0xc 0x6>;
};
+
+ macaddr_art_12: macaddr@12 {
+ reg = <0x12 0x6>;
+ };
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};