Qualcomm ARM64 Updates for v4.12

* Fixup MSM8996 SMP2P and add ADSP PIL / SLPI SMP2P node
 * Replace PMU compatible w/ A53 specific one
 * Add APQ8016 ramoops
 * Update MSM8916 hexagon node
 * Add PM8994 RTC
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJY5tYFAAoJEFKiBbHx2RXVmmcP/12qDv1XsywbDo0ib3Elnjbe
 lRRBG1WCK8II+ludg9eXgeADkzYlCWJ3lPxux95BHvwFpDmd1I6gD7E6a8d6NBRs
 FOmyf9+3QHGEI8jUqr/1oNDXQRhEj7UiHtN4Hrr3kZIjE7sjsfKr+ZvCXly38IIE
 vQTN3KdwnOSZm/KgyU13BdtphFfogRxtxzbiBKGN3sMRqHtfRndnqDOxWrpOYTZM
 IQjxf0xZdHhDOXGRgXNHa7ljdQ/gmhBYOdYBaj6KJV+pgWiF2i/zaxt8tejPXoxV
 +jl2uIF3iWjVDL7fg71q0wdoQ9p3mCXA0zcvB+rvFGWawDanh+Rgv5PqyYNv96gH
 6C6LBajKGDxBn72HJ/GjcxpZldLhz2x9gdG0IPVVgRLha2Sj49RQn5tjTKEzF7AW
 zkYBU+2LUmIe4Ns1PfFeDqtE0k+kyKvUoQhH6cHUt5ePmtVErJpRog52BRxdbRtd
 Xke3DYXjVdrS097qMmISxC6O1BDFMEhc18+exaFOhcuDhBxze7vx72b2n9K6Dcl9
 HuA3TmGH8RsFcB8rXhumHbgc3vtZ7ohIuRLMnFx5WoDIb+w8j2Q1qe5XuIFicxYF
 nr4+/bDKwmWwjqvoAm5cCTaCQFxUrisj39sCPWXihMaTUcIC7Vc5BO0TOiqyKdUo
 QrTpACwrFYStYzBbFHzj
 =3+wW
 -----END PGP SIGNATURE-----

Merge tag 'qcom-arm64-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt64

Qualcomm ARM64 Updates for v4.12

* Fixup MSM8996 SMP2P and add ADSP PIL / SLPI SMP2P node
* Replace PMU compatible w/ A53 specific one
* Add APQ8016 ramoops
* Update MSM8916 hexagon node
* Add PM8994 RTC

* tag 'qcom-arm64-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  arm64: dts: msm8996: Add ADSP PIL node
  arm64: dts: qcom: pm8994: Add rtc node
  arm64: dts: apq8016-sbc: Add ramoops
  arm64: dts: qcom: msm8916: Update hexagon node
  arm64: dts: msm8996: Add SLPI SMP2P dt node.
  arm64: dts: qcom: Replace PMU compatible with a53 specific one
  arm64: dts: qcom: msm8996: Fixup smp2p node

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2017-04-19 06:32:42 -07:00
commit f6b71673e1
4 changed files with 78 additions and 12 deletions

View File

@ -35,6 +35,17 @@ chosen {
stdout-path = "serial0";
};
reserved-memory {
ramoops@bff00000{
compatible = "ramoops";
reg = <0x0 0xbff00000 0x0 0x100000>;
record-size = <0x20000>;
console-size = <0x20000>;
ftrace-size = <0x20000>;
};
};
soc {
dma@7884000 {
status = "okay";

View File

@ -157,7 +157,7 @@ psci {
};
pmu {
compatible = "arm,armv8-pmuv3";
compatible = "arm,cortex-a53-pmu";
interrupts = <GIC_PPI 7 GIC_CPU_MASK_SIMPLE(4)>;
};
@ -833,8 +833,9 @@ hexagon@4080000 {
clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
<&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
<&gcc GCC_BOOT_ROM_AHB_CLK>;
clock-names = "iface", "bus", "mem";
<&gcc GCC_BOOT_ROM_AHB_CLK>,
<&xo_board>;
clock-names = "iface", "bus", "mem", "xo";
qcom,smem-states = <&hexagon_smp2p_out 0>;
qcom,smem-state-names = "stop";
@ -842,6 +843,7 @@ hexagon@4080000 {
resets = <&scm 0>;
reset-names = "mss_restart";
cx-supply = <&pm8916_s1>;
mx-supply = <&pm8916_l3>;
pll-supply = <&pm8916_l7>;
@ -856,6 +858,16 @@ mba {
mpss {
memory-region = <&mpss_mem>;
};
smd-edge {
interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;
qcom,smd-edge = <0>;
qcom,ipc = <&apcs 8 12>;
qcom,remote-pid = <1>;
label = "hexagon";
};
};
pronto: wcnss@a21b000 {
@ -1214,14 +1226,6 @@ smd_rpm_regulators: pm8916-regulators {
};
};
};
hexagon {
interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;
qcom,smd-edge = <0>;
qcom,ipc = <&apcs 8 12>;
qcom,remote-pid = <1>;
};
};
hexagon-smp2p {

View File

@ -534,6 +534,26 @@ mmcc: clock-controller@8c0000 {
};
};
adsp-pil {
compatible = "qcom,msm8996-adsp-pil";
interrupts-extended = <&intc 0 162 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack";
clocks = <&xo_board>;
clock-names = "xo";
memory-region = <&adsp_region>;
qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "stop";
};
adsp-smp2p {
compatible = "qcom,smp2p";
qcom,smem = <443>, <429>;
@ -547,7 +567,7 @@ adsp-smp2p {
adsp_smp2p_out: master-kernel {
qcom,entry-name = "master-kernel";
#qcom,state-cells = <1>;
#qcom,smem-state-cells = <1>;
};
adsp_smp2p_in: slave-kernel {
@ -557,5 +577,29 @@ adsp_smp2p_in: slave-kernel {
#interrupt-cells = <2>;
};
};
smp2p-slpi {
compatible = "qcom,smp2p";
qcom,smem = <481>, <430>;
interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
qcom,ipc = <&apcs 16 26>;
qcom,local-pid = <0>;
qcom,remote-pid = <3>;
slpi_smp2p_in: slave-kernel {
qcom,entry-name = "slave-kernel";
interrupt-controller;
#interrupt-cells = <2>;
};
slpi_smp2p_out: master-kernel {
qcom,entry-name = "master-kernel";
#qcom,smem-state-cells = <1>;
};
};
};
#include "msm8996-pins.dtsi"

View File

@ -9,6 +9,13 @@ pmic@0 {
#address-cells = <1>;
#size-cells = <0>;
rtc@6000 {
compatible = "qcom,pm8941-rtc";
reg = <0x6000>, <0x6100>;
reg-names = "rtc", "alarm";
interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
};
pm8994_gpios: gpios@c000 {
compatible = "qcom,pm8994-gpio";
reg = <0xc000>;