gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
- };
-
wlan5g {
label = "blue:wlan5g";
gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
reg = <0x0 0x6>;
};
+ cal_art_1000: calibration@1000 {
+ reg = <0x1000 0x440>;
+ };
+
macaddr_art_1002: macaddr@1002 {
reg = <0x1002 0x6>;
};
&wmac {
status = "okay";
- qca,no-eeprom;
+ nvmem-cells = <&cal_art_1000>;
+ nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <16>;
+ led-active-low;
+ };
};
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
#address-cells = <1>;
#size-cells = <1>;
+ cal_art_1000: calibration@1000 {
+ reg = <0x1000 0x440>;
+ };
+
macaddr_art_1002: macaddr@1002 {
reg = <0x1002 0x6>;
};
&wmac {
status = "okay";
- qca,no-eeprom;
+ nvmem-cells = <&cal_art_1000>;
+ nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
#address-cells = <1>;
#size-cells = <1>;
+ cal_art_1000: calibration@1000 {
+ reg = <0x1000 0x440>;
+ };
+
macaddr_art_1002: macaddr@1002 {
reg = <0x1002 0x6>;
};
&wmac {
status = "okay";
- qca,no-eeprom;
+ nvmem-cells = <&cal_art_1000>;
+ nvmem-cell-names = "calibration";
};
;;
asus,pl-ac56)
ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x3e"
- ucidef_set_led_netdev "wlan2g" "WLAN2G" "green:wlan2g" "wlan1" "link"
ucidef_set_led_netdev "wlan5g" "WLAN5G" "green:wlan5g" "wlan0" "link"
;;
asus,rp-ac51)
ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
- ucidef_set_led_netdev "wlan2g" "WLAN2G" "blue:wlan2G" "wlan1" "link"
ucidef_set_led_netdev "wlan5g" "WLAN5G" "blue:wlan5G" "wlan0" "link"
;;
asus,rp-ac66)
case "$FIRMWARE" in
"ath9k-eeprom-ahb-18100000.wmac.bin")
case $board in
- asus,pl-ac56|\
- asus,rp-ac51|\
- asus,rp-ac66)
- caldata_extract "art" 0x1000 0x440
- ;;
avm,fritz1750e|\
avm,fritz4020|\
avm,fritz450e|\