Merge "ARM: dts: msm: Add QUP node for SA8195 target"

This commit is contained in:
qctecmdr
2022-07-22 15:01:08 -07:00
committed by Gerrit - the friendly Code Review server
5 changed files with 1740 additions and 569 deletions

1071
qcom/sa8195-qupv3.dtsi Normal file

File diff suppressed because it is too large Load Diff

117
qcom/sa8195-ssc-qupv3.dtsi Normal file
View File

@@ -0,0 +1,117 @@
&soc {
/* QUPv3_3 wrapper instance */
qupv3_3: qcom,qupv3_3_geni_se@26c0000 {
compatible = "qcom,geni-se-qup";
reg = <0x26c0000 0x6000>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
clock-names = "m-ahb", "s-ahb";
clocks = <&scc SCC_QUPV3_M_HCLK_CLK>,
<&scc SCC_QUPV3_S_HCLK_CLK>;
iommus = <&apps_smmu 0x4e3 0x0>;
qcom,iommu-dma-addr-pool = <0x40000000 0x10000000>;
qcom,iommu-geometry = <0x40000000 0x10000000>;
qcom,iommu-dma = "fastmap";
status = "ok";
qupv3_se20_i2c: i2c@2680000 {
compatible = "qcom,i2c-geni";
reg = <0x2680000 0x4000>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "se-clk";
clocks = <&scc SCC_QUPV3_SE0_CLK>;
interconnect-names = "qup-core", "qup-config", "qup-memory";
interconnects =
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&qupv3_se20_i2c_active>;
pinctrl-1 = <&qupv3_se20_i2c_sleep>;
status = "disabled";
};
qupv3_se21_i2c: i2c@2684000 {
compatible = "qcom,i2c-geni";
reg = <0x2684000 0x4000>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "se-clk";
clocks = <&scc SCC_QUPV3_SE1_CLK>;
interconnect-names = "qup-core", "qup-config", "qup-memory";
interconnects =
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&qupv3_se21_i2c_active>;
pinctrl-1 = <&qupv3_se21_i2c_sleep>;
status = "disabled";
};
qupv3_se21_spi: spi@2684000 {
compatible = "qcom,spi-geni";
reg = <0x2684000 0x4000>;
#address-cells = <1>;
#size-cells = <0>;
reg-names = "se_phys";
interrupts = <GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "se-clk";
clocks = <&scc SCC_QUPV3_SE1_CLK>;
interconnect-names = "qup-core", "qup-config", "qup-memory";
interconnects =
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&qupv3_se21_spi_active>;
pinctrl-1 = <&qupv3_se21_spi_sleep>;
spi-max-frequency = <50000000>;
status = "disabled";
};
qupv3_se22_i2c: i2c@2688000 {
compatible = "qcom,i2c-geni";
reg = <0x2688000 0x4000>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "se-clk";
clocks = <&scc SCC_QUPV3_SE2_CLK>;
interconnect-names = "qup-core", "qup-config", "qup-memory";
interconnects =
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&qupv3_se22_i2c_active>;
pinctrl-1 = <&qupv3_se22_i2c_sleep>;
status = "disabled";
};
qupv3_se22_spi: spi@2688000 {
compatible = "qcom,spi-geni";
reg = <0x2688000 0x4000>;
#address-cells = <1>;
#size-cells = <0>;
reg-names = "se_phys";
interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "se-clk";
clocks = <&scc SCC_QUPV3_SE2_CLK>;
interconnect-names = "qup-core", "qup-config", "qup-memory";
interconnects =
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>,
<&aggre2_noc MASTER_SENSORS_AHB &mc_virt SLAVE_EBI1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&qupv3_se22_spi_active>;
pinctrl-1 = <&qupv3_se22_spi_sleep>;
spi-max-frequency = <50000000>;
status = "disabled";
};
};
};

View File

@@ -1,5 +1 @@
#include <dt-bindings/gpio/gpio.h>
&uart2 {
status = "ok";
};

File diff suppressed because it is too large Load Diff

View File

@@ -26,8 +26,8 @@
memory { device_type = "memory"; reg = <0 0 0 0>; };
aliases {
serial0 = &uart2;
ufshc1 = &ufshc_mem; /* Embedded UFS slot */
serial0 = &qupv3_se12_2uart;
};
cpus {
@@ -966,21 +966,6 @@
qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
};
qupv3_id_1: geniqup@ac0000 {
compatible = "qcom,geni-se-qup";
reg = <0x00ac0000 0x6000>;
ranges;
#address-cells = <1>;
#size-cells = <1>;
uart2: serial@a90000 {
compatible = "qcom,geni-debug-uart";
reg = <0x00a90000 0x4000>;
interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};
};
thermal_zones: thermal-zones {
};
@@ -1832,3 +1817,9 @@
status = "ok";
};
#include "sa8195-thermal.dtsi"
#include "sa8195-qupv3.dtsi"
#include "sa8195-ssc-qupv3.dtsi"
&qupv3_se12_2uart {
status = "ok";
};