|
@@ -1,42 +1,89 @@
|
|
-From patchwork Mon Jan 29 05:11:16 2018
|
|
|
|
-Content-Type: text/plain; charset="utf-8"
|
|
|
|
-MIME-Version: 1.0
|
|
|
|
-Content-Transfer-Encoding: 7bit
|
|
|
|
-Subject: [02/15] ARM: dts: ipq4019: Add a few peripheral nodes
|
|
|
|
|
|
+From 187519403273f0599c848d20eca9acce8b1807a5 Mon Sep 17 00:00:00 2001
|
|
From: Sricharan R <[email protected]>
|
|
From: Sricharan R <[email protected]>
|
|
-X-Patchwork-Id: 10189263
|
|
|
|
-Message-Id: <[email protected]>
|
|
|
|
-To: [email protected], [email protected], [email protected],
|
|
|
|
- [email protected], [email protected], [email protected],
|
|
|
|
- [email protected], [email protected], [email protected],
|
|
|
|
- [email protected], [email protected],
|
|
|
|
- [email protected], [email protected],
|
|
|
|
- [email protected], [email protected]
|
|
|
|
-Cc: [email protected]
|
|
|
|
-Date: Mon, 29 Jan 2018 10:41:16 +0530
|
|
|
|
|
|
+Date: Fri, 25 May 2018 11:41:12 +0530
|
|
|
|
+Subject: [PATCH] ARM: dts: ipq4019: Add a few peripheral nodes
|
|
|
|
|
|
Now with the driver updates for some peripherals being there,
|
|
Now with the driver updates for some peripherals being there,
|
|
add i2c, spi, pcie, bam, qpic-nand, scm nodes to enhance the available
|
|
add i2c, spi, pcie, bam, qpic-nand, scm nodes to enhance the available
|
|
peripheral support.
|
|
peripheral support.
|
|
|
|
|
|
|
|
+Reviewed-by: Abhishek Sahu <[email protected]>
|
|
Signed-off-by: Sricharan R <[email protected]>
|
|
Signed-off-by: Sricharan R <[email protected]>
|
|
|
|
+Signed-off-by: Andy Gross <[email protected]>
|
|
---
|
|
---
|
|
- arch/arm/boot/dts/qcom-ipq4019.dtsi | 134 ++++++++++++++++++++++++++++++++++++
|
|
|
|
- 1 file changed, 134 insertions(+)
|
|
|
|
|
|
+ arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 2 +-
|
|
|
|
+ arch/arm/boot/dts/qcom-ipq4019.dtsi | 156 ++++++++++++++++++++++++--
|
|
|
|
+ 2 files changed, 146 insertions(+), 12 deletions(-)
|
|
|
|
|
|
|
|
+diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
|
|
|
|
+index ef8d8c88ed7b..418f9a022336 100644
|
|
|
|
+--- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
|
|
|
|
++++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
|
|
|
|
+@@ -69,7 +69,7 @@
|
|
|
|
+ status = "ok";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+- spi_0: spi@78b5000 {
|
|
|
|
++ spi@78b5000 {
|
|
|
|
+ pinctrl-0 = <&spi_0_pins>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ status = "ok";
|
|
|
|
+diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
|
|
+index 2efc8a2d41a7..737097e9fb4f 100644
|
|
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
-@@ -25,7 +25,9 @@
|
|
|
|
|
|
+@@ -40,8 +40,10 @@
|
|
|
|
+ };
|
|
|
|
|
|
aliases {
|
|
aliases {
|
|
- spi0 = &spi_0;
|
|
|
|
-+ spi1 = &spi_1;
|
|
|
|
- i2c0 = &i2c_0;
|
|
|
|
-+ i2c1 = &i2c_1;
|
|
|
|
|
|
+- spi0 = &spi_0;
|
|
|
|
+- i2c0 = &i2c_0;
|
|
|
|
++ spi0 = &blsp1_spi1;
|
|
|
|
++ spi1 = &blsp1_spi2;
|
|
|
|
++ i2c0 = &blsp1_i2c3;
|
|
|
|
++ i2c1 = &blsp1_i2c4;
|
|
};
|
|
};
|
|
|
|
|
|
cpus {
|
|
cpus {
|
|
-@@ -190,6 +192,22 @@
|
|
|
|
|
|
+@@ -120,6 +122,12 @@
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
++ firmware {
|
|
|
|
++ scm {
|
|
|
|
++ compatible = "qcom,scm-ipq4019";
|
|
|
|
++ };
|
|
|
|
++ };
|
|
|
|
++
|
|
|
|
+ timer {
|
|
|
|
+ compatible = "arm,armv7-timer";
|
|
|
|
+ interrupts = <1 2 0xf08>,
|
|
|
|
+@@ -165,13 +173,13 @@
|
|
|
|
+ #gpio-cells = <2>;
|
|
|
|
+ interrupt-controller;
|
|
|
|
+ #interrupt-cells = <2>;
|
|
|
|
+- interrupts = <0 208 0>;
|
|
|
|
++ interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ blsp_dma: dma@7884000 {
|
|
|
|
+ compatible = "qcom,bam-v1.7.0";
|
|
|
|
+ reg = <0x07884000 0x23000>;
|
|
|
|
+- interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>;
|
|
|
|
++ interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+ clocks = <&gcc GCC_BLSP1_AHB_CLK>;
|
|
|
|
+ clock-names = "bam_clk";
|
|
|
|
+ #dma-cells = <1>;
|
|
|
|
+@@ -179,7 +187,7 @@
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+- spi_0: spi@78b5000 {
|
|
|
|
++ blsp1_spi1: spi@78b5000 { /* BLSP1 QUP1 */
|
|
|
|
+ compatible = "qcom,spi-qup-v2.2.1";
|
|
|
|
+ reg = <0x78b5000 0x600>;
|
|
|
|
+ interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+@@ -188,10 +196,26 @@
|
|
clock-names = "core", "iface";
|
|
clock-names = "core", "iface";
|
|
#address-cells = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
#size-cells = <0>;
|
|
@@ -45,7 +92,7 @@ Signed-off-by: Sricharan R <[email protected]>
|
|
+ status = "disabled";
|
|
+ status = "disabled";
|
|
+ };
|
|
+ };
|
|
+
|
|
+
|
|
-+ spi_1: spi@78b6000 { /* BLSP1 QUP2 */
|
|
|
|
|
|
++ blsp1_spi2: spi@78b6000 { /* BLSP1 QUP2 */
|
|
+ compatible = "qcom,spi-qup-v2.2.1";
|
|
+ compatible = "qcom,spi-qup-v2.2.1";
|
|
+ reg = <0x78b6000 0x600>;
|
|
+ reg = <0x78b6000 0x600>;
|
|
+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
|
|
@@ -59,7 +106,12 @@ Signed-off-by: Sricharan R <[email protected]>
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
-@@ -202,9 +220,24 @@
|
|
|
|
|
|
+- i2c_0: i2c@78b7000 {
|
|
|
|
++ blsp1_i2c3: i2c@78b7000 { /* BLSP1 QUP3 */
|
|
|
|
+ compatible = "qcom,i2c-qup-v2.2.1";
|
|
|
|
+ reg = <0x78b7000 0x600>;
|
|
|
|
+ interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+@@ -200,14 +224,29 @@
|
|
clock-names = "iface", "core";
|
|
clock-names = "iface", "core";
|
|
#address-cells = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
#size-cells = <0>;
|
|
@@ -68,7 +120,7 @@ Signed-off-by: Sricharan R <[email protected]>
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
-+ i2c_1: i2c@78b8000 { /* BLSP1 QUP4 */
|
|
|
|
|
|
++ blsp1_i2c4: i2c@78b8000 { /* BLSP1 QUP4 */
|
|
+ compatible = "qcom,i2c-qup-v2.2.1";
|
|
+ compatible = "qcom,i2c-qup-v2.2.1";
|
|
+ reg = <0x78b8000 0x600>;
|
|
+ reg = <0x78b8000 0x600>;
|
|
+ interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
|
|
@@ -84,7 +136,31 @@ Signed-off-by: Sricharan R <[email protected]>
|
|
|
|
|
|
cryptobam: dma@8e04000 {
|
|
cryptobam: dma@8e04000 {
|
|
compatible = "qcom,bam-v1.7.0";
|
|
compatible = "qcom,bam-v1.7.0";
|
|
-@@ -311,6 +344,101 @@
|
|
|
|
|
|
+ reg = <0x08e04000 0x20000>;
|
|
|
|
+- interrupts = <GIC_SPI 207 0>;
|
|
|
|
++ interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+ clocks = <&gcc GCC_CRYPTO_AHB_CLK>;
|
|
|
|
+ clock-names = "bam_clk";
|
|
|
|
+ #dma-cells = <1>;
|
|
|
|
+@@ -275,7 +314,7 @@
|
|
|
|
+ blsp1_uart1: serial@78af000 {
|
|
|
|
+ compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
|
|
|
+ reg = <0x78af000 0x200>;
|
|
|
|
+- interrupts = <0 107 0>;
|
|
|
|
++ interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+ status = "disabled";
|
|
|
|
+ clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>,
|
|
|
|
+ <&gcc GCC_BLSP1_AHB_CLK>;
|
|
|
|
+@@ -287,7 +326,7 @@
|
|
|
|
+ serial@78b0000 {
|
|
|
|
+ compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
|
|
|
+ reg = <0x78b0000 0x200>;
|
|
|
|
+- interrupts = <0 108 0>;
|
|
|
|
++ interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+ status = "disabled";
|
|
|
|
+ clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
|
|
|
|
+ <&gcc GCC_BLSP1_AHB_CLK>;
|
|
|
|
+@@ -309,6 +348,101 @@
|
|
reg = <0x4ab000 0x4>;
|
|
reg = <0x4ab000 0x4>;
|
|
};
|
|
};
|
|
|
|
|
|
@@ -105,7 +181,7 @@ Signed-off-by: Sricharan R <[email protected]>
|
|
+ ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000
|
|
+ ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000
|
|
+ 0x82000000 0 0x48000000 0x48000000 0 0x10000000>;
|
|
+ 0x82000000 0 0x48000000 0x48000000 0 0x10000000>;
|
|
+
|
|
+
|
|
-+ interrupts = <GIC_SPI 141 IRQ_TYPE_NONE>;
|
|
|
|
|
|
++ interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>;
|
|
+ interrupt-names = "msi";
|
|
+ interrupt-names = "msi";
|
|
+ #interrupt-cells = <1>;
|
|
+ #interrupt-cells = <1>;
|
|
+ interrupt-map-mask = <0 0 0 0x7>;
|
|
+ interrupt-map-mask = <0 0 0 0x7>;
|
|
@@ -186,3 +262,24 @@ Signed-off-by: Sricharan R <[email protected]>
|
|
wifi0: wifi@a000000 {
|
|
wifi0: wifi@a000000 {
|
|
compatible = "qcom,ipq4019-wifi";
|
|
compatible = "qcom,ipq4019-wifi";
|
|
reg = <0xa000000 0x200000>;
|
|
reg = <0xa000000 0x200000>;
|
|
|
|
+@@ -342,7 +476,7 @@
|
|
|
|
+ <GIC_SPI 45 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
+ <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
+ <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
+- <GIC_SPI 168 IRQ_TYPE_NONE>;
|
|
|
|
++ <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+ interrupt-names = "msi0", "msi1", "msi2", "msi3",
|
|
|
|
+ "msi4", "msi5", "msi6", "msi7",
|
|
|
|
+ "msi8", "msi9", "msi10", "msi11",
|
|
|
|
+@@ -384,7 +518,7 @@
|
|
|
|
+ <GIC_SPI 61 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
+ <GIC_SPI 62 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
+ <GIC_SPI 63 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
+- <GIC_SPI 169 IRQ_TYPE_NONE>;
|
|
|
|
++ <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+ interrupt-names = "msi0", "msi1", "msi2", "msi3",
|
|
|
|
+ "msi4", "msi5", "msi6", "msi7",
|
|
|
|
+ "msi8", "msi9", "msi10", "msi11",
|
|
|
|
+--
|
|
|
|
+2.11.0
|
|
|
|
+
|