Commit e867f429 authored by Akash Asthana's avatar Akash Asthana Committed by Bjorn Andersson
Browse files

arm64: dts: sc7180: Add interconnect for QUP and QSPI



Add interconnect ports for GENI QUPs and QSPI to set bus capabilities.

Signed-off-by: default avatarAkash Asthana <akashast@codeaurora.org>
Link: https://lore.kernel.org/r/1592908737-7068-9-git-send-email-akashast@codeaurora.org


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 5e09bc51
Loading
Loading
Loading
Loading
+127 −0
Original line number Diff line number Diff line
@@ -547,6 +547,8 @@
			#size-cells = <2>;
			ranges;
			iommus = <&apps_smmu 0x43 0x0>;
			interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>;
			interconnect-names = "qup-core";
			status = "disabled";

			i2c0: i2c@880000 {
@@ -559,6 +561,11 @@
				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>,
						<&aggre1_noc MASTER_QUP_0 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -572,6 +579,9 @@
				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -583,6 +593,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart0_default>;
				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -596,6 +609,11 @@
				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>,
						<&aggre1_noc MASTER_QUP_0 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -609,6 +627,9 @@
				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -620,6 +641,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart1_default>;
				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -633,6 +657,11 @@
				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>,
						<&aggre1_noc MASTER_QUP_0 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -644,6 +673,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart2_default>;
				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -657,6 +689,11 @@
				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>,
						<&aggre1_noc MASTER_QUP_0 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -670,6 +707,9 @@
				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -681,6 +721,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart3_default>;
				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -694,6 +737,11 @@
				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>,
						<&aggre1_noc MASTER_QUP_0 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -705,6 +753,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart4_default>;
				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -718,6 +769,11 @@
				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>,
						<&aggre1_noc MASTER_QUP_0 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -731,6 +787,9 @@
				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -742,6 +801,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart5_default>;
				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_0 &qup_virt SLAVE_QUP_CORE_0>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_0>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};
		};
@@ -756,6 +818,8 @@
			#size-cells = <2>;
			ranges;
			iommus = <&apps_smmu 0x4c3 0x0>;
			interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>;
			interconnect-names = "qup-core";
			status = "disabled";

			i2c6: i2c@a80000 {
@@ -768,6 +832,11 @@
				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>,
						<&aggre2_noc MASTER_QUP_1 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -781,6 +850,9 @@
				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -792,6 +864,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart6_default>;
				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -805,6 +880,11 @@
				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>,
						<&aggre2_noc MASTER_QUP_1 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -816,6 +896,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart7_default>;
				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -829,6 +912,11 @@
				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>,
						<&aggre2_noc MASTER_QUP_1 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -842,6 +930,9 @@
				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -853,6 +944,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart8_default>;
				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -866,6 +960,11 @@
				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>,
						<&aggre2_noc MASTER_QUP_1 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -877,6 +976,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart9_default>;
				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -890,6 +992,11 @@
				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>,
						<&aggre2_noc MASTER_QUP_1 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -903,6 +1010,9 @@
				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -914,6 +1024,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart10_default>;
				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -927,6 +1040,11 @@
				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>,
						<&aggre2_noc MASTER_QUP_1 &mc_virt SLAVE_EBI1>;
				interconnect-names = "qup-core", "qup-config",
							"qup-memory";
				status = "disabled";
			};

@@ -940,6 +1058,9 @@
				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
				#address-cells = <1>;
				#size-cells = <0>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};

@@ -951,6 +1072,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&qup_uart11_default>;
				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
				interconnects = <&qup_virt MASTER_QUP_CORE_1 &qup_virt SLAVE_QUP_CORE_1>,
						<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_1>;
				interconnect-names = "qup-core", "qup-config";
				status = "disabled";
			};
		};
@@ -2132,6 +2256,9 @@
			clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
				 <&gcc GCC_QSPI_CORE_CLK>;
			clock-names = "iface", "core";
			interconnects = <&gem_noc MASTER_APPSS_PROC
					&config_noc SLAVE_QSPI_0>;
			interconnect-names = "qspi-config";
			status = "disabled";
		};