diff options
author | Sanrio Alvares <salvares@codeaurora.org> | 2016-01-05 11:15:37 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:17:17 -0700 |
commit | 63b89ec01e7dec6476574b395a7c747e70a1e81b (patch) | |
tree | 06fab54dc1caf02963b8cbd8e0ceb315928b228c /arch | |
parent | e74ab64475d959b4356ce7d7e92b75c5f0fc4494 (diff) |
ARM: dts: msm: Add support for MSM8996pro
Add device tree support for MSM8996pro along with different PMIC
configurations it supports.
Change-Id: I9d386b79f2324180c2001d382f89c4163fd1af62
Signed-off-by: Sanrio Alvares <salvares@codeaurora.org>
Diffstat (limited to 'arch')
14 files changed, 315 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index 20ccf581ef85..5440dbad9f2b 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -26,6 +26,18 @@ dtb-$(CONFIG_ARCH_MSM8996) += msm8996-v2-pmi8994-cdp.dtb \ msm8996-v3-dtp.dtb \ msm8996-v3-pm8004-mmxf-adp.dtb \ msm8996-v3-pm8004-agave-adp.dtb \ + msm8996pro-pmi8994-cdp.dtb \ + msm8996pro-pmi8994-mtp.dtb \ + msm8996pro-pmi8994-pmk8001-cdp.dtb \ + msm8996pro-pmi8994-pmk8001-mtp.dtb \ + msm8996pro-pmi8994-pm8004-cdp.dtb \ + msm8996pro-pmi8994-pm8004-mtp.dtb \ + msm8996pro-pmi8994-pm8004-pmk8001-cdp.dtb \ + msm8996pro-pmi8994-pm8004-pmk8001-mtp.dtb \ + msm8996pro-pmi8996-cdp.dtb \ + msm8996pro-pmi8996-mtp.dtb \ + msm8996pro-pmi8996-pmk8001-cdp.dtb \ + msm8996pro-pmi8996-pmk8001-mtp.dtb \ msm8996-v3.0-pmi8994-cdp.dtb \ msm8996-v3.0-pmi8994-mtp.dtb \ msm8996-v3.0-pmi8994-pm8004-cdp.dtb \ diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-cdp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-cdp.dts new file mode 100644 index 000000000000..f178aad48b96 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-cdp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. + */ + + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8994 CDP"; + compatible = "qcom,msm8996-cdp", "qcom,msm8996", "qcom,cdp"; + qcom,board-id = <1 0>, <0x01000001 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-mtp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-mtp.dts new file mode 100644 index 000000000000..8b5b98b2ff61 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-mtp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. + */ + + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-mtp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8994 MTP"; + compatible = "qcom,msm8996-mtp", "qcom,msm8996", "qcom,mtp"; + qcom,board-id = <8 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-cdp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-cdp.dts new file mode 100644 index 000000000000..6e3aa371c744 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-cdp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. + */ + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-pm8994-pmi8994-pm8004.dtsi" +#include "msm8996-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8994 + PM8004 CDP"; + compatible = "qcom,msm8996-cdp", "qcom,msm8996", "qcom,cdp"; + qcom,board-id = <1 0>, <0x01000001 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-mtp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-mtp.dts new file mode 100644 index 000000000000..b4919ee400f2 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-mtp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. + */ + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-pm8994-pmi8994-pm8004.dtsi" +#include "msm8996-mtp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8994 + PM8004 MTP"; + compatible = "qcom,msm8996-mtp", "qcom,msm8996", "qcom,mtp"; + qcom,board-id = <8 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-pmk8001-cdp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-pmk8001-cdp.dts new file mode 100644 index 000000000000..9fb0648c0db4 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-pmk8001-cdp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. + */ + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-pm8994-pmi8994-pm8004-pmk8001.dtsi" +#include "msm8996-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8994 + PM8004 + PMK8001 CDP"; + compatible = "qcom,msm8996-cdp", "qcom,msm8996", "qcom,cdp"; + qcom,board-id = <1 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-pmk8001-mtp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-pmk8001-mtp.dts new file mode 100644 index 000000000000..ce9da52f0808 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pm8004-pmk8001-mtp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. + */ + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-pm8994-pmi8994-pm8004-pmk8001.dtsi" +#include "msm8996-mtp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8994 + PM8004 + PMK8001 MTP"; + compatible = "qcom,msm8996-mtp", "qcom,msm8996", "qcom,mtp"; + qcom,board-id = <8 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pmk8001-cdp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pmk8001-cdp.dts new file mode 100644 index 000000000000..15b4899b3306 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pmk8001-cdp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. +*/ + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-pm8994-pmi8994-pmk8001.dtsi" +#include "msm8996-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8994 + PMK8001 CDP"; + compatible = "qcom,msm8996-cdp", "qcom,msm8996", "qcom,cdp"; + qcom,board-id = <1 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pmk8001-mtp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pmk8001-mtp.dts new file mode 100644 index 000000000000..997cfc9599de --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8994-pmk8001-mtp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. +*/ + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-pm8994-pmi8994-pmk8001.dtsi" +#include "msm8996-mtp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8994 + PMK8001 MTP"; + compatible = "qcom,msm8996-mtp", "qcom,msm8996", "qcom,mtp"; + qcom,board-id = <8 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-cdp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-cdp.dts new file mode 100644 index 000000000000..090071488d58 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-cdp.dts @@ -0,0 +1,24 @@ +/* Copyright (c) 2016, 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. + */ + + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm-pmi8996.dtsi" +#include "msm8996-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8996 CDP"; + compatible = "qcom,msm8996-cdp", "qcom,msm8996", "qcom,cdp"; + qcom,board-id = <1 0>, <0x01000001 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-mtp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-mtp.dts new file mode 100644 index 000000000000..26e774fe4913 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-mtp.dts @@ -0,0 +1,24 @@ +/* Copyright (c) 2016, 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. + */ + + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm-pmi8996.dtsi" +#include "msm8996-mtp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PMI8996 MTP"; + compatible = "qcom,msm8996-mtp", "qcom,msm8996", "qcom,mtp"; + qcom,board-id = <8 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-pmk8001-cdp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-pmk8001-cdp.dts new file mode 100644 index 000000000000..7416be9fef06 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-pmk8001-cdp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. + */ + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-pm8994-pmi8996-pmk8001.dtsi" +#include "msm8996-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PM8994 + PMI8996 + PMK8001 CDP"; + compatible = "qcom,msm8996-cdp", "qcom,msm8996", "qcom,cdp"; + qcom,board-id = <1 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-pmk8001-mtp.dts b/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-pmk8001-mtp.dts new file mode 100644 index 000000000000..17037e1755d6 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro-pmi8996-pmk8001-mtp.dts @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, 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. + */ + +/dts-v1/; + +#include "msm8996pro.dtsi" +#include "msm8996-pm8994-pmi8996-pmk8001.dtsi" +#include "msm8996-mtp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro + PM8994 + PMI8996 + PMK8001 MTP"; + compatible = "qcom,msm8996-mtp", "qcom,msm8996", "qcom,mtp"; + qcom,board-id = <8 0>; +}; diff --git a/arch/arm/boot/dts/qcom/msm8996pro.dtsi b/arch/arm/boot/dts/qcom/msm8996pro.dtsi new file mode 100644 index 000000000000..4f731a37d748 --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8996pro.dtsi @@ -0,0 +1,25 @@ +/* Copyright (c) 2014-2016, 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. + */ + +/* + * As a general rule, only version-specific property overrides should be placed + * inside this file. Common device definitions should be placed inside the + * msm8996.dtsi file. + */ + +#include "msm8996.dtsi" +#include "msm8996-coresight-v3.dtsi" +#include "msm-arm-smmu-impl-defs-8996-v3.dtsi" +/ { + model = "Qualcomm Technologies, Inc. MSM 8996pro"; + qcom,msm-id = <305 0x20000>; +}; |