From 91451ff80e34bb84ce3fdd23c4df883add77a426 Mon Sep 17 00:00:00 2001 From: wangxf14 Date: Thu, 29 Oct 2020 15:44:43 +0800 Subject: [PATCH] arm64/dts: add all hwid configuration for denver add all hwid configuration for denver according to https://sites.google.com/motorola.com/runtime-product-ids-2018/sm4350 Change-Id: I178de18801b8b604de8613fbe998756b47afe8af Signed-off-by: wangxf14 Reviewed-on: https://gerrit.mot.com/1788337 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/Makefile | 10 +++++++++- qcom/holi-denver-dvt1-overlay.dts | 24 ++++++++++++++++++++++++ qcom/holi-denver-dvt2-overlay.dts | 24 ++++++++++++++++++++++++ qcom/holi-denver-evt1-overlay.dts | 2 +- qcom/holi-denver-evt2-overlay.dts | 24 ++++++++++++++++++++++++ qcom/holi-denver-pvt-overlay.dts | 24 ++++++++++++++++++++++++ 6 files changed, 106 insertions(+), 2 deletions(-) create mode 100644 qcom/holi-denver-dvt1-overlay.dts create mode 100644 qcom/holi-denver-dvt2-overlay.dts create mode 100644 qcom/holi-denver-evt2-overlay.dts create mode 100644 qcom/holi-denver-pvt-overlay.dts diff --git a/qcom/Makefile b/qcom/Makefile index 849009dc232a..6a4496a4c797 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -6,9 +6,17 @@ endif # Motorola Device Trees dtbo-$(CONFIG_DENVER_DTB) += \ - holi-denver-evt1-overlay.dtbo + holi-denver-evt1-overlay.dtbo \ + holi-denver-evt2-overlay.dtbo \ + holi-denver-dvt1-overlay.dtbo \ + holi-denver-dvt2-overlay.dtbo \ + holi-denver-pvt-overlay.dtbo holi-denver-evt1-overlay.dtbo-base := holi-moto-base.dtb +holi-denver-evt2-overlay.dtbo-base := holi-moto-base.dtb +holi-denver-dvt1-overlay.dtbo-base := holi-moto-base.dtb +holi-denver-dvt2-overlay.dtbo-base := holi-moto-base.dtb +holi-denver-pvt-overlay.dtbo-base := holi-moto-base.dtb dtbo-$(CONFIG_IBIZA_DTB) += \ holi-ibiza-evt1-overlay.dtbo \ diff --git a/qcom/holi-denver-dvt1-overlay.dts b/qcom/holi-denver-dvt1-overlay.dts new file mode 100644 index 000000000000..d8ed96615fd0 --- /dev/null +++ b/qcom/holi-denver-dvt1-overlay.dts @@ -0,0 +1,24 @@ +/* Copyright (c) 2020, 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 "holi-denver-common-overlay.dtsi" + +/ { + model = "denver"; + compatible = "qcom,holi-denver", "qcom,holi-moto", "qcom,holi"; + qcom,msm-id = <454 0x10000>, <472 0x10000>; + qcom,board-id = <0x42 0xB100>; +}; + diff --git a/qcom/holi-denver-dvt2-overlay.dts b/qcom/holi-denver-dvt2-overlay.dts new file mode 100644 index 000000000000..820c112abba3 --- /dev/null +++ b/qcom/holi-denver-dvt2-overlay.dts @@ -0,0 +1,24 @@ +/* Copyright (c) 2020, 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 "holi-denver-common-overlay.dtsi" + +/ { + model = "denver"; + compatible = "qcom,holi-denver", "qcom,holi-moto", "qcom,holi"; + qcom,msm-id = <454 0x10000>, <472 0x10000>; + qcom,board-id = <0x42 0xB200>; +}; + diff --git a/qcom/holi-denver-evt1-overlay.dts b/qcom/holi-denver-evt1-overlay.dts index d41e5fa99292..6b660174cbdd 100644 --- a/qcom/holi-denver-evt1-overlay.dts +++ b/qcom/holi-denver-evt1-overlay.dts @@ -16,7 +16,7 @@ #include "holi-denver-common-overlay.dtsi" / { - model = "Denver"; + model = "denver"; compatible = "qcom,holi-denver", "qcom,holi-moto", "qcom,holi"; qcom,msm-id = <454 0x10000>, <472 0x10000>; qcom,board-id = <0x41 0xA100>, <0x42 0xA100>; diff --git a/qcom/holi-denver-evt2-overlay.dts b/qcom/holi-denver-evt2-overlay.dts new file mode 100644 index 000000000000..0fbb4000f529 --- /dev/null +++ b/qcom/holi-denver-evt2-overlay.dts @@ -0,0 +1,24 @@ +/* Copyright (c) 2020, 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 "holi-denver-common-overlay.dtsi" + +/ { + model = "denver"; + compatible = "qcom,holi-denver", "qcom,holi-moto", "qcom,holi"; + qcom,msm-id = <454 0x10000>, <472 0x10000>; + qcom,board-id = <0x42 0xA200>; +}; + diff --git a/qcom/holi-denver-pvt-overlay.dts b/qcom/holi-denver-pvt-overlay.dts new file mode 100644 index 000000000000..797e2c0b12d4 --- /dev/null +++ b/qcom/holi-denver-pvt-overlay.dts @@ -0,0 +1,24 @@ +/* Copyright (c) 2020, 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 "holi-denver-common-overlay.dtsi" + +/ { + model = "denver"; + compatible = "qcom,holi-denver", "qcom,holi-moto", "qcom,holi"; + qcom,msm-id = <454 0x10000>, <472 0x10000>; + qcom,board-id = <0x42 0xC000>; +}; +