From d19618b5c74ed2b7622fccfc8b16a4e3a69248e0 Mon Sep 17 00:00:00 2001 From: Unnathi Chalicheemala Date: Mon, 30 Oct 2023 11:06:19 -0700 Subject: [PATCH] ARM: dts: msm: Add NFC support for Sun SoC Add NFC support for MTP, CDP platforms on Sun SoC. Change-Id: I93755e3861d5d075f020ea5856caed56d57db922 Signed-off-by: Unnathi Chalicheemala --- qcom/Makefile | 2 ++ qcom/sun-cdp-nfc-overlay.dts | 16 ++++++++++++++++ qcom/sun-cdp-nfc.dtsi | 6 ++++++ qcom/sun-mtp-nfc-overlay.dts | 16 ++++++++++++++++ qcom/sun-mtp-nfc.dtsi | 6 ++++++ 5 files changed, 46 insertions(+) create mode 100644 qcom/sun-cdp-nfc-overlay.dts create mode 100644 qcom/sun-cdp-nfc.dtsi create mode 100644 qcom/sun-mtp-nfc-overlay.dts create mode 100644 qcom/sun-mtp-nfc.dtsi diff --git a/qcom/Makefile b/qcom/Makefile index bf7b4de8..9f2eb590 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -21,8 +21,10 @@ SUN_APQ_BASE_DTB += sunp.dtb sunp-v2.dtb SUN_BOARDS += \ sun-mtp-overlay.dtbo \ sun-mtp-kiwi-overlay.dtbo \ + sun-mtp-nfc-overlay.dtbo \ sun-cdp-overlay.dtbo \ sun-cdp-kiwi-overlay.dtbo \ + sun-cdp-nfc-overlay.dtbo \ sun-qrd-sku1-overlay.dtbo \ sun-qrd-sku2-overlay.dtbo diff --git a/qcom/sun-cdp-nfc-overlay.dts b/qcom/sun-cdp-nfc-overlay.dts new file mode 100644 index 00000000..d5929915 --- /dev/null +++ b/qcom/sun-cdp-nfc-overlay.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-cdp-nfc.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun CDP SN300 NFC"; + compatible = "qcom,sun-cdp", "qcom,sun", "qcom,sunp-cdp", "qcom,sunp", "qcom,cdp"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; + qcom,board-id = <0x40001 0>; +}; diff --git a/qcom/sun-cdp-nfc.dtsi b/qcom/sun-cdp-nfc.dtsi new file mode 100644 index 00000000..75eff7ab --- /dev/null +++ b/qcom/sun-cdp-nfc.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sun-cdp.dtsi" diff --git a/qcom/sun-mtp-nfc-overlay.dts b/qcom/sun-mtp-nfc-overlay.dts new file mode 100644 index 00000000..6aa03e84 --- /dev/null +++ b/qcom/sun-mtp-nfc-overlay.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-mtp-nfc.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun MTP SN300 NFC"; + compatible = "qcom,sun-mtp", "qcom,sun", "qcom,sunp-mtp", "qcom,sunp", "qcom,mtp"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; + qcom,board-id = <0x30008 0>; +}; diff --git a/qcom/sun-mtp-nfc.dtsi b/qcom/sun-mtp-nfc.dtsi new file mode 100644 index 00000000..ed228e3c --- /dev/null +++ b/qcom/sun-mtp-nfc.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sun-mtp.dtsi"