ARM: dts: msm: Add device tree for sa6155 and sa6155p

Add initial device tree support for APQ and MSM version of
SA6155 based automotive platforms.

Change-Id: Icbf08e920b9ee755b91e5318a82f23a8b68b47a8
Signed-off-by: Arun KS <arunks@codeaurora.org>
tirimbino
Arun KS 7 years ago
parent 60733446ef
commit 2cbb1907ef
  1. 3
      Documentation/devicetree/bindings/arm/msm/msm.txt
  2. 11
      arch/arm64/boot/dts/qcom/Makefile
  3. 25
      arch/arm64/boot/dts/qcom/sa6155-adp-star-overlay.dts
  4. 21
      arch/arm64/boot/dts/qcom/sa6155-adp-star.dts
  5. 23
      arch/arm64/boot/dts/qcom/sa6155-adp-star.dtsi
  6. 21
      arch/arm64/boot/dts/qcom/sa6155.dts
  7. 20
      arch/arm64/boot/dts/qcom/sa6155.dtsi
  8. 25
      arch/arm64/boot/dts/qcom/sa6155p-adp-star-overlay.dts
  9. 22
      arch/arm64/boot/dts/qcom/sa6155p-adp-star.dts
  10. 21
      arch/arm64/boot/dts/qcom/sa6155p.dts
  11. 19
      arch/arm64/boot/dts/qcom/sa6155p.dtsi

@ -163,6 +163,9 @@ compatible = "qcom,sm6150-idp"
compatible = "qcom,sm6150p-idp"
compatible = "qcom,sm6150p"
compatible = "qcom,sm6150p-qrd"
compatible = "qcom,sa6155-adp-star"
compatible = "qcom,sa6155p-adp-star"
compatible = "qcom,sa6155p"
compatible = "qcom,qcs405-rumi"
compatible = "qcom,qcs405-iot"
compatible = "qcom,qcs403-iot"

@ -85,7 +85,9 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
sm6150p-qrd-overlay.dtbo \
sm6150p-idp-overlay.dtbo \
sm6150-external-codec-idp-overlay.dtbo \
sm6150-usbc-idp-overlay.dtbo
sm6150-usbc-idp-overlay.dtbo \
sa6155-adp-star-overlay.dtbo \
sa6155p-adp-star-overlay.dtbo
sm6150-rumi-overlay.dtbo-base := sm6150.dtb
sm6150-qrd-overlay.dtbo-base := sm6150.dtb
@ -94,6 +96,8 @@ sm6150p-qrd-overlay.dtbo-base := sm6150p.dtb
sm6150p-idp-overlay.dtbo-base := sm6150p.dtb
sm6150-external-codec-idp-overlay.dtbo-base := sm6150.dtb
sm6150-usbc-idp-overlay.dtbo-base := sm6150.dtb
sa6155-adp-star-overlay.dtbo-base := sa6155.dtb
sa6155p-adp-star-overlay.dtbo-base := sa6155p.dtb
else
dtb-$(CONFIG_ARCH_SM6150) += sm6150-rumi.dtb \
sm6150-qrd.dtb \
@ -101,7 +105,10 @@ dtb-$(CONFIG_ARCH_SM6150) += sm6150-rumi.dtb \
sm6150p-qrd.dtb \
sm6150p-idp.dtb \
sm6150-external-codec-idp.dtb \
sm6150-usbc-idp.dtb
sm6150-usbc-idp.dtb \
sa6155-adp-star.dtb \
sa6155p-adp-star.dtb
endif
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)

@ -0,0 +1,25 @@
/* Copyright (c) 2018, 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/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sa6155-adp-star.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA6155 ADP-STAR";
compatible = "qcom,sa6155-adp-star", "qcom,sa6155", "qcom,adp-star";
qcom,msm-id = <384 0x0>;
qcom,board-id = <25 0>;
};

@ -0,0 +1,21 @@
/* Copyright (c) 2018, 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 "sa6155.dtsi"
#include "sa6155-adp-star.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA6155 ADP-STAR";
compatible = "qcom,sa6155-adp-star", "qcom,sa6155", "qcom,adp-star";
qcom,board-id = <25 0>;
};

@ -0,0 +1,23 @@
/* Copyright (c) 2018, 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,lpass@62400000 {
status = "disabled";
};
qcom,glink {
modem {
status = "disabled";
};
};
};

@ -0,0 +1,21 @@
/* Copyright (c) 2018, 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 "sa6155.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA6155 SoC";
compatible = "qcom,sa6155";
qcom,board-id = <0 0>;
};

@ -0,0 +1,20 @@
/* Copyright (c) 2018, 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.
*/
#include "sm6150.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA6155";
compatible = "qcom,sa6155";
qcom,msm-name = "SA6155";
qcom,msm-id = <384 0x10000>;
};

@ -0,0 +1,25 @@
/* Copyright (c) 2018, 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/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sa6155-adp-star.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA6155P ADP-STAR";
compatible = "qcom,sa6155p-adp-star", "qcom,sa6155p", "qcom,adp-star";
qcom,msm-id = <377 0x0>;
qcom,board-id = <25 0>;
};

@ -0,0 +1,22 @@
/* Copyright (c) 2018, 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 "sa6155p.dtsi"
#include "sa6155-adp-star.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA6155P ADP-STAR";
compatible = "qcom,sa6155p-adp-star", "qcom,sa6155p", "qcom,adp-star";
qcom,board-id = <25 0>;
};

@ -0,0 +1,21 @@
/* Copyright (c) 2018, 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 "sa6155p.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA6155P SoC";
compatible = "qcom,sa6155p";
qcom,board-id = <0 0>;
};

@ -0,0 +1,19 @@
/* Copyright (c) 2018, 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.
*/
#include "sm6150.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA6155P";
qcom,msm-name = "SA6155P";
qcom,msm-id = <377 0>;
};
Loading…
Cancel
Save