Loading arch/arm/boot/dts/qcom/mdmfermium-smp2p.dtsi 0 → 100644 +83 −0 Original line number Diff line number Diff line /* Copyright (c) 2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { qcom,smp2p-modem { compatible = "qcom,smp2p"; reg = <0x0b011008 0x4>; qcom,remote-pid = <1>; qcom,irq-bitmask = <0x4000>; interrupts = <0 27 1>; }; smp2pgpio_smp2p_15_in: qcom,smp2pgpio-smp2p-15-in { compatible = "qcom,smp2pgpio"; qcom,entry-name = "smp2p"; qcom,remote-pid = <15>; qcom,is-inbound; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; qcom,smp2pgpio_test_smp2p_15_in { compatible = "qcom,smp2pgpio_test_smp2p_15_in"; gpios = <&smp2pgpio_smp2p_15_in 0 0>; }; smp2pgpio_smp2p_15_out: qcom,smp2pgpio-smp2p-15-out { compatible = "qcom,smp2pgpio"; qcom,entry-name = "smp2p"; qcom,remote-pid = <15>; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; qcom,smp2pgpio_test_smp2p_15_out { compatible = "qcom,smp2pgpio_test_smp2p_15_out"; gpios = <&smp2pgpio_smp2p_15_out 0 0>; }; smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { compatible = "qcom,smp2pgpio"; qcom,entry-name = "smp2p"; qcom,remote-pid = <1>; qcom,is-inbound; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; qcom,smp2pgpio_test_smp2p_1_in { compatible = "qcom,smp2pgpio_test_smp2p_1_in"; gpios = <&smp2pgpio_smp2p_1_in 0 0>; }; smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { compatible = "qcom,smp2pgpio"; qcom,entry-name = "smp2p"; qcom,remote-pid = <1>; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; qcom,smp2pgpio_test_smp2p_1_out { compatible = "qcom,smp2pgpio_test_smp2p_1_out"; gpios = <&smp2pgpio_smp2p_1_out 0 0>; }; }; arch/arm/boot/dts/qcom/mdmfermium.dtsi +127 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,15 @@ }; }; aliases { /* smdtty devices */ smd7 = &smdtty_data1; smd8 = &smdtty_data4; smd11 = &smdtty_data11; smd21 = &smdtty_data21; smd36 = &smdtty_loopback; }; cpus { #size-cells = <0>; #address-cells = <1>; Loading @@ -60,6 +69,7 @@ }; #include "mdmfermium-ion.dtsi" #include "mdmfermium-smp2p.dtsi" #include "mdmfermium-coresight.dtsi" Loading Loading @@ -238,6 +248,123 @@ reg = <0x1905000 0x8000>; qcom,num-locks = <8>; }; qcom,smem@87d00000 { compatible = "qcom,smem"; reg = <0x87d00000 0x100000>, <0x0b011008 0x4>, <0x60000 0x8000>, <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,smsm-modem { compatible = "qcom,smsm"; qcom,smsm-edge = <0>; qcom,smsm-irq-offset = <0x0>; qcom,smsm-irq-bitmask = <0x2000>; interrupts = <0 26 1>; }; 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; }; }; qcom,smdtty { compatible = "qcom,smdtty"; smdtty_data1: qcom,smdtty-data1 { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "DATA1"; }; smdtty_data4: qcom,smdtty-data4 { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "DATA4"; }; smdtty_data11: qcom,smdtty-data11 { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "DATA11"; }; smdtty_data21: qcom,smdtty-data21 { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "DATA21"; }; smdtty_loopback: smdtty-loopback { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "LOOPBACK"; qcom,smdtty-dev-name = "LOOPBACK_TTY"; }; }; qcom,smdpkt { compatible = "qcom,smdpkt"; qcom,smdpkt-data5-cntl { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "DATA5_CNTL"; qcom,smdpkt-dev-name = "smdcntl0"; }; qcom,smdpkt-data22 { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "DATA22"; qcom,smdpkt-dev-name = "smd22"; }; qcom,smdpkt-data40-cntl { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "DATA40_CNTL"; qcom,smdpkt-dev-name = "smdcntl8"; }; qcom,smdpkt-apr-apps2 { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "apr_apps2"; qcom,smdpkt-dev-name = "apr_apps2"; }; qcom,smdpkt-loopback { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "LOOPBACK"; qcom,smdpkt-dev-name = "smd_pkt_loopback"; }; }; qcom,ipc_router { compatible = "qcom,ipc_router"; qcom,node-id = <1>; }; qcom,ipc_router_modem_xprt { compatible = "qcom,ipc_router_smd_xprt"; qcom,ch-name = "IPCRTR"; qcom,xprt-remote = "modem"; qcom,xprt-linkid = <1>; qcom,xprt-version = <1>; qcom,fragmented-data; }; }; #include "mdmfermium-regulator.dtsi" arch/arm/configs/mdm_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -291,6 +291,7 @@ CONFIG_MSM_SUBSYSTEM_RESTART=y CONFIG_MSM_PIL=y CONFIG_MSM_PIL_MSS_QDSP6V5=y CONFIG_TRACER_PKT=y CONFIG_MSM_BAM_DMUX=y CONFIG_REMOTE_SPINLOCK_MSM=y CONFIG_EXT3_FS=y # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set Loading Loading
arch/arm/boot/dts/qcom/mdmfermium-smp2p.dtsi 0 → 100644 +83 −0 Original line number Diff line number Diff line /* Copyright (c) 2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { qcom,smp2p-modem { compatible = "qcom,smp2p"; reg = <0x0b011008 0x4>; qcom,remote-pid = <1>; qcom,irq-bitmask = <0x4000>; interrupts = <0 27 1>; }; smp2pgpio_smp2p_15_in: qcom,smp2pgpio-smp2p-15-in { compatible = "qcom,smp2pgpio"; qcom,entry-name = "smp2p"; qcom,remote-pid = <15>; qcom,is-inbound; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; qcom,smp2pgpio_test_smp2p_15_in { compatible = "qcom,smp2pgpio_test_smp2p_15_in"; gpios = <&smp2pgpio_smp2p_15_in 0 0>; }; smp2pgpio_smp2p_15_out: qcom,smp2pgpio-smp2p-15-out { compatible = "qcom,smp2pgpio"; qcom,entry-name = "smp2p"; qcom,remote-pid = <15>; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; qcom,smp2pgpio_test_smp2p_15_out { compatible = "qcom,smp2pgpio_test_smp2p_15_out"; gpios = <&smp2pgpio_smp2p_15_out 0 0>; }; smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { compatible = "qcom,smp2pgpio"; qcom,entry-name = "smp2p"; qcom,remote-pid = <1>; qcom,is-inbound; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; qcom,smp2pgpio_test_smp2p_1_in { compatible = "qcom,smp2pgpio_test_smp2p_1_in"; gpios = <&smp2pgpio_smp2p_1_in 0 0>; }; smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { compatible = "qcom,smp2pgpio"; qcom,entry-name = "smp2p"; qcom,remote-pid = <1>; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; qcom,smp2pgpio_test_smp2p_1_out { compatible = "qcom,smp2pgpio_test_smp2p_1_out"; gpios = <&smp2pgpio_smp2p_1_out 0 0>; }; };
arch/arm/boot/dts/qcom/mdmfermium.dtsi +127 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,15 @@ }; }; aliases { /* smdtty devices */ smd7 = &smdtty_data1; smd8 = &smdtty_data4; smd11 = &smdtty_data11; smd21 = &smdtty_data21; smd36 = &smdtty_loopback; }; cpus { #size-cells = <0>; #address-cells = <1>; Loading @@ -60,6 +69,7 @@ }; #include "mdmfermium-ion.dtsi" #include "mdmfermium-smp2p.dtsi" #include "mdmfermium-coresight.dtsi" Loading Loading @@ -238,6 +248,123 @@ reg = <0x1905000 0x8000>; qcom,num-locks = <8>; }; qcom,smem@87d00000 { compatible = "qcom,smem"; reg = <0x87d00000 0x100000>, <0x0b011008 0x4>, <0x60000 0x8000>, <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,smsm-modem { compatible = "qcom,smsm"; qcom,smsm-edge = <0>; qcom,smsm-irq-offset = <0x0>; qcom,smsm-irq-bitmask = <0x2000>; interrupts = <0 26 1>; }; 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; }; }; qcom,smdtty { compatible = "qcom,smdtty"; smdtty_data1: qcom,smdtty-data1 { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "DATA1"; }; smdtty_data4: qcom,smdtty-data4 { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "DATA4"; }; smdtty_data11: qcom,smdtty-data11 { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "DATA11"; }; smdtty_data21: qcom,smdtty-data21 { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "DATA21"; }; smdtty_loopback: smdtty-loopback { qcom,smdtty-remote = "modem"; qcom,smdtty-port-name = "LOOPBACK"; qcom,smdtty-dev-name = "LOOPBACK_TTY"; }; }; qcom,smdpkt { compatible = "qcom,smdpkt"; qcom,smdpkt-data5-cntl { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "DATA5_CNTL"; qcom,smdpkt-dev-name = "smdcntl0"; }; qcom,smdpkt-data22 { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "DATA22"; qcom,smdpkt-dev-name = "smd22"; }; qcom,smdpkt-data40-cntl { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "DATA40_CNTL"; qcom,smdpkt-dev-name = "smdcntl8"; }; qcom,smdpkt-apr-apps2 { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "apr_apps2"; qcom,smdpkt-dev-name = "apr_apps2"; }; qcom,smdpkt-loopback { qcom,smdpkt-remote = "modem"; qcom,smdpkt-port-name = "LOOPBACK"; qcom,smdpkt-dev-name = "smd_pkt_loopback"; }; }; qcom,ipc_router { compatible = "qcom,ipc_router"; qcom,node-id = <1>; }; qcom,ipc_router_modem_xprt { compatible = "qcom,ipc_router_smd_xprt"; qcom,ch-name = "IPCRTR"; qcom,xprt-remote = "modem"; qcom,xprt-linkid = <1>; qcom,xprt-version = <1>; qcom,fragmented-data; }; }; #include "mdmfermium-regulator.dtsi"
arch/arm/configs/mdm_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -291,6 +291,7 @@ CONFIG_MSM_SUBSYSTEM_RESTART=y CONFIG_MSM_PIL=y CONFIG_MSM_PIL_MSS_QDSP6V5=y CONFIG_TRACER_PKT=y CONFIG_MSM_BAM_DMUX=y CONFIG_REMOTE_SPINLOCK_MSM=y CONFIG_EXT3_FS=y # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set Loading