From 354dbfd3d1cd00c4c6b23c8bf188d1f012ab8103 Mon Sep 17 00:00:00 2001 From: liuyc20 Date: Tue, 21 Dec 2021 16:00:51 +0800 Subject: [PATCH] arm/dts: cypfr add dvt2 dts add blair-cypfr-dvt2-overlay.dts for dvt2 device Change-Id: Ifa9ff260e809c9730f8be40f065cec9f3c5228ab Signed-off-by: liuyc20 Reviewed-on: https://gerrit.mot.com/2150712 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/Makefile | 4 +++- qcom/blair-cypfr-dvt2-overlay.dts | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 qcom/blair-cypfr-dvt2-overlay.dts diff --git a/qcom/Makefile b/qcom/Makefile index 6b082075f560..22f9f6be56a6 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -82,10 +82,12 @@ holi-rhodec-evb-overlay.dtbo-base := holi-moto-base.dtb dtbo-$(CONFIG_CYPFR_DTB) += \ blair-cypfr-evb-overlay.dtbo \ - blair-cypfr-evt-overlay.dtbo + blair-cypfr-evt-overlay.dtbo \ + blair-cypfr-dvt2-overlay.dtbo blair-cypfr-evb-overlay.dtbo-base := blair-moto-base.dtb blair-cypfr-evt-overlay.dtbo-base := blair-moto-base.dtb +blair-cypfr-dvt2-overlay.dtbo-base := blair-moto-base.dtb dtbo-$(CONFIG_MILANF_DTB) += \ blair-milanf-evb1-overlay.dtbo \ diff --git a/qcom/blair-cypfr-dvt2-overlay.dts b/qcom/blair-cypfr-dvt2-overlay.dts new file mode 100644 index 000000000000..4edfb293619c --- /dev/null +++ b/qcom/blair-cypfr-dvt2-overlay.dts @@ -0,0 +1,27 @@ +/* Copyright (c) 2021, 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 "blair-cypfr-common-overlay.dtsi" + +/ { + model = "cypfr"; + compatible = "qcom,blair-cypfr", "qcom,blair-moto", "qcom,blair"; + qcom,msm-id = <507 0x10000>; + qcom,board-id = <0x4B 0xB200>; +}; + +&sgm7220 { + sgm7220,pwr_gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>; +};