Files
kernel_oneplus_sm8550-devic…/qcom/sdxbaagha.dtsi
Yatish Kumar Singh 7062f308e4 ARM: dts: msm: Add QUPv3 UART console node for sdxbaagha
Enable console support on sdxbaagha.

Change-Id: Ic7ea9a049b2066100b8120d7da5c459429ee44c1
2022-08-17 00:49:40 -07:00

305 lines
5.8 KiB
Plaintext

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sdxbaagha.h>
/ {
#address-cells = <1>;
#size-cells = <1>;
model = "Qualcomm Technologies, Inc. SDXBAAGHA";
compatible = "qcom,sdxbaagha";
qcom,msm-id = <570 0x10000>, <571 0x10000>;
interrupt-parent = <&intc>;
aliases {
serial0 = &qupv3_se3_2uart;
};
chosen { };
memory { device_type = "memory"; reg = <0 0>; };
reserved_memory: reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
mpss_mem: mpss_region@82400000 {
no-map;
reg = <0x82400000 0x4600000>;
};
quickboot_mem: quickboot_region@86a00000 {
no-map;
reg = <0x86a00000 0x100000>;
};
aop_image_mem: aop_image_region@86b00000 {
no-map;
reg = <0x86b00000 0x20000>;
};
aop_cmd_db_mem: aop_cmd_db_region@86b20000 {
compatible = "qcom,cmd-db";
no-map;
reg = <0x86b20000 0x20000>;
};
aop_config_mem: aop_config_region@86b40000 {
no-map;
reg = <0x86b40000 0x40000>;
};
smem_mem: smem_region@86b80000 {
no-map;
reg = <0x86b80000 0xc0000>;
};
tme_crashdump_mem: tme_crashdump_region@86c40000 {
no-map;
reg = <0x86c40000 0x40000>;
};
tme_log_mem: tme_log_region@86c80000 {
no-map;
reg = <0x86c80000 0x4000>;
};
access_control_db_mem: access_control_db_region@86c84000 {
no-map;
reg = <0x86c84000 0x20000>;
};
secdata_mem: secdata_region@86ca4000 {
no-map;
reg = <0x86ca4000 0x1000>;
};
xbl_ramdump_mem: xbl_ramdump_region@86d00000 {
no-map;
reg = <0x86d00000 0x100000>;
};
qtee_tz_mem: qtee_tz_region@86e00000 {
no-map;
reg = <0x86e00000 0x200000>;
};
trusted_apps_mem: trusted_apps_region@87000000 {
no-map;
reg = <0x87000000 0x400000>;
};
/* global autoconfigured region for contiguous allocations */
system_cma: linux,cma {
compatible = "shared-dma-pool";
alloc-ranges = <0x00000000 0xffffffff>;
reusable;
alignment = <0x400000>;
size = <0xc00000>;
linux,cma-default;
};
};
cpus {
#size-cells = <0>;
#address-cells = <1>;
CPU0: cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x0>;
};
};
soc: soc { };
};
#include "sdxbaagha-stub-regulator.dtsi"
&soc {
#address-cells = <1>;
#size-cells = <1>;
ranges;
compatible = "simple-bus";
intc: interrupt-controller@17000000 {
compatible = "qcom,msm-qgic2";
interrupt-controller;
#interrupt-cells = <3>;
reg = <0x17000000 0x1000>,
<0x17002000 0x1000>;
};
timer {
compatible = "arm,armv7-timer";
interrupts = <1 13 0xf08>,
<1 12 0xf08>,
<1 10 0xf08>,
<1 11 0xf08>;
clock-frequency = <19200000>;
};
timer@17020000 {
#address-cells = <1>;
#size-cells = <1>;
ranges;
compatible = "arm,armv7-timer-mem";
reg = <0x17020000 0x1000>;
clock-frequency = <19200000>;
frame@17021000 {
frame-number = <0>;
interrupts = <0 7 0x4>,
<0 6 0x4>;
reg = <0x17021000 0x1000>,
<0x17022000 0x1000>;
};
frame@17023000 {
frame-number = <1>;
interrupts = <0 8 0x4>;
reg = <0x17023000 0x1000>;
status = "disabled";
};
frame@17024000 {
frame-number = <2>;
interrupts = <0 9 0x4>;
reg = <0x17024000 0x1000>;
status = "disabled";
};
frame@17025000 {
frame-number = <3>;
interrupts = <0 10 0x4>;
reg = <0x17025000 0x1000>;
status = "disabled";
};
frame@17026000 {
frame-number = <4>;
interrupts = <0 11 0x4>;
reg = <0x17026000 0x1000>;
status = "disabled";
};
frame@17027000 {
frame-number = <5>;
interrupts = <0 12 0x4>;
reg = <0x17027000 0x1000>;
status = "disabled";
};
frame@17028000 {
frame-number = <6>;
interrupts = <0 13 0x4>;
reg = <0x17028000 0x1000>;
status = "disabled";
};
frame@17029000 {
frame-number = <7>;
interrupts = <0 14 0x4>;
reg = <0x17029000 0x1000>;
status = "disabled";
};
};
qcom,secure-buffer {
compatible = "qcom,secure-buffer";
};
clocks {
xo_board: xo_board {
compatible = "fixed-clock";
clock-frequency = <19200000>;
clock-output-names = "xo_board";
#clock-cells = <0>;
};
sleep_clk: sleep_clk {
compatible = "fixed-clock";
clock-frequency = <32000>;
clock-output-names = "sleep_clk";
#clock-cells = <0>;
};
pcie_pipe_clk: pcie_pipe_clk {
compatible = "fixed-clock";
clock-frequency = <1000>;
clock-output-names = "pcie_pipe_clk";
#clock-cells = <0>;
};
};
bi_tcxo: bi_tcxo {
compatible = "fixed-factor-clock";
clocks = <&xo_board>;
clock-mult = <1>;
clock-div = <1>;
#clock-cells = <0>;
clock-output-names = "bi_tcxo";
};
bi_tcxo_ao: bi_tcxo_ao {
compatible = "fixed-factor-clock";
clocks = <&xo_board>;
clock-mult = <1>;
clock-div = <1>;
#clock-cells = <0>;
clock-output-names = "bi_tcxo_ao";
};
rpmhcc: clock-controller {
compatible = "fixed-clock";
clock-output-names = "rpmh_clocks";
clock-frequency = <19200000>;
#clock-cells = <1>;
};
gcc: clock-controller@80000 {
compatible = "qcom,dummycc";
clock-output-names = "gcc_clocks";
#clock-cells = <1>;
#reset-cells = <1>;
};
/* GCC GDSCs */
gcc_emac0_gdsc: qcom,gdsc@f1004 {
compatible = "qcom,stub-regulator";
regulator-name = "gcc_emac0_gdsc";
qcom,support-hw-trigger;
};
gcc_pcie_gdsc: qcom,gdsc@d3004 {
compatible = "qcom,stub-regulator";
regulator-name = "gcc_pcie_gdsc";
qcom,support-hw-trigger;
};
gcc_usb20_gdsc: qcom,gdsc@a7004 {
compatible = "qcom,stub-regulator";
regulator-name = "gcc_usb20_gdsc";
};
ipcc_mproc: qcom,ipcc@408000 {
compatible = "qcom,ipcc";
reg = <0x408000 0x1000>;
interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <3>;
#mbox-cells = <2>;
};
};
#include "sdxbaagha-pinctrl.dtsi"
#include "sdxbaagha-dma-heaps.dtsi"
#include "msm-arm-smmu-sdxbaagha.dtsi"
#include "sdxbaagha-qupv3.dtsi"
&qupv3_se3_2uart {
status = "ok";
};