[openwrt/openwrt] qualcommbe: ipq95xx: Add patch adding partition table common to RDP
LEDE Commits
lede-commits at lists.infradead.org
Sat Jan 25 12:24:32 PST 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/38843668e6d1a9bd45e8d2a20904553059ae39f3
commit 38843668e6d1a9bd45e8d2a20904553059ae39f3
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Mon Dec 9 18:24:50 2024 +0100
qualcommbe: ipq95xx: Add patch adding partition table common to RDP
Add patches adding partition table common to RDP board and node for AQR
NVMEM.
Link: https://github.com/openwrt/openwrt/pull/17725
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
...com-add-partition-table-for-ipq9574-rdp-c.patch | 177 +++++++++++++++++++++
...d-AQR-NVMEM-node-for-IPQ9574-RDP433-board.patch | 38 +++++
2 files changed, 215 insertions(+)
diff --git a/target/linux/qualcommbe/patches-6.6/303-arm64-dts-qcom-add-partition-table-for-ipq9574-rdp-c.patch b/target/linux/qualcommbe/patches-6.6/303-arm64-dts-qcom-add-partition-table-for-ipq9574-rdp-c.patch
new file mode 100644
index 0000000000..21e53b3ed2
--- /dev/null
+++ b/target/linux/qualcommbe/patches-6.6/303-arm64-dts-qcom-add-partition-table-for-ipq9574-rdp-c.patch
@@ -0,0 +1,177 @@
+From d9982d245fc7f1b7d65d74cd08d53eccdcbd5cf2 Mon Sep 17 00:00:00 2001
+From: Christian Marangi <ansuelsmth at gmail.com>
+Date: Mon, 9 Dec 2024 17:50:31 +0100
+Subject: [PATCH 1/2] arm64: dts: qcom: add partition table for ipq9574 rdp
+ common
+
+Add partition table for ipq9574 SoC common to every RDB board.
+
+Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
+---
+ .../boot/dts/qcom/ipq9574-rdp-common.dtsi | 146 +++++++++++++++++-
+ 1 file changed, 145 insertions(+), 1 deletion(-)
+
+diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
+index 9a8692377176..13b623603d37 100644
+--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
++++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
+@@ -74,11 +74,155 @@ &blsp1_spi0 {
+ status = "okay";
+
+ flash at 0 {
+- compatible = "micron,n25q128a11", "jedec,spi-nor";
++ compatible = "jedec,spi-nor";
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ spi-max-frequency = <50000000>;
++
++ partitions {
++ compatible = "fixed-partitions";
++ #address-cells = <1>;
++ #size-cells = <1>;
++
++ partition at 0 {
++ label = "0:sbl1";
++ reg = <0x0 0xc0000>;
++ read-only;
++ };
++
++ partition at c0000 {
++ label = "0:mibib";
++ reg = <0xc0000 0x10000>;
++ read-only;
++ };
++
++ partition at d0000 {
++ label = "0:bootconfig";
++ reg = <0xd0000 0x20000>;
++ read-only;
++ };
++
++ partition at f0000 {
++ label = "0:bootconfig1";
++ reg = <0xf0000 0x20000>;
++ read-only;
++ };
++
++ partition at 110000 {
++ label = "0:qsee";
++ reg = <0x110000 0x180000>;
++ read-only;
++ };
++
++ partition at 290000 {
++ label = "0:qsee_1";
++ reg = <0x290000 0x180000>;
++ read-only;
++ };
++
++ partition at 410000 {
++ label = "0:devcfg";
++ reg = <0x410000 0x10000>;
++ read-only;
++ };
++
++ partition at 420000 {
++ label = "0:devcfg_1";
++ reg = <0x420000 0x10000>;
++ read-only;
++ };
++
++ partition at 430000 {
++ label = "0:apdp";
++ reg = <0x430000 0x10000>;
++ read-only;
++ };
++
++ partition at 440000 {
++ label = "0:apdp_1";
++ reg = <0x440000 0x10000>;
++ read-only;
++ };
++
++ partition at 450000 {
++ label = "0:tme";
++ reg = <0x450000 0x40000>;
++ read-only;
++ };
++
++ partition at 490000 {
++ label = "0:tme_1";
++ reg = <0x490000 0x40000>;
++ read-only;
++ };
++
++ partition at 4d0000 {
++ label = "0:rpm";
++ reg = <0x4d0000 0x20000>;
++ read-only;
++ };
++
++ partition at 4f0000 {
++ label = "0:rpm_1";
++ reg = <0x4f0000 0x20000>;
++ read-only;
++ };
++
++ partition at 510000 {
++ label = "0:cdt";
++ reg = <0x510000 0x10000>;
++ read-only;
++ };
++
++ partition at 520000 {
++ label = "0:cdt_1";
++ reg = <0x520000 0x10000>;
++ read-only;
++ };
++
++ partition at 530000 {
++ compatible = "u-boot,env";
++ label = "0:appsblenv";
++ reg = <0x530000 0x10000>;
++
++ macaddr_lan: ethaddr {
++ #nvmem-cell-cells = <1>;
++ };
++ };
++
++ partition at 540000 {
++ label = "0:appsbl";
++ reg = <0x540000 0xa0000>;
++ read-only;
++ };
++
++ partition at 5e0000 {
++ label = "0:appsbl_1";
++ reg = <0x5e0000 0xa0000>;
++ read-only;
++ };
++
++ partition at 680000 {
++ label = "0:art";
++ reg = <0x680000 0x100000>;
++ read-only;
++ };
++
++ partition at 780000 {
++ label = "0:ethphyfw";
++ reg = <0x780000 0x80000>;
++ read-only;
++
++ nvmem-layout {
++ compatible = "fixed-layout";
++
++ aqr_fw: aqr-fw at 0 {
++ reg = <0x0 0x5fc02>;
++ };
++ };
++ };
++ };
+ };
+ };
+
+--
+2.45.2
+
diff --git a/target/linux/qualcommbe/patches-6.6/304-dts-qcom-add-AQR-NVMEM-node-for-IPQ9574-RDP433-board.patch b/target/linux/qualcommbe/patches-6.6/304-dts-qcom-add-AQR-NVMEM-node-for-IPQ9574-RDP433-board.patch
new file mode 100644
index 0000000000..b37a9d3bb7
--- /dev/null
+++ b/target/linux/qualcommbe/patches-6.6/304-dts-qcom-add-AQR-NVMEM-node-for-IPQ9574-RDP433-board.patch
@@ -0,0 +1,38 @@
+From e7afacf09d39d7087a5ea112fefabb6d5d3adf2b Mon Sep 17 00:00:00 2001
+From: Christian Marangi <ansuelsmth at gmail.com>
+Date: Mon, 9 Dec 2024 18:10:43 +0100
+Subject: [PATCH] dts: qcom: add AQR NVMEM node for IPQ9574 RDP433 board
+
+Add Aquantia NVMEM node for IPQ9574 RDP433 board to load the firmware
+for the Aquantia PHY.
+
+Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
+---
+ arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts
+index d56abe92c24e..44407ebbe06a 100644
+--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts
++++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts
+@@ -49,11 +49,17 @@ phy3: ethernet-phy at 13 {
+ phy4: ethernet-phy at 8 {
+ compatible ="ethernet-phy-ieee802.3-c45";
+ reg = <8>;
++
++ nvmem-cells = <&aqr_fw>;
++ nvmem-cell-names = "firmware";
+ };
+
+ phy5: ethernet-phy at 0 {
+ compatible ="ethernet-phy-ieee802.3-c45";
+ reg = <0>;
++
++ nvmem-cells = <&aqr_fw>;
++ nvmem-cell-names = "firmware";
+ };
+ };
+
+--
+2.45.2
+
More information about the lede-commits
mailing list