mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

Replace the existing SPI NAND controller patches with the latest v14 set that is pending upstream, and include Ansuels patch that fixes it. Bindings patch is removed as there is no point carrying it in OpenWrt. Signed-off-by: Robert Marko <robimarko@gmail.com>
53 lines
1.5 KiB
Diff
53 lines
1.5 KiB
Diff
From c2019f64539dd24e6e0da3cea2219d6f9e6b03e4 Mon Sep 17 00:00:00 2001
|
|
From: Ziyang Huang <hzyitc@outlook.com>
|
|
Date: Sun, 8 Sep 2024 16:40:11 +0800
|
|
Subject: [PATCH] arm64: dts: qcom: ipq5018: Add SPI nand node
|
|
|
|
Add SPI NAND support for IPQ5018 SoC.
|
|
|
|
Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
|
|
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq5018.dtsi | 40 +++++++++++++++++++++++++++
|
|
1 file changed, 40 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
|
|
@@ -461,6 +461,36 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ qpic_bam: dma@7984000 {
|
|
+ compatible = "qcom,bam-v1.7.0";
|
|
+ reg = <0x07984000 0x1c000>;
|
|
+ interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&gcc GCC_QPIC_AHB_CLK>;
|
|
+ clock-names = "bam_clk";
|
|
+ #dma-cells = <1>;
|
|
+ qcom,ee = <0>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ qpic_nand: qpic-nand@79b0000 {
|
|
+ compatible = "qcom,ipq5018-snand", "qcom,ipq9574-snand";
|
|
+ reg = <0x079b0000 0x10000>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ clocks = <&gcc GCC_QPIC_CLK>,
|
|
+ <&gcc GCC_QPIC_AHB_CLK>,
|
|
+ <&gcc GCC_QPIC_IO_MACRO_CLK>;
|
|
+ clock-names = "core", "aon", "iom";
|
|
+
|
|
+ dmas = <&qpic_bam 0>,
|
|
+ <&qpic_bam 1>,
|
|
+ <&qpic_bam 2>,
|
|
+ <&qpic_bam 3>;
|
|
+ dma-names = "tx", "rx", "cmd", "status";
|
|
+
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
usb: usb@8af8800 {
|
|
compatible = "qcom,ipq5018-dwc3", "qcom,dwc3";
|
|
reg = <0x08af8800 0x400>;
|