mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
ARM: dts: msm: add spmi_debug_bus for sdxlemur
Add spmi_debug_bus so that PMIC peripherals can be accessed via debug bus on sdxlemur devices where the fuse is not blown. This is useful for debugging. Change-Id: Ica647e8eee31028d25363aec88dd102cc0780ab6
This commit is contained in:
parent
7840876856
commit
1b2dafb3b2
3 changed files with 50 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "sdxlemur-mtp.dtsi"
|
||||
#include "pm7250b.dtsi"
|
||||
#include <dt-bindings/iio/qti_power_supply_iio.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
||||
&pm7250b_clkdiv {
|
||||
clocks = <&rpmhcc RPMH_CXO_CLK>;
|
||||
|
|
@ -14,6 +15,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
&spmi_debug_bus {
|
||||
qcom,pm7250b-debug@2 {
|
||||
compatible = "qcom,spmi-pmic";
|
||||
reg = <2 SPMI_USID>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
qcom,can-sleep;
|
||||
};
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
qcom,boot-option = <0x1>;
|
||||
qcom,l1-2-th-scale = <2>; /* 1us */
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#include "sdxlemur-pmic-overlay.dtsi"
|
||||
#include "pm7250b.dtsi"
|
||||
#include <dt-bindings/iio/qti_power_supply_iio.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
||||
&pm7250b_clkdiv {
|
||||
clocks = <&rpmhcc RPMH_CXO_CLK>;
|
||||
|
|
@ -14,6 +15,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
&spmi_debug_bus {
|
||||
qcom,pm7250b-debug@2 {
|
||||
compatible = "qcom,spmi-pmic";
|
||||
reg = <2 SPMI_USID>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
qcom,can-sleep;
|
||||
};
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
qcom,boot-option = <0x1>;
|
||||
qcom,l1-2-th-scale = <2>; /* 1us */
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include <dt-bindings/interconnect/qcom,sdxlemur.h>
|
||||
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
|
||||
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
|
|
@ -904,6 +905,33 @@
|
|||
qcom,ee = <0>;
|
||||
};
|
||||
|
||||
spmi_debug_bus: qcom,spmi-debug@6b12000 {
|
||||
compatible = "qcom,spmi-pmic-arb-debug";
|
||||
reg = <0x6b12000 0x60>, <0x7820a8 0x4>;
|
||||
reg-names = "core", "fuse";
|
||||
clocks = <&aopcc QDSS_CLK>;
|
||||
clock-names = "core_clk";
|
||||
qcom,fuse-disable-bit = <24>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
|
||||
qcom,pmk8350-debug@0 {
|
||||
compatible = "qcom,spmi-pmic";
|
||||
reg = <0 SPMI_USID>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
qcom,can-sleep;
|
||||
};
|
||||
|
||||
qcom,pmx65-debug@1 {
|
||||
compatible = "qcom,spmi-pmic";
|
||||
reg = <1 SPMI_USID>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
qcom,can-sleep;
|
||||
};
|
||||
};
|
||||
|
||||
thermal_zones: thermal-zones {
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue