From: Christian Marangi Date: Thu, 25 Jan 2024 21:20:27 +0000 (+0100) Subject: ipq807x: add support for loading Aquantia FW from NVMEM for NBG7815 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7ed1cca8d6ddc4c74694ca6323ee340895becba0;p=openwrt%2Fstaging%2Fsvanheule.git ipq807x: add support for loading Aquantia FW from NVMEM for NBG7815 Add support for loading Aquantia FW from NVMEM for Zyxel NBG7815 restoring correct functionality of the 10g port. Signed-off-by: Christian Marangi --- diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts index 5fb8f3b4de..1e8e50875f 100644 --- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts +++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts @@ -234,6 +234,15 @@ label = "0:ethphyfw"; reg = <0x650000 0x80000>; read-only; + + nvmem-layout { + compatible = "fixed-layout"; + + aqr_fw: aqr-fw@0 { + /* Skip the QCOM MBN Header of 40 bytes */ + reg = <0x28 0x5f402>; + }; + }; }; partition@6d0000 { @@ -292,6 +301,9 @@ compatible = "ethernet-phy-ieee802.3-c45"; reg = <8>; reset-gpios = <&tlmm 63 GPIO_ACTIVE_LOW>; + + nvmem-cells = <&aqr_fw>; + nvmem-cell-names = "firmware"; }; };