mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-23 06:14:42 +08:00
Qualcomm Device Tree Changes for v4.11
* Add Coresight components for APQ8064 * Fixup PM8058 nodes * Add APQ8060 gyro and accel support * Enable SD600 HDMI support * Add RIVA supprort for Sony Yuga and SD600 * Add PM8821 support * Add MSM8974 ADSP, USB gadget, SMD, and SMP2P support * Fix IPQ8064 clock frequencies -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJYhiypAAoJEFKiBbHx2RXVvUAP/2l1mGHcPWrQ5IYclxJUgT65 OmjA9MDWHgqpOAjibGZoNj8+CuS54/JlHCGXv9vuU9r96YmnpCyoebFdpWiE6KfM K+RYmraGVrUl673jmIxxJR5kZ3AkFb1fapfx8wBLcQ1FU8203HPB+izVrSxMFHwS KrVpJHl2qp8D6E+O6bhLl2iBQo1njwMDW0dgs+1V8mmRkeBSC44JoY/dxgay0/7M c6MP8/EWg63Luo+wrNNyiQemiyCM/ZwXOr/el62QDi0vdNVu9FTWx3iFSU3N277q Kgr+gJNrMQy8KcIrTtw5sLBTIHvrl6f7kXJ1KA6QtGEEiQI99opLwOdrqKq/O1yD bFbKLzG+KdzymTTfOf2kyB/jscQDPq9bbqTC8LYg1FVO63OHFtm2suBgZwtf8WJT j1o/pZBl7s3PpOemEfhm9i+SbwBZKfssb6cFinvqaDkfo+re3FGH02f0227YgB2Q 2xhhekEU0xUH5w5ZUWXOmvCTXYghBINEtZydCvOFETemOmpWiAT0l8BRNjdG7fid py+EVbCp19F8u/tBKb32q6yPvDZTR1vdVGiD4Pt+j09vPuU6SMagu5bmlCYqDSca bcw7g3Fa37Za8Buv3GOYByZourY4ol+1Te0tqxQbPwu5N+H5zKvHGMiUnlmbtkKD WM/tWW4vz7kDUcvRFt3c =i5Qt -----END PGP SIGNATURE----- Merge tag 'qcom-dts-for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt Qualcomm Device Tree Changes for v4.11 * Add Coresight components for APQ8064 * Fixup PM8058 nodes * Add APQ8060 gyro and accel support * Enable SD600 HDMI support * Add RIVA supprort for Sony Yuga and SD600 * Add PM8821 support * Add MSM8974 ADSP, USB gadget, SMD, and SMP2P support * Fix IPQ8064 clock frequencies * tag 'qcom-dts-for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: ARM: dts: qcom: Add apq8064 CoreSight components ARM: dts: Add gyro and accel to APQ8060 Dragonboard ARM: dts: reference PM8058 as IRQ parent ARM: dts: rename MSM8660/APQ8060 pmicintc to pm8058 ARM: dts: sd-600eval: enable 1.8v regulator on LS expansion ARM: dts: sd-600eval: add hdmi support ARM: dts: move hdmi pinctrl out of board file. ARM: dts: qcom: sd600eval: Enable riva-pil ARM: dts: qcom: sd600-eval: pm8921_s2 regulator properties ARM: dts: qcom: apq8064-sony-yuga: Enable riva-pil ARM: dts: qcom: apq8064: Add riva-pil node ARM: dts: apq8064: add support to pm8821 arm: dts: qcom: Fix ipq board clock rates ARM: dts: msm8974: Remove "unused" reserved region ARM: dts: msm8974: Add ADSP PIL node ARM: dts: msm8974: Add ADSP smp2p and smd nodes ARM: dts: qcom: msm8974: Add USB gadget nodes Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
43d08e211f
@ -220,6 +220,14 @@
|
||||
function = "ebi2";
|
||||
};
|
||||
};
|
||||
|
||||
/* Interrupt line for the KXSD9 accelerometer */
|
||||
dragon_kxsd9_gpios: kxsd9 {
|
||||
irq {
|
||||
pins = "gpio57"; /* IRQ line */
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
qcom,ssbi@500000 {
|
||||
@ -272,6 +280,15 @@
|
||||
power-source = <PM8058_GPIO_S3>;
|
||||
};
|
||||
};
|
||||
dragon_mpu3050_gpios: mpu3050-gpios {
|
||||
pinconf {
|
||||
pins = "gpio17";
|
||||
function = "normal";
|
||||
input-enable;
|
||||
bias-disable;
|
||||
power-source = <PM8058_GPIO_S3>;
|
||||
};
|
||||
};
|
||||
dragon_sdcc3_gpios: sdcc3-gpios {
|
||||
pinconf {
|
||||
pins = "gpio22";
|
||||
@ -369,8 +386,8 @@
|
||||
ak8975@0c {
|
||||
compatible = "asahi-kasei,ak8975";
|
||||
reg = <0x0c>;
|
||||
/* GPIO33 has interrupt 224 on the PM8058 */
|
||||
interrupt-parent = <&pm8058_gpio>;
|
||||
/* FIXME: GPIO33 has interrupt 224 on the PM8058 */
|
||||
interrupt-parent = <&pm8058>;
|
||||
interrupts = <224 IRQ_TYPE_EDGE_RISING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dragon_ak8975_gpios>;
|
||||
@ -380,8 +397,8 @@
|
||||
bmp085@77 {
|
||||
compatible = "bosch,bmp085";
|
||||
reg = <0x77>;
|
||||
/* GPIO16 has interrupt 207 on the PM8058 */
|
||||
interrupt-parent = <&pm8058_gpio>;
|
||||
/* FIXME: GPIO16 has interrupt 207 on the PM8058 */
|
||||
interrupt-parent = <&pm8058>;
|
||||
interrupts = <207 IRQ_TYPE_EDGE_RISING>;
|
||||
reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
@ -389,6 +406,41 @@
|
||||
vddd-supply = <&pm8058_lvs0>; // 1.8V
|
||||
vdda-supply = <&pm8058_l14>; // 2.85V
|
||||
};
|
||||
mpu3050@68 {
|
||||
compatible = "invensense,mpu3050";
|
||||
reg = <0x68>;
|
||||
/*
|
||||
* GPIO17 has interrupt 208 on the
|
||||
* PM8058, it is pulled high by a 10k
|
||||
* resistor to VLOGIC so needs to be
|
||||
* active low/falling edge.
|
||||
*/
|
||||
interrupts-extended = <&pm8058 208 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dragon_mpu3050_gpios>;
|
||||
vlogic-supply = <&pm8058_lvs0>; // 1.8V
|
||||
vdd-supply = <&pm8058_l14>; // 2.85V
|
||||
|
||||
/*
|
||||
* The MPU-3050 acts as a hub for the
|
||||
* accelerometer.
|
||||
*/
|
||||
i2c-gate {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
kxsd9@18 {
|
||||
compatible = "kionix,kxsd9";
|
||||
reg = <0x18>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <57 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dragon_kxsd9_gpios>;
|
||||
iovdd-supply = <&pm8058_lvs0>; // 1.8V
|
||||
vdd-supply = <&pm8058_l14>; // 2.85V
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@ -412,7 +464,7 @@
|
||||
* The second interrupt is the PME interrupt
|
||||
* for network wakeup, connected to the TLMM.
|
||||
*/
|
||||
interrupts-extended = <&pmicintc 198 IRQ_TYPE_EDGE_FALLING>,
|
||||
interrupts-extended = <&pm8058 198 IRQ_TYPE_EDGE_FALLING>,
|
||||
<&tlmm 29 IRQ_TYPE_EDGE_RISING>;
|
||||
reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
|
||||
vdd33a-supply = <&dragon_veth>;
|
||||
|
@ -39,6 +39,17 @@
|
||||
|
||||
};
|
||||
|
||||
hdmi-out {
|
||||
compatible = "hdmi-connector";
|
||||
type = "a";
|
||||
|
||||
port {
|
||||
hdmi_con: endpoint {
|
||||
remote-endpoint = <&hdmi_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
rpm@108000 {
|
||||
regulators {
|
||||
@ -74,6 +85,14 @@
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
s2 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <1600000>;
|
||||
bias-pull-down;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
s3 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1400000>;
|
||||
@ -121,6 +140,16 @@
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/**
|
||||
* 1.8v required on LS expansion
|
||||
* for mezzanine boards
|
||||
*/
|
||||
l15 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
l23 {
|
||||
regulator-min-microvolt = <1700000>;
|
||||
regulator-max-microvolt = <1900000>;
|
||||
@ -347,5 +376,45 @@
|
||||
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
riva-pil@3204000 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&riva_wlan_pin_a>, <&riva_bt_pin_a>, <&riva_fm_pin_a>;
|
||||
};
|
||||
|
||||
hdmi-tx@4a00000 {
|
||||
status = "okay";
|
||||
core-vdda-supply = <&pm8921_hdmi_switch>;
|
||||
hdmi-mux-supply = <&vcc3v3>;
|
||||
|
||||
hpd-gpio = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
ports {
|
||||
port@1 {
|
||||
endpoint {
|
||||
remote-endpoint = <&hdmi_con>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
hdmi-phy@4a00400 {
|
||||
status = "okay";
|
||||
core-vdda-supply = <&pm8921_hdmi_switch>;
|
||||
};
|
||||
|
||||
mdp@5100000 {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
port@3 {
|
||||
endpoint {
|
||||
remote-endpoint = <&hdmi_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -75,25 +75,6 @@
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
hdmi_pinctrl: hdmi-pinctrl {
|
||||
mux {
|
||||
pins = "gpio70", "gpio71", "gpio72";
|
||||
function = "hdmi";
|
||||
};
|
||||
|
||||
pinconf_ddc {
|
||||
pins = "gpio70", "gpio71";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
pinconf_hpd {
|
||||
pins = "gpio72";
|
||||
bias-pull-down;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
rpm@108000 {
|
||||
@ -368,9 +349,6 @@
|
||||
|
||||
hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hdmi_pinctrl>;
|
||||
|
||||
ports {
|
||||
port@0 {
|
||||
endpoint {
|
||||
|
@ -284,4 +284,41 @@
|
||||
bias-disable = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
riva_fm_pin_a: riva-fm-active {
|
||||
pins = "gpio14", "gpio15";
|
||||
function = "riva_fm";
|
||||
};
|
||||
|
||||
riva_bt_pin_a: riva-bt-active {
|
||||
pins = "gpio16", "gpio17";
|
||||
function = "riva_bt";
|
||||
};
|
||||
|
||||
riva_wlan_pin_a: riva-wlan-active {
|
||||
pins = "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
|
||||
function = "riva_wlan";
|
||||
|
||||
drive-strength = <6>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
hdmi_pinctrl: hdmi-pinctrl {
|
||||
mux {
|
||||
pins = "gpio70", "gpio71", "gpio72";
|
||||
function = "hdmi";
|
||||
};
|
||||
|
||||
pinconf_ddc {
|
||||
pins = "gpio70", "gpio71";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
pinconf_hpd {
|
||||
pins = "gpio72";
|
||||
bias-pull-down;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -390,5 +390,12 @@
|
||||
pinctrl-0 = <&sdcc3_pins>, <&sdcc3_cd_pin_a>;
|
||||
};
|
||||
};
|
||||
|
||||
riva-pil@3204000 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&riva_wlan_pin_a>, <&riva_bt_pin_a>, <&riva_fm_pin_a>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -22,13 +22,18 @@
|
||||
reg = <0x80000000 0x200000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
wcnss_mem: wcnss@8f000000 {
|
||||
reg = <0x8f000000 0x700000>;
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
CPU0: cpu@0 {
|
||||
compatible = "qcom,krait";
|
||||
enable-method = "qcom,kpss-acc-v1";
|
||||
device_type = "cpu";
|
||||
@ -39,7 +44,7 @@
|
||||
cpu-idle-states = <&CPU_SPC>;
|
||||
};
|
||||
|
||||
cpu@1 {
|
||||
CPU1: cpu@1 {
|
||||
compatible = "qcom,krait";
|
||||
enable-method = "qcom,kpss-acc-v1";
|
||||
device_type = "cpu";
|
||||
@ -50,7 +55,7 @@
|
||||
cpu-idle-states = <&CPU_SPC>;
|
||||
};
|
||||
|
||||
cpu@2 {
|
||||
CPU2: cpu@2 {
|
||||
compatible = "qcom,krait";
|
||||
enable-method = "qcom,kpss-acc-v1";
|
||||
device_type = "cpu";
|
||||
@ -61,7 +66,7 @@
|
||||
cpu-idle-states = <&CPU_SPC>;
|
||||
};
|
||||
|
||||
cpu@3 {
|
||||
CPU3: cpu@3 {
|
||||
compatible = "qcom,krait";
|
||||
enable-method = "qcom,kpss-acc-v1";
|
||||
device_type = "cpu";
|
||||
@ -180,7 +185,7 @@
|
||||
};
|
||||
|
||||
clocks {
|
||||
cxo_board {
|
||||
cxo_board: cxo_board {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <19200000>;
|
||||
@ -631,6 +636,33 @@
|
||||
clock-names = "core";
|
||||
};
|
||||
|
||||
ssbi@c00000 {
|
||||
compatible = "qcom,ssbi";
|
||||
reg = <0x00c00000 0x1000>;
|
||||
qcom,controller-type = "pmic-arbiter";
|
||||
|
||||
pm8821: pmic@1 {
|
||||
compatible = "qcom,pm8821";
|
||||
interrupt-parent = <&tlmm_pinmux>;
|
||||
interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
|
||||
#interrupt-cells = <2>;
|
||||
interrupt-controller;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pm8821_mpps: mpps@50 {
|
||||
compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
|
||||
reg = <0x50>;
|
||||
interrupts = <24 IRQ_TYPE_NONE>,
|
||||
<25 IRQ_TYPE_NONE>,
|
||||
<26 IRQ_TYPE_NONE>,
|
||||
<27 IRQ_TYPE_NONE>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
qcom,ssbi@500000 {
|
||||
compatible = "qcom,ssbi";
|
||||
reg = <0x00500000 0x1000>;
|
||||
@ -1327,6 +1359,8 @@
|
||||
|
||||
hdmi: hdmi-tx@4a00000 {
|
||||
compatible = "qcom,hdmi-tx-8960";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hdmi_pinctrl>;
|
||||
reg = <0x04a00000 0x2f0>;
|
||||
reg-names = "core_physical";
|
||||
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
|
||||
@ -1420,6 +1454,249 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
riva: riva-pil@3204000 {
|
||||
compatible = "qcom,riva-pil";
|
||||
|
||||
reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>;
|
||||
reg-names = "ccu", "dxe", "pmu";
|
||||
|
||||
interrupts-extended = <&intc GIC_SPI 199 IRQ_TYPE_EDGE_RISING>,
|
||||
<&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupt-names = "wdog", "fatal";
|
||||
|
||||
memory-region = <&wcnss_mem>;
|
||||
|
||||
vddcx-supply = <&pm8921_s3>;
|
||||
vddmx-supply = <&pm8921_l24>;
|
||||
vddpx-supply = <&pm8921_s4>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
iris {
|
||||
compatible = "qcom,wcn3660";
|
||||
|
||||
clocks = <&cxo_board>;
|
||||
clock-names = "xo";
|
||||
|
||||
vddxo-supply = <&pm8921_l4>;
|
||||
vddrfa-supply = <&pm8921_s2>;
|
||||
vddpa-supply = <&pm8921_l10>;
|
||||
vdddig-supply = <&pm8921_lvs2>;
|
||||
};
|
||||
|
||||
smd-edge {
|
||||
interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
qcom,ipc = <&l2cc 8 25>;
|
||||
qcom,smd-edge = <6>;
|
||||
|
||||
label = "riva";
|
||||
|
||||
wcnss {
|
||||
compatible = "qcom,wcnss";
|
||||
qcom,smd-channels = "WCNSS_CTRL";
|
||||
|
||||
qcom,mmio = <&riva>;
|
||||
|
||||
bt {
|
||||
compatible = "qcom,wcnss-bt";
|
||||
};
|
||||
|
||||
wifi {
|
||||
compatible = "qcom,wcnss-wlan";
|
||||
|
||||
interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "tx", "rx";
|
||||
|
||||
qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
|
||||
qcom,smem-state-names = "tx-enable", "tx-rings-empty";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
etb@1a01000 {
|
||||
compatible = "coresight-etb10", "arm,primecell";
|
||||
reg = <0x1a01000 0x1000>;
|
||||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
|
||||
port {
|
||||
etb_in: endpoint {
|
||||
slave-mode;
|
||||
remote-endpoint = <&replicator_out0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
tpiu@1a03000 {
|
||||
compatible = "arm,coresight-tpiu", "arm,primecell";
|
||||
reg = <0x1a03000 0x1000>;
|
||||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
|
||||
port {
|
||||
tpiu_in: endpoint {
|
||||
slave-mode;
|
||||
remote-endpoint = <&replicator_out1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
replicator {
|
||||
compatible = "arm,coresight-replicator";
|
||||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
replicator_out0: endpoint {
|
||||
remote-endpoint = <&etb_in>;
|
||||
};
|
||||
};
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
replicator_out1: endpoint {
|
||||
remote-endpoint = <&tpiu_in>;
|
||||
};
|
||||
};
|
||||
port@2 {
|
||||
reg = <0>;
|
||||
replicator_in: endpoint {
|
||||
slave-mode;
|
||||
remote-endpoint = <&funnel_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
funnel@1a04000 {
|
||||
compatible = "arm,coresight-funnel", "arm,primecell";
|
||||
reg = <0x1a04000 0x1000>;
|
||||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
/*
|
||||
* Not described input ports:
|
||||
* 2 - connected to STM component
|
||||
* 3 - not-connected
|
||||
* 6 - not-connected
|
||||
* 7 - not-connected
|
||||
*/
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
funnel_in0: endpoint {
|
||||
slave-mode;
|
||||
remote-endpoint = <&etm0_out>;
|
||||
};
|
||||
};
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
funnel_in1: endpoint {
|
||||
slave-mode;
|
||||
remote-endpoint = <&etm1_out>;
|
||||
};
|
||||
};
|
||||
port@4 {
|
||||
reg = <4>;
|
||||
funnel_in4: endpoint {
|
||||
slave-mode;
|
||||
remote-endpoint = <&etm2_out>;
|
||||
};
|
||||
};
|
||||
port@5 {
|
||||
reg = <5>;
|
||||
funnel_in5: endpoint {
|
||||
slave-mode;
|
||||
remote-endpoint = <&etm3_out>;
|
||||
};
|
||||
};
|
||||
port@8 {
|
||||
reg = <0>;
|
||||
funnel_out: endpoint {
|
||||
remote-endpoint = <&replicator_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
etm@1a1c000 {
|
||||
compatible = "arm,coresight-etm3x", "arm,primecell";
|
||||
reg = <0x1a1c000 0x1000>;
|
||||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
|
||||
cpu = <&CPU0>;
|
||||
|
||||
port {
|
||||
etm0_out: endpoint {
|
||||
remote-endpoint = <&funnel_in0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
etm@1a1d000 {
|
||||
compatible = "arm,coresight-etm3x", "arm,primecell";
|
||||
reg = <0x1a1d000 0x1000>;
|
||||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
|
||||
cpu = <&CPU1>;
|
||||
|
||||
port {
|
||||
etm1_out: endpoint {
|
||||
remote-endpoint = <&funnel_in1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
etm@1a1e000 {
|
||||
compatible = "arm,coresight-etm3x", "arm,primecell";
|
||||
reg = <0x1a1e000 0x1000>;
|
||||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
|
||||
cpu = <&CPU2>;
|
||||
|
||||
port {
|
||||
etm2_out: endpoint {
|
||||
remote-endpoint = <&funnel_in4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
etm@1a1f000 {
|
||||
compatible = "arm,coresight-etm3x", "arm,primecell";
|
||||
reg = <0x1a1f000 0x1000>;
|
||||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||
clock-names = "apb_pclk";
|
||||
|
||||
cpu = <&CPU3>;
|
||||
|
||||
port {
|
||||
etm3_out: endpoint {
|
||||
remote-endpoint = <&funnel_in5>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
#include "qcom-apq8064-pins.dtsi"
|
||||
|
@ -65,13 +65,13 @@
|
||||
cxo_board {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <19200000>;
|
||||
clock-frequency = <25000000>;
|
||||
};
|
||||
|
||||
pxo_board {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <27000000>;
|
||||
clock-frequency = <25000000>;
|
||||
};
|
||||
|
||||
sleep_clk: sleep_clk {
|
||||
|
@ -48,7 +48,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
&pmicintc {
|
||||
&pm8058 {
|
||||
keypad@148 {
|
||||
linux,keymap = <
|
||||
MATRIX_KEY(0, 0, KEY_FN_F1)
|
||||
|
@ -163,7 +163,7 @@
|
||||
reg = <0x500000 0x1000>;
|
||||
qcom,controller-type = "pmic-arbiter";
|
||||
|
||||
pmicintc: pmic@0 {
|
||||
pm8058: pmic@0 {
|
||||
compatible = "qcom,pm8058";
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <88 8>;
|
||||
@ -176,7 +176,7 @@
|
||||
compatible = "qcom,pm8058-gpio",
|
||||
"qcom,ssbi-gpio";
|
||||
reg = <0x150>;
|
||||
interrupt-parent = <&pmicintc>;
|
||||
interrupt-parent = <&pm8058>;
|
||||
interrupts = <192 IRQ_TYPE_NONE>,
|
||||
<193 IRQ_TYPE_NONE>,
|
||||
<194 IRQ_TYPE_NONE>,
|
||||
@ -232,7 +232,7 @@
|
||||
reg = <0x50>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-parent = <&pmicintc>;
|
||||
interrupt-parent = <&pm8058>;
|
||||
interrupts =
|
||||
<128 IRQ_TYPE_NONE>,
|
||||
<129 IRQ_TYPE_NONE>,
|
||||
@ -251,7 +251,7 @@
|
||||
pwrkey@1c {
|
||||
compatible = "qcom,pm8058-pwrkey";
|
||||
reg = <0x1c>;
|
||||
interrupt-parent = <&pmicintc>;
|
||||
interrupt-parent = <&pm8058>;
|
||||
interrupts = <50 1>, <51 1>;
|
||||
debounce = <15625>;
|
||||
pull-up;
|
||||
@ -260,7 +260,7 @@
|
||||
keypad@148 {
|
||||
compatible = "qcom,pm8058-keypad";
|
||||
reg = <0x148>;
|
||||
interrupt-parent = <&pmicintc>;
|
||||
interrupt-parent = <&pm8058>;
|
||||
interrupts = <74 1>, <75 1>;
|
||||
debounce = <15>;
|
||||
scan-delay = <32>;
|
||||
@ -270,7 +270,7 @@
|
||||
rtc@1e8 {
|
||||
compatible = "qcom,pm8058-rtc";
|
||||
reg = <0x1e8>;
|
||||
interrupt-parent = <&pmicintc>;
|
||||
interrupt-parent = <&pm8058>;
|
||||
interrupts = <39 1>;
|
||||
allow-set-time;
|
||||
};
|
||||
|
@ -413,6 +413,14 @@
|
||||
dma-controller@f9944000 {
|
||||
qcom,controlled-remotely;
|
||||
};
|
||||
|
||||
usb-phy@f9a55000 {
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
usb@f9a55000 {
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
|
||||
&spmi_bus {
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/clock/qcom,gcc-msm8974.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/reset/qcom,gcc-msm8974.h>
|
||||
#include "skeleton.dtsi"
|
||||
|
||||
/ {
|
||||
@ -30,7 +31,7 @@
|
||||
no-map;
|
||||
};
|
||||
|
||||
adsp@0dc00000 {
|
||||
adsp_region: adsp@0dc00000 {
|
||||
reg = <0x0dc00000 0x1900000>;
|
||||
no-map;
|
||||
};
|
||||
@ -59,11 +60,6 @@
|
||||
reg = <0x0fd80000 0x180000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
unused@0ff00000 {
|
||||
reg = <0x0ff00000 0x10100000>;
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
|
||||
cpus {
|
||||
@ -242,6 +238,24 @@
|
||||
clock-frequency = <19200000>;
|
||||
};
|
||||
|
||||
adsp-pil {
|
||||
compatible = "qcom,msm8974-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";
|
||||
|
||||
cx-supply = <&pm8841_s2>;
|
||||
|
||||
memory-region = <&adsp_region>;
|
||||
|
||||
qcom,smem-states = <&adsp_smp2p_out 0>;
|
||||
qcom,smem-state-names = "stop";
|
||||
};
|
||||
|
||||
smem {
|
||||
compatible = "qcom,smem";
|
||||
|
||||
@ -251,6 +265,31 @@
|
||||
hwlocks = <&tcsr_mutex 3>;
|
||||
};
|
||||
|
||||
smp2p-adsp {
|
||||
compatible = "qcom,smp2p";
|
||||
qcom,smem = <443>, <429>;
|
||||
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <0 158 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
qcom,ipc = <&apcs 8 10>;
|
||||
|
||||
qcom,local-pid = <0>;
|
||||
qcom,remote-pid = <2>;
|
||||
|
||||
adsp_smp2p_out: master-kernel {
|
||||
qcom,entry-name = "master-kernel";
|
||||
#qcom,smem-state-cells = <1>;
|
||||
};
|
||||
|
||||
adsp_smp2p_in: slave-kernel {
|
||||
qcom,entry-name = "slave-kernel";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
smp2p-modem {
|
||||
compatible = "qcom,smp2p";
|
||||
qcom,smem = <435>, <428>;
|
||||
@ -655,11 +694,56 @@
|
||||
#dma-cells = <1>;
|
||||
qcom,ee = <0>;
|
||||
};
|
||||
|
||||
usb1_phy: usb-phy@f9a55000 {
|
||||
compatible = "qcom,usb-otg-snps";
|
||||
|
||||
reg = <0xf9a55000 0x400>;
|
||||
interrupts-extended = <&intc 0 134 0>, <&intc 0 140 0>,
|
||||
<&spmi_bus 0 0x9 0 0>;
|
||||
interrupt-names = "core_irq", "async_irq", "pmic_id_irq";
|
||||
|
||||
vddcx-supply = <&pm8841_s2>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
|
||||
dr_mode = "otg";
|
||||
qcom,phy-init-sequence = <0x63 0x81 0xfffffff>;
|
||||
qcom,otg-control = <1>;
|
||||
qcom,phy-num = <0>;
|
||||
|
||||
resets = <&gcc GCC_USB2A_PHY_BCR>, <&gcc GCC_USB_HS_BCR>;
|
||||
reset-names = "phy", "link";
|
||||
|
||||
clocks = <&gcc GCC_XO_CLK>, <&gcc GCC_USB_HS_SYSTEM_CLK>,
|
||||
<&gcc GCC_USB_HS_AHB_CLK>;
|
||||
clock-names = "phy", "core", "iface";
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
usb@f9a55000 {
|
||||
compatible = "qcom,ci-hdrc";
|
||||
reg = <0xf9a55000 0x400>;
|
||||
dr_mode = "otg";
|
||||
interrupts = <0 134 0>, <0 140 0>;
|
||||
interrupt-names = "core_irq", "async_irq";
|
||||
usb-phy = <&usb1_phy>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
smd {
|
||||
compatible = "qcom,smd";
|
||||
|
||||
adsp {
|
||||
interrupts = <0 156 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
qcom,ipc = <&apcs 8 8>;
|
||||
qcom,smd-edge = <1>;
|
||||
};
|
||||
|
||||
modem {
|
||||
interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user