rockchip: add Bananapi-R2 Pro board support
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_domywifi_dw33d.dts
index 73f4ed0d1e1dd0c36ad6822c538cebb590bc67c5..765cfafe15ea832a3a3f18763ee842a30ff20be7 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "domywifi,dw33d", "qca,qca9558";
@@ -32,7 +33,8 @@
                };
 
                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";
@@ -68,6 +70,8 @@
        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>;
+                                       };
                                };
                        };
                };