mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-12 01:51:34 -05:00
Add pmd9650 nodes and include pmic devicetree files in target specific files. Change-Id: Ia19f577dc8a295dabd20ce4089dca553b9e881e8
432 lines
9.3 KiB
Devicetree
432 lines
9.3 KiB
Devicetree
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
/ {
|
|
model = "Qualcomm Technologies, Inc. SDXNIGHTJAR";
|
|
compatible = "qcom,sdxnightjar";
|
|
qcom,msm-id = <484 0x10000>;
|
|
interrupt-parent = <&intc>;
|
|
#address-cells = <0x1>;
|
|
#size-cells = <0x1>;
|
|
|
|
chosen { };
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0 0>;
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
peripheral1_mem: peripheral1_region@0x87800000 {
|
|
no-map;
|
|
reg = <0x87800000 0x400000>;
|
|
label = "peripheral1_mem";
|
|
};
|
|
|
|
peripheral2_mem: peripheral2_region@0x87d00000 {
|
|
no-map;
|
|
reg = <0x87d00000 0x300000>;
|
|
label = "peripheral2_mem";
|
|
};
|
|
};
|
|
|
|
aliases { };
|
|
|
|
cpus {
|
|
#size-cells = <0>;
|
|
#address-cells = <1>;
|
|
|
|
CPU0: cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a7";
|
|
reg = <0x0>;
|
|
};
|
|
};
|
|
|
|
soc: soc { };
|
|
};
|
|
|
|
&soc {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
intc: interrupt-controller@b000000 {
|
|
compatible = "qcom,msm-qgic2";
|
|
interrupt-controller;
|
|
#interrupt-cells = <3>;
|
|
reg = <0x0b000000 0x1000>,
|
|
<0x0b002000 0x1000>;
|
|
};
|
|
|
|
qcom,mpm2-sleep-counter@4a3000 {
|
|
compatible = "qcom,mpm2-sleep-counter";
|
|
reg = <0x004a3000 0x1000>;
|
|
clock-frequency = <32768>;
|
|
};
|
|
|
|
qcom,msm-imem@8600000 {
|
|
compatible = "qcom,msm-imem";
|
|
reg = <0x8600000 0x1000>; /* Address and size of IMEM */
|
|
ranges = <0x0 0x8600000 0x1000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
mem_dump_table@10 {
|
|
compatible = "qcom,msm-imem-mem_dump_table";
|
|
reg = <0x10 0x8>;
|
|
};
|
|
|
|
restart_reason@65c {
|
|
compatible = "qcom,msm-imem-restart_reason";
|
|
reg = <0x65c 0x4>;
|
|
};
|
|
|
|
boot_stats@6b0 {
|
|
compatible = "qcom,msm-imem-boot_stats";
|
|
reg = <0x6b0 0x20>;
|
|
};
|
|
|
|
pil@94c {
|
|
compatible = "qcom,msm-imem-pil";
|
|
reg = <0x94c 0xc8>;
|
|
};
|
|
};
|
|
|
|
clock_gcc: qcom,gcc@1800000 {
|
|
ompatible = "qcom,dummycc";
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_debug: qcom,cc-debug@1874000 {
|
|
compatible = "qcom,dummycc";
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
clock_cpu: qcom,clock-a7@0b010008 {
|
|
compatible = "qcom,dummycc";
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
qcom,msm-cpufreq {
|
|
compatible = "qcom,msm-cpufreq";
|
|
/*TODO: Fix the clock when tree is available*/
|
|
clock-names = "cpu0_clk", "cpu1_clk",
|
|
"cpu2_clk", "cpu3_clk";
|
|
qcom,cpufreq-table =
|
|
< 200000 >,
|
|
< 300000 >,
|
|
< 384000 >,
|
|
< 600000 >,
|
|
< 787200 >,
|
|
< 998400 >,
|
|
< 1190400 >,
|
|
< 1286400 >;
|
|
};
|
|
|
|
ahb_clk: qcom,ahb-clk-src {
|
|
compatible = "devfreq-simple-dev";
|
|
clock-names = "devfreq_clk";
|
|
/*TODO: Fix the clock when tree is available*/
|
|
governor = "powersave";
|
|
freq-tbl-khz =
|
|
< 19200 >,
|
|
< 50000 >,
|
|
< 100000 >,
|
|
< 133330 >;
|
|
};
|
|
|
|
restart@4ab000 {
|
|
compatible = "qcom,pshold";
|
|
reg = <0x4ab000 0x4>,
|
|
<0x0193d100 0x4>;
|
|
reg-names = "pshold-base", "tcsr-boot-misc-detect";
|
|
};
|
|
|
|
timer@b020000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
compatible = "arm,armv7-timer-mem";
|
|
reg = <0xb020000 0x1000>;
|
|
clock-frequency = <19200000>;
|
|
|
|
frame@b021000 {
|
|
frame-number = <0>;
|
|
interrupts = <0 7 0x4>,
|
|
<0 6 0x4>;
|
|
reg = <0xb021000 0x1000>,
|
|
<0xb022000 0x1000>;
|
|
};
|
|
|
|
frame@b023000 {
|
|
frame-number = <1>;
|
|
interrupts = <0 8 0x4>;
|
|
reg = <0xb023000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
frame@b024000 {
|
|
frame-number = <2>;
|
|
interrupts = <0 9 0x4>;
|
|
reg = <0xb024000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
frame@b025000 {
|
|
frame-number = <3>;
|
|
interrupts = <0 10 0x4>;
|
|
reg = <0xb025000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
frame@b026000 {
|
|
frame-number = <4>;
|
|
interrupts = <0 11 0x4>;
|
|
reg = <0xb026000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
frame@b027000 {
|
|
frame-number = <5>;
|
|
interrupts = <0 12 0x4>;
|
|
reg = <0xb027000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
frame@b028000 {
|
|
frame-number = <6>;
|
|
interrupts = <0 13 0x4>;
|
|
reg = <0xb028000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
frame@b029000 {
|
|
frame-number = <7>;
|
|
interrupts = <0 14 0x4>;
|
|
reg = <0xb029000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
qcom,msm_gsi {
|
|
compatible = "qcom,msm_gsi";
|
|
};
|
|
|
|
qcom_rng: qrng@e3000 {
|
|
compatible = "qcom,msm-rng";
|
|
reg = <0xe3000 0x1000>;
|
|
qcom,msm-rng-iface-clk;
|
|
qcom,no-qrng-config;
|
|
qcom,msm-bus,name = "msm-rng-noc";
|
|
qcom,msm-bus,num-cases = <2>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<1 618 0 0>, /* No vote */
|
|
<1 618 0 800>; /* 100 MB/s */
|
|
/*TODO: Fix the clock when tree is available*/
|
|
clock-names = "iface_clk";
|
|
};
|
|
|
|
qcom_tzlog: tz-log@08600720 {
|
|
compatible = "qcom,tz-log";
|
|
reg = <0x08600720 0x2000>;
|
|
};
|
|
|
|
qcom,qcedev@720000 {
|
|
compatible = "qcom,qcedev";
|
|
reg = <0x720000 0x20000>,
|
|
<0x704000 0x20000>;
|
|
reg-names = "crypto-base","crypto-bam-base";
|
|
interrupts = <0 207 0>;
|
|
qcom,bam-pipe-pair = <1>;
|
|
qcom,ce-hw-instance = <0>;
|
|
qcom,ce-device = <0>;
|
|
qcom,ce-hw-shared;
|
|
qcom,msm-bus,name = "qcedev-noc";
|
|
qcom,msm-bus,num-cases = <2>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<47 512 0 0>,
|
|
<47 512 393600 393600>;
|
|
/*TODO: Fix the clock when tree is available*/
|
|
clock-names = "core_clk", "iface_clk",
|
|
"bus_clk","core_clk_src";
|
|
qcom,ce-opp-freq = <171430000>;
|
|
};
|
|
|
|
qcom,qcrypto@720000 {
|
|
compatible = "qcom,qcrypto";
|
|
reg = <0x720000 0x20000>,
|
|
<0x704000 0x20000>;
|
|
reg-names = "crypto-base","crypto-bam-base";
|
|
interrupts = <0 207 0>;
|
|
qcom,bam-pipe-pair = <2>;
|
|
qcom,ce-hw-instance = <0>;
|
|
qcom,ce-device = <0>;
|
|
qcom,ce-hw-shared;
|
|
qcom,msm-bus,name = "qcrypto-noc";
|
|
qcom,msm-bus,num-cases = <2>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<47 512 0 0>,
|
|
<47 512 393600 393600>;
|
|
/*TODO: Fix the clock when tree is available*/
|
|
clock-names = "core_clk", "iface_clk",
|
|
"bus_clk","core_clk_src";
|
|
qcom,use-sw-aes-cbc-ecb-ctr-algo;
|
|
qcom,use-sw-aes-xts-algo;
|
|
qcom,use-sw-aes-ccm-algo;
|
|
qcom,use-sw-ahash-algo;
|
|
qcom,use-sw-hmac-algo;
|
|
qcom,use-sw-aead-algo;
|
|
qcom,ce-opp-freq = <171430000>;
|
|
};
|
|
|
|
qcom_seecom: qseecom@87800000 {
|
|
compatible = "qcom,qseecom";
|
|
reg = <0x87800000 0x200000>;
|
|
reg-names = "secapp-region";
|
|
qcom,hlos-ce-hw-instance = <0>;
|
|
qcom,qsee-ce-hw-instance = <0>;
|
|
qcom,msm-bus,name = "qseecom-noc";
|
|
qcom,msm-bus,num-cases = <4>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<47 512 0 0>,
|
|
<47 512 200000 400000>,
|
|
<47 512 300000 800000>,
|
|
<47 512 400000 1000000>;
|
|
/*TODO: Fix the clock when tree is available*/
|
|
clock-names = "core_clk", "iface_clk",
|
|
"bus_clk","core_clk_src";
|
|
qcom,ce-opp-freq = <100000000>;
|
|
};
|
|
|
|
qcom,rmnet-ipa {
|
|
compatible = "qcom,rmnet-ipa3";
|
|
qcom,rmnet-ipa-ssr;
|
|
};
|
|
|
|
blsp1_uart1: serial@78af000 {
|
|
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
|
reg = <0x78af000 0x200>;
|
|
interrupts = <0 107 0>;
|
|
/*TODO: Fix the clock when tree is available*/
|
|
clock-names = "core", "iface";
|
|
status = "disabled";
|
|
};
|
|
|
|
blsp1_uart2: serial@78b0000 {
|
|
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
|
reg = <0x78b0000 0x200>;
|
|
interrupts = <0 108 0>;
|
|
/*TODO: Fix the clock when tree is available*/
|
|
clock-names = "core", "iface";
|
|
status = "disabled";
|
|
};
|
|
|
|
blsp1_uart3: serial@78b1000 {
|
|
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
|
reg = <0x78b1000 0x200>;
|
|
interrupts = <0 109 0>;
|
|
/*TODO: Fix the clock when tree is available*/
|
|
clock-names = "core", "iface";
|
|
status = "disabled";
|
|
};
|
|
|
|
rpm_bus: qcom,rpm-smd {
|
|
compatible = "qcom,rpm-smd";
|
|
rpm-channel-name = "rpm_requests";
|
|
rpm-channel-type = <15>; /* SMD_APPS_RPM */
|
|
};
|
|
|
|
qcom,wdt@b017000 {
|
|
compatible = "qcom,msm-watchdog";
|
|
reg = <0xb017000 0x1000>;
|
|
reg-names = "wdt-base";
|
|
interrupts = <1 3 0>, <1 2 0>;
|
|
qcom,bark-time = <11000>;
|
|
qcom,pet-time = <10000>;
|
|
};
|
|
|
|
qcom,msm-rtb {
|
|
compatible = "qcom,msm-rtb";
|
|
qcom,rtb-size = <0x100000>;
|
|
};
|
|
|
|
jtag_mm0: jtagmm@842000 {
|
|
compatible = "qcom,jtag-mm";
|
|
reg = <0x842000 0x1000>,
|
|
<0x840000 0x1000>;
|
|
reg-names = "etm-base","debug-base";
|
|
|
|
qcom,coresight-jtagmm-cpu = <&CPU0>;
|
|
|
|
/*TODO: Fix the clock when tree is available*/
|
|
clock-names = "core_clk", "core_a_clk";
|
|
};
|
|
|
|
qcom,smem@87e80000 {
|
|
compatible = "qcom,smem";
|
|
reg = <0x87e80000 0xc0000>,
|
|
<0xb011008 0x4>,
|
|
<0x60000 0x6000>,
|
|
<0x193d000 0x8>;
|
|
reg-names = "smem", "irq-reg-base", "aux-mem1",
|
|
"smem_targ_info_reg";
|
|
qcom,mpu-enabled;
|
|
|
|
qcom,smd-modem {
|
|
compatible = "qcom,smd";
|
|
qcom,smd-edge = <0>;
|
|
qcom,smd-irq-offset = <0x0>;
|
|
qcom,smd-irq-bitmask = <0x1000>;
|
|
interrupts = <0 25 1>;
|
|
label = "modem";
|
|
};
|
|
|
|
qcom,smd-rpm {
|
|
compatible = "qcom,smd";
|
|
qcom,smd-edge = <15>;
|
|
qcom,smd-irq-offset = <0x0>;
|
|
qcom,smd-irq-bitmask = <0x1>;
|
|
interrupts = <0 168 1>;
|
|
label = "rpm";
|
|
qcom,irq-no-suspend;
|
|
qcom,not-loadable;
|
|
};
|
|
};
|
|
|
|
|
|
spmi_bus: qcom,spmi@200f000 {
|
|
compatible = "qcom,spmi-pmic-arb";
|
|
reg = <0x200f000 0x1000>,
|
|
<0x2400000 0x800000>,
|
|
<0x2c00000 0x800000>,
|
|
<0x3800000 0x200000>,
|
|
<0x200a000 0x2100>; /* includes SPMI_CFG and GENI_CFG */
|
|
reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
|
|
interrupts = <0 190 0>;
|
|
qcom,pmic-arb-channel = <0>;
|
|
qcom,pmic-arb-ee = <0>;
|
|
qcom,pmic-arb-max-peripherals = <256>;
|
|
qcom,pmic-arb-max-periph-interrupts = <256>;
|
|
#interrupt-cells = <3>;
|
|
interrupt-controller;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
cell-index = <0>;
|
|
};
|
|
};
|
|
|
|
#include "pmd9650.dtsi"
|
|
#include "pmd9650-rpm-regulator.dtsi"
|
|
#include "sdxnightjar-regulator.dtsi"
|
|
#include "sdxnightjar-pinctrl.dtsi"
|