ARM: dts: msm: Add skeleton for all SA8195 DT files

Add skeleton for all SA8195 device tree files based on msm-5.4,
also add relevant changes in the Makefile.

Change-Id: I6b0e29ddbbd87a917d73842adb1cbecb0ef3e094
This commit is contained in:
Abhishek Shah
2022-01-18 01:56:16 +05:30
parent 0eea7b212b
commit fa1b52c348
10 changed files with 70 additions and 0 deletions

View File

@@ -198,6 +198,9 @@ compatible = "qcom,sa8155p-adp-star"
compatible = "qcom,sa8155-adp-air"
compatible = "qcom,sa8155-v2-adp-air"
compatible = "qcom,sa8155p-v2-adp-air"
compatible = "qcom,sa8195p-adp-star"
compatible = "qcom,sa8195p-adp-star"
compatible = "qcom,sa8195p-adp-air"
compatible = "qcom,adp-air"
compatible = "qcom,kona-rumi"
compatible = "qcom,kona-mtp"

View File

@@ -68,6 +68,7 @@ dtb-y += $(cinder-dtb-y)
SA8155_BASE_DTB += sa8155.dtb sa8155-v2.dtb
SA8155P_BASE_DTB += sa8155p.dtb sa8155p-v2.dtb
SA8195P_BASE_DTB += sa8195p.dtb
SA8155_BOARDS += \
sa8155-adp-star-overlay.dtbo \
@@ -77,11 +78,20 @@ SA8155P_BOARDS += \
sa8155p-adp-star-overlay.dtbo \
sa8155p-adp-air-overlay.dtbo
SA8195P_BOARDS += sa8195p-adp-star-overlay.dtbo \
sa8195p-adp-air-overlay.dtbo
gen3auto-dtb-$(CONFIG_ARCH_SA8155) += \
$(call add-overlays, $(SA8155_BOARDS),$(SA8155_BASE_DTB))\
$(call add-overlays, $(SA8155P_BOARDS),$(SA8155P_BASE_DTB))
gen3auto-overlays-dtb-$(CONFIG_ARCH_SA8155) += $(SA8155_BOARDS) $(SA8155P_BOARDS) $(SA8155_BASE_DTB) $(SA8155P_BASE_DTB)
gen3auto-dtb-$(CONFIG_ARCH_SA8195) += \
$(call add-overlays, $(SA8195P_BOARDS),$(SA8195P_BASE_DTB))
gen3auto-overlays-dtb-$(CONFIG_ARCH_SA8195) += $(SA8195P_BOARDS) $(SA8195P_BASE_DTB)
dtb-y += $(gen3auto-dtb-y)
endif
ifeq ($(CONFIG_ARCH_KALAMA), y)

View File

@@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
#include "sa8195p-adp-air.dtsi"
/ {
model = "SA8195P ADP-AIR";
compatible = "qcom,sa8195p-adp-air", "qcom,sa8195p",
"qcom,adp-air";
qcom,msm-id = <405 0x20000>;
qcom,board-id = <0x02010019 0>;
};

View File

@@ -0,0 +1 @@
#include "sa8195p-adp-common.dtsi"

View File

@@ -0,0 +1,5 @@
#include <dt-bindings/gpio/gpio.h>
&uart2 {
status = "ok";
};

View File

@@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
#include "sa8195p-adp-star.dtsi"
/ {
model = "SA8195P ADP-STAR";
compatible = "qcom,sa8195p-adp-star", "qcom,sa8195p",
"qcom,adp-star";
qcom,msm-id = <405 0x20000>;
qcom,board-id = <0x010019 0>;
};

View File

@@ -0,0 +1 @@
#include "sa8195p-adp-common.dtsi"

10
qcom/sa8195p.dts Normal file
View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sa8195p.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8195P SoC";
compatible = "qcom,sa8195p";
qcom,pmic-name = "PM8150";
qcom,board-id = <0 0>;
};

8
qcom/sa8195p.dtsi Normal file
View File

@@ -0,0 +1,8 @@
#include "sdmshrike-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8195P";
qcom,msm-name = "SA8195P";
qcom,msm-id = <405 0x20000>;
};

8
qcom/sdmshrike-v2.dtsi Normal file
View File

@@ -0,0 +1,8 @@
#include "sdmshrike.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8195 V2";
qcom,msm-name = "SA8195 V2";
qcom,msm-id = <340 0x20000>;
};