From 1389188e761401a3ccd68bde46c4ac807ae669c3 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Thu, 25 Jan 2024 22:20:27 +0100 Subject: [PATCH] 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 --- .../arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 5fb8f3b4de4f85..1e8e50875f77e8 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"; }; };