From a469a44760fd58cc97767ead7f93566dba11b635 Mon Sep 17 00:00:00 2001 From: wangyq13 Date: Thu, 18 Jun 2020 14:40:16 +0800 Subject: [PATCH] arm/dt: Borneo: add evb dts arm/dt: Add Evb dts for Borneo. Change-Id: Ifda7812f1f65dbe79aefb6139cab11c0ef32e5d0 Signed-off-by: wangyq13 Reviewed-on: https://gerrit.mot.com/1628227 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Yiwen Liu Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/Makefile | 2 ++ qcom/bengal-borneo-evb-overlay.dts | 27 +++++++++++++++++++++++++++ qcom/bengal-borneo-evt-overlay.dts | 4 ++-- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 qcom/bengal-borneo-evb-overlay.dts diff --git a/qcom/Makefile b/qcom/Makefile index e2749c79a6c2..a6b69f83b70b 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -33,8 +33,10 @@ bengal-guamna-evt-overlay.dtbo-base := bengal-moto-base.dtb bengal-guamna-gwlc-evt-overlay.dtbo-base := bengal-moto-base.dtb dtbo-$(CONFIG_BORNEO_DTB) += \ + bengal-borneo-evb-overlay.dtbo \ bengal-borneo-evt-overlay.dtbo +bengal-borneo-evb-overlay.dtbo-base := bengal-moto-base-borneo.dtb bengal-borneo-evt-overlay.dtbo-base := bengal-moto-base-borneo.dtb else diff --git a/qcom/bengal-borneo-evb-overlay.dts b/qcom/bengal-borneo-evb-overlay.dts new file mode 100644 index 000000000000..84bc6e7295ba --- /dev/null +++ b/qcom/bengal-borneo-evb-overlay.dts @@ -0,0 +1,27 @@ +/* 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 "bengal-borneo-common-overlay.dtsi" + +/ { + model = "borneo"; + compatible = "qcom,bengal-borneo", "qcom,bengal-moto", "qcom,bengal"; + qcom,msm-id = <444 0x10000>; + qcom,board-id = <0 0xA100>; +}; + +/* + * Borneo HW rev specific changes go here + */ diff --git a/qcom/bengal-borneo-evt-overlay.dts b/qcom/bengal-borneo-evt-overlay.dts index 89308bca63a1..245acd13c2c2 100644 --- a/qcom/bengal-borneo-evt-overlay.dts +++ b/qcom/bengal-borneo-evt-overlay.dts @@ -19,9 +19,9 @@ model = "borneo"; compatible = "qcom,bengal-borneo", "qcom,bengal-moto", "qcom,bengal"; qcom,msm-id = <444 0x10000>; - qcom,board-id = <0 0xA000>; + qcom,board-id = <0 0xA200>; }; /* - * Guam HW rev specific changes go here + * Borneo HW rev specific changes go here */