diff mbox series

[02/22] arm64: dts: qcom: sm8150-mtp: add base dts file

Message ID 20190814125012.8700-3-vkoul@kernel.org
State New
Headers show
Series None | expand

Commit Message

Vinod Koul Aug. 14, 2019, 12:49 p.m. UTC
This add base DTS file for sm8150-mtp and enables
boot to console

Signed-off-by: Vinod Koul <vkoul@kernel.org>

---
 arch/arm64/boot/dts/qcom/Makefile       |  1 +
 arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 28 +++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sm8150-mtp.dts

-- 
2.20.1

Comments

Bjorn Andersson Aug. 14, 2019, 5:53 p.m. UTC | #1
On Wed 14 Aug 05:49 PDT 2019, Vinod Koul wrote:

> This add base DTS file for sm8150-mtp and enables

> boot to console

> 

> Signed-off-by: Vinod Koul <vkoul@kernel.org>


Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>


> ---

>  arch/arm64/boot/dts/qcom/Makefile       |  1 +

>  arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 28 +++++++++++++++++++++++++

>  2 files changed, 29 insertions(+)

>  create mode 100644 arch/arm64/boot/dts/qcom/sm8150-mtp.dts

> 

> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile

> index 0a7e5dfce6f7..1964dacaf19b 100644

> --- a/arch/arm64/boot/dts/qcom/Makefile

> +++ b/arch/arm64/boot/dts/qcom/Makefile

> @@ -12,5 +12,6 @@ dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-cheza-r2.dtb

>  dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-cheza-r3.dtb

>  dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-db845c.dtb

>  dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-mtp.dtb

> +dtb-$(CONFIG_ARCH_QCOM)	+= sm8150-mtp.dtb

>  dtb-$(CONFIG_ARCH_QCOM)	+= qcs404-evb-1000.dtb

>  dtb-$(CONFIG_ARCH_QCOM)	+= qcs404-evb-4000.dtb

> diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts

> new file mode 100644

> index 000000000000..df08ee50510d

> --- /dev/null

> +++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts

> @@ -0,0 +1,28 @@

> +// SPDX-License-Identifier: BSD-3-Clause

> +// Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.

> +// Copyright (c) 2019, Linaro Limited

> +

> +/dts-v1/;

> +

> +#include "sm8150.dtsi"

> +

> +/ {

> +	model = "Qualcomm Technologies, Inc. SM8150 MTP";

> +	compatible = "qcom,sm8150-mtp";

> +

> +	aliases {

> +		serial0 = &uart2;

> +	};

> +

> +	chosen {

> +		stdout-path = "serial0:115200n8";

> +	};

> +};

> +

> +&qupv3_id_1 {

> +	status = "okay";

> +};

> +

> +&uart2 {

> +	status = "okay";

> +};

> -- 

> 2.20.1

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 0a7e5dfce6f7..1964dacaf19b 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -12,5 +12,6 @@  dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-cheza-r2.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-cheza-r3.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-db845c.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-mtp.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= sm8150-mtp.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= qcs404-evb-1000.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= qcs404-evb-4000.dtb
diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
new file mode 100644
index 000000000000..df08ee50510d
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
@@ -0,0 +1,28 @@ 
+// SPDX-License-Identifier: BSD-3-Clause
+// Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
+// Copyright (c) 2019, Linaro Limited
+
+/dts-v1/;
+
+#include "sm8150.dtsi"
+
+/ {
+	model = "Qualcomm Technologies, Inc. SM8150 MTP";
+	compatible = "qcom,sm8150-mtp";
+
+	aliases {
+		serial0 = &uart2;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&qupv3_id_1 {
+	status = "okay";
+};
+
+&uart2 {
+	status = "okay";
+};