Merge "ARM: dts: msm: Support for Sun v2 SoC"

This commit is contained in:
qctecmdr
2023-08-01 13:06:23 -07:00
committed by Gerrit - the friendly Code Review server
7 changed files with 32 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ add-overlays = $(foreach o,$1,$(foreach b,$2,$(eval $(basename $b)-$(basename $o
ifneq ($(CONFIG_ARCH_QTI_VM), y)
SUN_BASE_DTB += sun.dtb
SUN_BASE_DTB += sun.dtb sun-v2.dtb
SUN_BOARDS += \
sun-mtp-overlay.dtbo \

View File

@@ -3,6 +3,7 @@ _platform_map = {
"dtb_list": [
# keep sorted
{"name": "sun.dtb"},
{"name": "sun-v2.dtb"},
],
"dtbo_list": [
# keep sorted
@@ -67,8 +68,8 @@ def _get_dtb_lists(target, dt_overlay_supported):
return ret
def get_dtb_list(target, dt_overlay_supported=True):
def get_dtb_list(target, dt_overlay_supported = True):
return [dtb["name"] for dtb in _get_dtb_lists(target, dt_overlay_supported).get("dtb_list", [])]
def get_dtbo_list(target, dt_overlay_supported=True):
def get_dtbo_list(target, dt_overlay_supported = True):
return [dtb["name"] for dtb in _get_dtb_lists(target, dt_overlay_supported).get("dtbo_list", [])]

View File

@@ -11,6 +11,6 @@
/ {
model = "Qualcomm Technologies, Inc. Sun CDP";
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,cdp";
qcom,msm-id = <618 0x10000>;
qcom,msm-id = <618 0x10000>, <618 0x20000>;
qcom,board-id = <1 0>;
};

View File

@@ -11,6 +11,6 @@
/ {
model = "Qualcomm Technologies, Inc. Sun MTP";
compatible = "qcom,sun-mtp", "qcom,sun", "qcom,mtp";
qcom,msm-id = <618 0x10000>;
qcom,msm-id = <618 0x10000>, <618 0x20000>;
qcom,board-id = <8 0>;
};

View File

@@ -11,6 +11,6 @@
/ {
model = "Qualcomm Technologies, Inc. Sun QRD";
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,qrd";
qcom,msm-id = <618 0x10000>;
qcom,msm-id = <618 0x10000>, <618 0x20000>;
qcom,board-id = <11 0>;
};

14
qcom/sun-v2.dts Normal file
View File

@@ -0,0 +1,14 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "sun-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun v2 SoC";
compatible = "qcom,sun";
qcom,board-id = <0 0>;
};

11
qcom/sun-v2.dtsi Normal file
View File

@@ -0,0 +1,11 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include "sun.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun v2 SoC";
compatible = "qcom,sun";
qcom,msm-id = <618 0x20000>;
};