From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 3CE3B3CBC5 for ; Wed, 15 Mar 2023 11:22:20 -0400 (EDT) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-540cb2fb5b9so270126777b3.3 for ; Wed, 15 Mar 2023 08:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678893739; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xsLPDfvLNeOJbfLMHxkjGEC9ArgWVwwRoJhZEc4GirM=; b=OStuPanFFNGJvW6p9+7lBoZ2j2Cm9ZxCwZ461PYX6T/XLJqQlBpSRAi3F+vkcpQsxo ZW27EcKm0Rs6gHfllfzgnqY416qsACKD754H1CUalzo8Lc6OVDynkLXsoZKePA+RNymn kl/jChNABQn90I9VeY1jSmDCrTAG4wrcGqQJvu6+O121wboOBau4WjNQiS6FiFp31W0x F3LtBkvq6vXasoprMdjR3b7A7UgsBx3Vw9c0JGxcXjEiH7laJFbwibPeOIz2Uh8rILw3 3dh4XhU34gEVusTIYeN/xBkyWJchX1NriiAKabLJdpgdktuDazgYSpOsG5Qr41wCUo8C BWtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678893739; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xsLPDfvLNeOJbfLMHxkjGEC9ArgWVwwRoJhZEc4GirM=; b=tBcH6++Pr4ldZGWq6UDzel8sLkq6hd38t6UCD9qeLQy+PUt1N62pD8/Z+FXuQGuyjw f4dn24qsVKSVomksMp8bq/XF9Dde8Acbs7aUZ0pNt1tg/Sy0dL7oGdEAzx3Pyn/bKjOQ V4jX4Uj6maQshNmE1eMOVBG8OrlT6nLncr8u6t3jdfdQgBh35nDoOd3C0siOM+A0d0Yn AbWSAX6vgk4SmeOZmx/RstC4yaLgix7KBb9BUlJaFHzxs5P3HIJJTKYVk8/vbC/rMMIx Ry7VNbQDxVwd5JKOqj46GZC44Hyo2sdDBxGo2HUybYbR2CsKehT7wMgsnFDKLcx9uTPh o8Fw== X-Gm-Message-State: AO0yUKXr+EQ4qVcTqJ3vo32CDCbGy86LmsWjq6PhG8ErVAd6r1YJIkJM S+BswXtW8QyKTjp2E+k7UUEP7Crw3or2I1XCQ/Be4e8R X-Google-Smtp-Source: AK7set/CH2Azms9PAX2ls3bxjudg7vsd9BTx18JXD48HYq+vZAk2BuDQcPskPVKaAAMDU/p+3LSZi8TDlccfagsVpLU= X-Received: by 2002:a81:4513:0:b0:52e:ac97:115f with SMTP id s19-20020a814513000000b0052eac97115fmr150579ywa.5.1678893739254; Wed, 15 Mar 2023 08:22:19 -0700 (PDT) MIME-Version: 1.0 References: <12217190.O9o76ZdvQC@tool> In-Reply-To: From: dan Date: Wed, 15 Mar 2023 09:22:08 -0600 Message-ID: To: Dave Taht Cc: libreqos Content-Type: multipart/alternative; boundary="000000000000f1a60305f6f1e8ff" Subject: Re: [LibreQoS] Fwd: [PATCH] ath79: Add support for Ubiquiti NanoBeam AC Gen2 XC X-BeenThere: libreqos@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Many ISPs need the kinds of quality shaping cake can do List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2023 15:22:20 -0000 --000000000000f1a60305f6f1e8ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, but you can't connect an openwrt flashed unit to a stock airmax AP and if you wanted to convert the AP to openwrt the performance tanks unbelievably for outdoor PtMP. easily a 30%+ loss. However, if you're wanting to get into 'wifi' at range this does work but you can't get very far because most wifi APs timings are too tight. On Wed, Mar 15, 2023 at 9:18=E2=80=AFAM Dave Taht via LibreQoS < libreqos@lists.bufferbloat.net> wrote: > anybody still using these? > > ---------- Forwarded message --------- > From: Daniel Gonz=C3=A1lez Cabanelas > Date: Wed, Mar 15, 2023 at 8:13=E2=80=AFAM > Subject: [PATCH] ath79: Add support for Ubiquiti NanoBeam AC Gen2 XC > To: > > > The Ubiquiti NanoBeam AC Gen2 XC (NBE-5AC-Gen2) is an outdoor 802.11ac CP= E > with a waterproof casing (ultrasonically welded) and bulb shaped. > > It's the same board as Gen1 but with a small antenna routed out of the So= C > and calibration data for this management radio in the "art" partition. > > Hardware: > SoC: Qualcomm Atheros QCA9558 > CPU: MIPS 74Kc V5.0 720 MHz, 1 core > RAM: 128 MB DDR2 > Flash: 16 MB SPI-NOR, MX25L12805D > Ethernet: 1x GbE > WiFi 5 GHz: Qualcomm Atheros QCA988X > WiFi 2.4 GHz: SoC (management radio) > Internal antenna 1: 19 dBi planar (5 GHz) > Internal antenna 2: 2 dBi PCB, connected via UFL (SoC) > Buttons: 1x reset > LEDs: 1x power, 1x Ethernet, 4x RSSI, all blue > PSU: 24 Vdc passive PoE > > Installation from stock airOS firmware: > - Follow instructions for XC-type Ubiquiti devices on OpenWrt wiki at > https://openwrt.org/toh/ubiquiti/common > > Back to stock firmware: > - Follow instructions for Ubiquiti recovery via TFTP at OpenWrt wiki. > > Signed-off-by: Daniel Gonz=C3=A1lez Cabanelas > --- > .../dts/qca9558_ubnt_nanobeam-ac-gen2-xc.dts | 17 +++ > .../ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts | 105 +---------------- > .../dts/qca9558_ubnt_nanobeam-ac-xc.dtsi | 107 ++++++++++++++++++ > .../generic/base-files/etc/board.d/01_leds | 1 + > .../generic/base-files/etc/board.d/02_network | 2 + > .../etc/hotplug.d/firmware/11-ath10k-caldata | 1 + > target/linux/ath79/image/generic-ubnt.mk | 10 ++ > 7 files changed, 141 insertions(+), 102 deletions(-) > create mode 100644 > target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-gen2-xc.dts > create mode 100644 target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dt= si > > diff --git a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-gen2-xc.dts > b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-gen2-xc.dts > new file mode 100644 > index 0000000000..629b5bfe0a > --- /dev/null > +++ b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-gen2-xc.dts > @@ -0,0 +1,17 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT > +/* > + * Device Tree file for Ubiquiti Nanobeam NBE-5AC-Gen2 (XC) > + */ > + > +#include "qca9558_ubnt_nanobeam-ac-xc.dtsi" > + > +/ { > + compatible =3D "ubnt,nanobeam-ac-gen2-xc", "ubnt,xc", "qca,qca955= 8"; > + model =3D "Ubiquiti NanoBeam AC Gen2 (XC)"; > +}; > + > +&wmac { > + status =3D "okay"; > + > + mtd-cal-data =3D <&art 0x1000>; > +}; > diff --git a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts > b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts > index 91675ff615..898c249154 100644 > --- a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts > +++ b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts > @@ -1,110 +1,11 @@ > -// SPDX-License-Identifier: GPL-2.0-only > +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT > /* > * Device Tree file for Ubiquiti Nanobeam NBE-5AC-19 (XC) > - * > - * Copyright (C) 2022 Daniel Gonz=C3=A1lez Cabanelas > - * based on device tree from qca9558_ubnt_powerbeam-5ac-500.dts > */ > - > -#include "qca955x_ubnt_xc.dtsi" > + > +#include "qca9558_ubnt_nanobeam-ac-xc.dtsi" > > / { > compatible =3D "ubnt,nanobeam-ac-xc", "ubnt,xc", "qca,qca9558"; > model =3D "Ubiquiti NanoBeam AC Gen1 (XC)"; > - > - aliases { > - led-boot =3D &led_power; > - led-failsafe =3D &led_power; > - led-running =3D &led_power; > - led-upgrade =3D &led_power; > - }; > - > - keys { > - compatible =3D "gpio-keys"; > - > - reset { > - label =3D "Reset button"; > - linux,code =3D ; > - gpios =3D <&gpio 19 GPIO_ACTIVE_LOW>; > - debounce-interval =3D <60>; > - }; > - }; > - > - led_spi { > - compatible =3D "spi-gpio"; > - #address-cells =3D <1>; > - #size-cells =3D <0>; > - > - sck-gpios =3D <&gpio 0 GPIO_ACTIVE_HIGH>; > - mosi-gpios =3D <&gpio 1 GPIO_ACTIVE_HIGH>; > - cs-gpios =3D <&gpio 3 GPIO_ACTIVE_HIGH>; > - num-chipselects =3D <1>; > - > - led_gpio: led_gpio@0 { > - compatible =3D "fairchild,74hc595"; > - reg =3D <0>; > - gpio-controller; > - #gpio-cells =3D <2>; > - registers-number =3D <1>; > - spi-max-frequency =3D <10000000>; > - enable-gpios =3D <&gpio 18 GPIO_ACTIVE_LOW>; > - }; > - }; > - > - leds { > - compatible =3D "gpio-leds"; > - > - rssi0 { > - label =3D "blue:rssi0"; > - gpios =3D <&led_gpio 0 GPIO_ACTIVE_LOW>; > - }; > - rssi1 { > - label =3D "blue:rssi1"; > - gpios =3D <&led_gpio 1 GPIO_ACTIVE_LOW>; > - }; > - rssi2 { > - label =3D "blue:rssi2"; > - gpios =3D <&led_gpio 2 GPIO_ACTIVE_LOW>; > - }; > - rssi3 { > - label =3D "blue:rssi3"; > - gpios =3D <&led_gpio 3 GPIO_ACTIVE_LOW>; > - }; > - led_power: power { > - label =3D "blue:power"; > - gpios =3D <&led_gpio 4 GPIO_ACTIVE_LOW>; > - default-state =3D "on"; > - }; > - }; > -}; > - > -&mdio0 { > - status =3D "okay"; > - > - phy4: ethernet-phy@4 { > - phy-mode =3D "sgmii"; > - reg =3D <4>; > - at803x-override-sgmii-link-check; > - }; > -}; > - > -ð0 { > - status =3D "okay"; > - > - pll-reg =3D <0 0x48 0>; > - pll-data =3D <0x03000000 0x00000101 0x00001313>; > - nvmem-cells =3D <&macaddr_art_0>; > - nvmem-cell-names =3D "mac-address"; > - phy-mode =3D "sgmii"; > - phy-handle =3D <&phy4>; > -}; > - > -&art { > - compatible =3D "nvmem-cells"; > - #address-cells =3D <1>; > - #size-cells =3D <1>; > - > - macaddr_art_0: macaddr@0 { > - reg =3D <0x0 0x6>; > - }; > }; > diff --git a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dtsi > b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dtsi > new file mode 100644 > index 0000000000..e68ceb7f5c > --- /dev/null > +++ b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dtsi > @@ -0,0 +1,107 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT > +/* > + * Device Tree file for Ubiquiti Nanobeam XC > + * > + * Copyright (C) 2022 Daniel Gonz=C3=A1lez Cabanelas > + * based on device tree from qca9558_ubnt_powerbeam-5ac-500.dts > + */ > + > +#include "qca955x_ubnt_xc.dtsi" > + > +/ { > + aliases { > + led-boot =3D &led_power; > + led-failsafe =3D &led_power; > + led-running =3D &led_power; > + led-upgrade =3D &led_power; > + }; > + > + keys { > + compatible =3D "gpio-keys"; > + > + reset { > + label =3D "Reset button"; > + linux,code =3D ; > + gpios =3D <&gpio 19 GPIO_ACTIVE_LOW>; > + debounce-interval =3D <60>; > + }; > + }; > + > + led_spi { > + compatible =3D "spi-gpio"; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + sck-gpios =3D <&gpio 0 GPIO_ACTIVE_HIGH>; > + mosi-gpios =3D <&gpio 1 GPIO_ACTIVE_HIGH>; > + cs-gpios =3D <&gpio 3 GPIO_ACTIVE_LOW>; > + num-chipselects =3D <1>; > + > + led_gpio: led_gpio@0 { > + compatible =3D "fairchild,74hc595"; > + reg =3D <0>; > + gpio-controller; > + #gpio-cells =3D <2>; > + registers-number =3D <1>; > + spi-max-frequency =3D <10000000>; > + enable-gpios =3D <&gpio 18 GPIO_ACTIVE_LOW>; > + }; > + }; > + > + leds { > + compatible =3D "gpio-leds"; > + > + rssi0 { > + label =3D "blue:rssi0"; > + gpios =3D <&led_gpio 0 GPIO_ACTIVE_LOW>; > + }; > + rssi1 { > + label =3D "blue:rssi1"; > + gpios =3D <&led_gpio 1 GPIO_ACTIVE_LOW>; > + }; > + rssi2 { > + label =3D "blue:rssi2"; > + gpios =3D <&led_gpio 2 GPIO_ACTIVE_LOW>; > + }; > + rssi3 { > + label =3D "blue:rssi3"; > + gpios =3D <&led_gpio 3 GPIO_ACTIVE_LOW>; > + }; > + led_power: power { > + label =3D "blue:power"; > + gpios =3D <&led_gpio 4 GPIO_ACTIVE_LOW>; > + default-state =3D "on"; > + }; > + }; > +}; > + > +&mdio0 { > + status =3D "okay"; > + > + phy4: ethernet-phy@4 { > + phy-mode =3D "sgmii"; > + reg =3D <4>; > + at803x-override-sgmii-link-check; > + }; > +}; > + > +ð0 { > + status =3D "okay"; > + > + pll-reg =3D <0 0x48 0>; > + pll-data =3D <0x03000000 0x00000101 0x00001313>; > + nvmem-cells =3D <&macaddr_art_0>; > + nvmem-cell-names =3D "mac-address"; > + phy-mode =3D "sgmii"; > + phy-handle =3D <&phy4>; > +}; > + > +&art { > + compatible =3D "nvmem-cells"; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + > + macaddr_art_0: macaddr@0 { > + reg =3D <0x0 0x6>; > + }; > +}; > diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds > b/target/linux/ath79/generic/base-files/etc/board.d/01_leds > index 5855d2a928..a91e82f5e6 100644 > --- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds > +++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds > @@ -464,6 +464,7 @@ ubnt,bullet-ac|\ > ubnt,nanobeam-ac|\ > ubnt,nanobeam-ac-gen2|\ > ubnt,nanobeam-ac-xc|\ > +ubnt,nanobeam-ac-gen2-xc|\ > ubnt,nanostation-ac|\ > ubnt,powerbeam-5ac-gen2) > ucidef_set_rssimon "wlan0" "200000" "1" > diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network > b/target/linux/ath79/generic/base-files/etc/board.d/02_network > index b20a3c13f8..f5137385c2 100644 > --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network > +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network > @@ -101,6 +101,7 @@ ath79_setup_interfaces() > ubnt,litebeam-ac-gen2|\ > ubnt,nanobeam-ac|\ > ubnt,nanobeam-ac-xc|\ > + ubnt,nanobeam-ac-gen2-xc|\ > ubnt,nanostation-ac-loco|\ > ubnt,nanostation-loco-m-xw|\ > ubnt,powerbeam-5ac-500|\ > @@ -774,6 +775,7 @@ ath79_setup_macs() > ubnt,litebeam-ac-gen2|\ > ubnt,nanobeam-ac-gen2|\ > ubnt,nanobeam-ac-xc|\ > + ubnt,nanobeam-ac-gen2-xc|\ > ubnt,powerbeam-5ac-500|\ > ubnt,powerbeam-5ac-gen2) > label_mac=3D$(mtd_get_mac_binary art 0x5006) > diff --git > a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-= caldata > > b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-= caldata > index 4db311fde0..a79781237b 100644 > --- > a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-= caldata > +++ > b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-= caldata > @@ -45,6 +45,7 @@ case "$FIRMWARE" in > ubnt,nanobeam-ac|\ > ubnt,nanobeam-ac-gen2|\ > ubnt,nanobeam-ac-xc|\ > + ubnt,nanobeam-ac-gen2-xc|\ > ubnt,nanostation-ac|\ > ubnt,nanostation-ac-loco|\ > ubnt,powerbeam-5ac-500|\ > diff --git a/target/linux/ath79/image/generic-ubnt.mk > b/target/linux/ath79/image/generic-ubnt.mk > index 0f70649d03..a78ccaef82 100644 > --- a/target/linux/ath79/image/generic-ubnt.mk > +++ b/target/linux/ath79/image/generic-ubnt.mk > @@ -87,6 +87,16 @@ define Device/ubnt_nanobeam-ac-xc > endef > TARGET_DEVICES +=3D ubnt_nanobeam-ac-xc > > +define Device/ubnt_nanobeam-ac-gen2-xc > + $(Device/ubnt-xc) > + SOC :=3D qca9558 > + DEVICE_MODEL :=3D NanoBeam AC > + DEVICE_VARIANT :=3D Gen2 (XC) > + SUPPORTED_DEVICES +=3D ubnt,nanobeam-ac-xc > + DEVICE_PACKAGES +=3D kmod-ath10k-ct ath10k-firmware-qca988x-ct rssiled= s > +endef > +TARGET_DEVICES +=3D ubnt_nanobeam-ac-gen2-xc > + > define Device/ubnt_nanobeam-m5-xw > $(Device/ubnt-xw) > DEVICE_MODEL :=3D NanoBeam M5 > -- > 2.39.2 > > > > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > > -- > Come Heckle Mar 6-9 at: https://www.understandinglatency.com/ > Dave T=C3=A4ht CEO, TekLibre, LLC > _______________________________________________ > LibreQoS mailing list > LibreQoS@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/libreqos > --000000000000f1a60305f6f1e8ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, but you can't connect an openwrt flashed unit to = a stock airmax AP and if you wanted to convert the AP to openwrt the perfor= mance tanks unbelievably for outdoor=C2=A0PtMP.=C2=A0 easily a 30%+ loss.= =C2=A0 However, if you're wanting to get into 'wifi' at range t= his does work but you can't get very far because most wifi APs timings = are too tight.

On Wed, Mar 15, 2023 at 9:18=E2=80=AFAM Dave Taht via Libre= QoS <libreqos@lists.bu= fferbloat.net> wrote:
anybody still using these?

---------- Forwarded message ---------
From: Daniel Gonz=C3=A1lez Cabanelas <dgcbueu@gmail.com>
Date: Wed, Mar 15, 2023 at 8:13=E2=80=AFAM
Subject: [PATCH] ath79: Add support for Ubiquiti NanoBeam AC Gen2 XC
To: <openwrt-devel@lists.openwrt.org>


The Ubiquiti NanoBeam AC Gen2 XC (NBE-5AC-Gen2) is an outdoor 802.11ac CPE<= br> with a waterproof casing (ultrasonically welded) and bulb shaped.

It's the same board as Gen1 but with a small antenna routed out of the = SoC
and calibration data for this management radio in the "art" parti= tion.

Hardware:
=C2=A0 =C2=A0SoC:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Qu= alcomm Atheros QCA9558
=C2=A0 =C2=A0CPU:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 MI= PS 74Kc V5.0 720 MHz, 1 core
=C2=A0 =C2=A0RAM:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 12= 8 MB DDR2
=C2=A0 =C2=A0Flash:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 16 MB S= PI-NOR, MX25L12805D
=C2=A0 =C2=A0Ethernet:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01x GbE
=C2=A0 =C2=A0WiFi 5 GHz:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Qualcomm Atheros = QCA988X
=C2=A0 =C2=A0WiFi 2.4 GHz:=C2=A0 =C2=A0 =C2=A0 =C2=A0SoC (management radio)=
=C2=A0 =C2=A0Internal antenna 1: 19 dBi planar (5 GHz)
=C2=A0 =C2=A0Internal antenna 2: 2 dBi PCB, connected via UFL (SoC)
=C2=A0 =C2=A0Buttons:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1x reset
=C2=A0 =C2=A0LEDs:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01x= power, 1x Ethernet, 4x RSSI, all blue
=C2=A0 =C2=A0PSU:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 24= Vdc passive PoE

Installation from stock airOS firmware:
=C2=A0- Follow instructions for XC-type Ubiquiti devices on OpenWrt wiki at=
=C2=A0 =C2=A0https://openwrt.org/toh/ubiquiti/common

Back to stock firmware:
=C2=A0- Follow instructions for Ubiquiti recovery via TFTP at OpenWrt wiki.=

Signed-off-by: Daniel Gonz=C3=A1lez Cabanelas <dgcbueu@gmail.com>
---
=C2=A0.../dts/qca9558_ubnt_nanobeam-ac-gen2-xc.dts=C2=A0 |=C2=A0 17 +++
=C2=A0.../ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts | 105 +----------------=
=C2=A0.../dts/qca9558_ubnt_nanobeam-ac-xc.dtsi=C2=A0 =C2=A0 =C2=A0 | 107 ++= ++++++++++++++++
=C2=A0.../generic/base-files/etc/board.d/01_leds=C2=A0 =C2=A0 |=C2=A0 =C2= =A01 +
=C2=A0.../generic/base-files/etc/board.d/02_network |=C2=A0 =C2=A02 +
=C2=A0.../etc/hotplug.d/firmware/11-ath10k-caldata=C2=A0 |=C2=A0 =C2=A01 +<= br> =C2=A0target/linux/ath79/image/generic-ubnt.mk=C2=A0 =C2=A0 =C2=A0 |=C2=A0= 10 ++
=C2=A07 files changed, 141 insertions(+), 102 deletions(-)
=C2=A0create mode 100644 target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-ge= n2-xc.dts
=C2=A0create mode 100644 target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc= .dtsi

diff --git a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-gen2-xc.dts b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-gen2-xc.dts
new file mode 100644
index 0000000000..629b5bfe0a
--- /dev/null
+++ b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-gen2-xc.dts
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Device Tree file for Ubiquiti Nanobeam NBE-5AC-Gen2 (XC)
+ */
+
+#include "qca9558_ubnt_nanobeam-ac-xc.dtsi"
+
+/ {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0compatible =3D "ubnt,nanobeam-ac-gen2-xc&q= uot;, "ubnt,xc", "qca,qca9558";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0model =3D "Ubiquiti NanoBeam AC Gen2 (XC)&= quot;;
+};
+
+&wmac {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0status =3D "okay";
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0mtd-cal-data =3D <&art 0x1000>;
+};
diff --git a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts
b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts
index 91675ff615..898c249154 100644
--- a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts
+++ b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts
@@ -1,110 +1,11 @@
-// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
=C2=A0/*
=C2=A0 * Device Tree file for Ubiquiti Nanobeam NBE-5AC-19 (XC)
- *
- * Copyright (C) 2022 Daniel Gonz=C3=A1lez Cabanelas <dgcbueu@gmail.com>
- * based on device tree from qca9558_ubnt_powerbeam-5ac-500.dts
=C2=A0 */
-
-#include "qca955x_ubnt_xc.dtsi"
+
+#include "qca9558_ubnt_nanobeam-ac-xc.dtsi"

=C2=A0/ {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 compatible =3D "ubnt,nanobeam-ac-xc",= "ubnt,xc", "qca,qca9558";
=C2=A0 =C2=A0 =C2=A0 =C2=A0 model =3D "Ubiquiti NanoBeam AC Gen1 (XC)&= quot;;
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0aliases {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led-boot =3D &l= ed_power;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led-failsafe =3D &a= mp;led_power;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led-running =3D &am= p;led_power;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led-upgrade =3D &am= p;led_power;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0};
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0keys {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0compatible =3D &quo= t;gpio-keys";
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0reset {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0label =3D "Reset button";
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0linux,code =3D <KEY_RESTART>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0gpios =3D <&gpio 19 GPIO_ACTIVE_LOW>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0debounce-interval =3D <60>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0};
-=C2=A0 =C2=A0 =C2=A0 =C2=A0};
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0led_spi {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0compatible =3D &quo= t;spi-gpio";
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#address-cells =3D = <1>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#size-cells =3D <= ;0>;
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sck-gpios=C2=A0 =3D= <&gpio 0 GPIO_ACTIVE_HIGH>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0mosi-gpios =3D <= &gpio 1 GPIO_ACTIVE_HIGH>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cs-gpios=C2=A0 =C2= =A0=3D <&gpio 3 GPIO_ACTIVE_HIGH>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0num-chipselects =3D= <1>;
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led_gpio: led_gpio@= 0 {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0compatible =3D "fairchild,74hc595";
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0reg =3D <0>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0gpio-controller;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0#gpio-cells =3D <2>;
-=C2=A0 =C2=A0 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=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0gpios =3D <&led_gpio 4 GPIO_ACTIVE_LOW>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0default-state =3D "on";
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0};
-=C2=A0 =C2=A0 =C2=A0 =C2=A0};
-};
-
-&mdio0 {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0status =3D "okay";
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0phy4: ethernet-phy@4 {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0phy-mode =3D "= sgmii";
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0reg =3D <4>;<= br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at803x-override-sgm= ii-link-check;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0};
-};
-
-&eth0 {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0status =3D "okay";
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0pll-reg =3D <0 0x48 0>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0pll-data =3D <0x03000000 0x00000101 0x000013= 13>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0nvmem-cells =3D <&macaddr_art_0>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0nvmem-cell-names =3D "mac-address"; -=C2=A0 =C2=A0 =C2=A0 =C2=A0phy-mode =3D "sgmii";
-=C2=A0 =C2=A0 =C2=A0 =C2=A0phy-handle =3D <&phy4>;
-};
-
-&art {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0compatible =3D "nvmem-cells";
-=C2=A0 =C2=A0 =C2=A0 =C2=A0#address-cells =3D <1>;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0#size-cells =3D <1>;
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0macaddr_art_0: macaddr@0 {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0reg =3D <0x0 0x6= >;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0};
=C2=A0};
diff --git a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dtsi
b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dtsi
new file mode 100644
index 0000000000..e68ceb7f5c
--- /dev/null
+++ b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dtsi
@@ -0,0 +1,107 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Device Tree file for Ubiquiti Nanobeam XC
+ *
+ * Copyright (C) 2022 Daniel Gonz=C3=A1lez Cabanelas <dgcbueu@gmail.com>
+ * based on device tree from qca9558_ubnt_powerbeam-5ac-500.dts
+ */
+
+#include "qca955x_ubnt_xc.dtsi"
+
+/ {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0aliases {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led-boot =3D &l= ed_power;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led-failsafe =3D &a= mp;led_power;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led-running =3D &am= p;led_power;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led-upgrade =3D &am= p;led_power;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0};
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0keys {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0compatible =3D &quo= t;gpio-keys";
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0reset {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0label =3D "Reset button";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0linux,code =3D <KEY_RESTART>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0gpios =3D <&gpio 19 GPIO_ACTIVE_LOW>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0debounce-interval =3D <60>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0};
+=C2=A0 =C2=A0 =C2=A0 =C2=A0};
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0led_spi {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0compatible =3D &quo= t;spi-gpio";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#address-cells =3D = <1>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#size-cells =3D <= ;0>;
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sck-gpios=C2=A0 =3D= <&gpio 0 GPIO_ACTIVE_HIGH>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0mosi-gpios =3D <= &gpio 1 GPIO_ACTIVE_HIGH>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cs-gpios=C2=A0 =C2= =A0=3D <&gpio 3 GPIO_ACTIVE_LOW>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0num-chipselects =3D= <1>;
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0led_gpio: led_gpio@= 0 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0compatible =3D "fairchild,74hc595";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0reg =3D <0>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0gpio-controller;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0#gpio-cells =3D <2>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0registers-number =3D <1>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0spi-max-frequency =3D <10000000>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0enable-gpios =3D <&gpio 18 GPIO_ACTIVE_LOW>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0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2=A0 =C2=A0 =C2=A0 =C2=A0phy4: ethernet-phy@4 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0phy-mode =3D "= sgmii";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0reg =3D <4>;<= br> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at803x-override-sgm= ii-link-check;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0};
+};
+
+&eth0 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0status =3D "okay";
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pll-reg =3D <0 0x48 0>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pll-data =3D <0x03000000 0x00000101 0x000013= 13>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0nvmem-cells =3D <&macaddr_art_0>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0nvmem-cell-names =3D "mac-address"; +=C2=A0 =C2=A0 =C2=A0 =C2=A0phy-mode =3D "sgmii";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0phy-handle =3D <&phy4>;
+};
+
+&art {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0compatible =3D "nvmem-cells";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0#address-cells =3D <1>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0#size-cells =3D <1>;
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0macaddr_art_0: macaddr@0 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0reg =3D <0x0 0x6= >;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0};
+};
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds
b/target/linux/ath79/generic/base-files/etc/board.d/01_leds
index 5855d2a928..a91e82f5e6 100644
--- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds
@@ -464,6 +464,7 @@ ubnt,bullet-ac|\
=C2=A0ubnt,nanobeam-ac|\
=C2=A0ubnt,nanobeam-ac-gen2|\
=C2=A0ubnt,nanobeam-ac-xc|\
+ubnt,nanobeam-ac-gen2-xc|\
=C2=A0ubnt,nanostation-ac|\
=C2=A0ubnt,powerbeam-5ac-gen2)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ucidef_set_rssimon "wlan0" "2000= 00" "1"
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index b20a3c13f8..f5137385c2 100644
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -101,6 +101,7 @@ ath79_setup_interfaces()
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,litebeam-ac-gen2|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanobeam-ac|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanobeam-ac-xc|\
+=C2=A0 =C2=A0 =C2=A0 =C2=A0ubnt,nanobeam-ac-gen2-xc|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanostation-ac-loco|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanostation-loco-m-xw|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,powerbeam-5ac-500|\
@@ -774,6 +775,7 @@ ath79_setup_macs()
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,litebeam-ac-gen2|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanobeam-ac-gen2|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanobeam-ac-xc|\
+=C2=A0 =C2=A0 =C2=A0 =C2=A0ubnt,nanobeam-ac-gen2-xc|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,powerbeam-5ac-500|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,powerbeam-5ac-gen2)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 label_mac=3D$(mtd_g= et_mac_binary art 0x5006)
diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/1= 1-ath10k-caldata
b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-ca= ldata
index 4db311fde0..a79781237b 100644
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10= k-caldata
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10= k-caldata
@@ -45,6 +45,7 @@ case "$FIRMWARE" in
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanobeam-ac|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanobeam-ac-gen2|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanobeam-ac-xc|\
+=C2=A0 =C2=A0 =C2=A0 =C2=A0ubnt,nanobeam-ac-gen2-xc|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanostation-ac|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,nanostation-ac-loco|\
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ubnt,powerbeam-5ac-500|\
diff --git a/target/linux/ath79/image/generic-ubnt.mk
b/target/linux/ath79/image/generic-ubnt.mk
index 0f70649d03..a78ccaef82 100644
--- a/target/linux/ath79/image/generic-ubnt.mk
+++ b/target/linux/ath79/image/generic-ubnt.mk
@@ -87,6 +87,16 @@ define Device/ubnt_nanobeam-ac-xc
=C2=A0endef
=C2=A0TARGET_DEVICES +=3D ubnt_nanobeam-ac-xc

+define Device/ubnt_nanobeam-ac-gen2-xc
+=C2=A0 $(Device/ubnt-xc)
+=C2=A0 SOC :=3D qca9558
+=C2=A0 DEVICE_MODEL :=3D NanoBeam AC
+=C2=A0 DEVICE_VARIANT :=3D Gen2 (XC)
+=C2=A0 SUPPORTED_DEVICES +=3D ubnt,nanobeam-ac-xc
+=C2=A0 DEVICE_PACKAGES +=3D kmod-ath10k-ct ath10k-firmware-qca988x-ct rssi= leds
+endef
+TARGET_DEVICES +=3D ubnt_nanobeam-ac-gen2-xc
+
=C2=A0define Device/ubnt_nanobeam-m5-xw
=C2=A0 =C2=A0$(Device/ubnt-xw)
=C2=A0 =C2=A0DEVICE_MODEL :=3D NanoBeam M5
--
2.39.2





_______________________________________________
openwrt-devel mailing list
openwr= t-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/o= penwrt-devel


--
Come Heckle Mar 6-9 at: https://www.understandinglatency.com/
Dave T=C3=A4ht CEO, TekLibre, LLC
_______________________________________________
LibreQoS mailing list
LibreQo= S@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/libreqos
--000000000000f1a60305f6f1e8ff--