ARM: dts: msm: Add snapshot of all SM8150 and SA8155 DT files

Add snapshot of all SM8150 and SA8155 base device tree files
from msm-4.14, also add relevant changes in the makefile.

Change-Id: I91fb065ebbb70f789afcb126e27fb928fe8d4929
This commit is contained in:
Vivek Kumar
2020-03-12 14:49:32 +05:30
committed by Gerrit - the friendly Code Review server
parent b37e338b38
commit 3375ee9e11
33 changed files with 293 additions and 0 deletions

View File

@@ -35,6 +35,29 @@ else
dtb-$(CONFIG_ARCH_SHIMA) += shima-rumi.dtb
endif
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_SM8150) += \
sm8150-cdp-overlay.dtbo \
sa8155-adp-star-overlay.dtbo \
sa8155p-adp-star-overlay.dtbo \
sa8155-v2-adp-air-overlay.dtbo \
sa8155p-v2-adp-air-overlay.dtbo
sm8150-cdp-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb sm8150p.dtb sm8150p-v2.dtb
sa8155-adp-star-overlay.dtbo-base := sa8155.dtb sa8155-v2.dtb
sa8155p-adp-star-overlay.dtbo-base := sa8155p.dtb sa8155p-v2.dtb
sa8155-v2-adp-air-overlay.dtbo-base := sa8155.dtb sa8155-v2.dtb
sa8155p-v2-adp-air-overlay.dtbo-base := sa8155p.dtb sa8155p-v2.dtb
else
dtb-$(CONFIG_ARCH_SM8150) += sm8150-cdp.dtb \
sa8155-adp-star.dtb \
sa8155p-adp-star.dtb \
sa8155-v2-adp-star.dtb \
sa8155p-v2-adp-star.dtb \
sa8155-v2-adp-air.dtb \
sa8155p-v2-adp-air.dtb
endif
always := $(dtb-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb *.dtbo

View File

@@ -0,0 +1,2 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

View File

@@ -0,0 +1,11 @@
/dts-v1/;
/plugin/;
#include "sa8155-adp-star.dtsi"
/ {
model = "ADP-STAR";
compatible = "qcom,sa8155-adp-star", "qcom,sa8155",
"qcom,adp-star";
qcom,board-id = <25 0>;
};

11
qcom/sa8155-adp-star.dts Normal file
View File

@@ -0,0 +1,11 @@
/dts-v1/;
#include "sa8155-v1.dtsi"
#include "sa8155-adp-star.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155 ADP-STAR";
compatible = "qcom,sa8155-adp-star", "qcom,sa8155",
"qcom,adp-star";
qcom,board-id = <25 0>;
};

View File

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

9
qcom/sa8155-v1.dtsi Normal file
View File

@@ -0,0 +1,9 @@
#include "sm8150.dtsi"
#include "sa8155.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155";
compatible = "qcom,sa8155";
qcom,msm-name = "SA8155 V1";
qcom,msm-id = <362 0x10000>;
};

View File

@@ -0,0 +1,11 @@
/dts-v1/;
/plugin/;
#include "sa8155-adp-common.dtsi"
/ {
model = "ADP-AIR";
compatible = "qcom,sa8155-v2-adp-air", "qcom,sa8155",
"qcom,adp-air";
qcom,board-id = <0X01000019 0>;
};

View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sa8155-v2.dtsi"
#include "sa8155-adp-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155 V2 ADP AIR";
compatible = "qcom,sa8155-v2-adp-air", "qcom,sa8155", "qcom,adp-air";
qcom,board-id = <0x01000019 0>;
};

View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sa8155-v2.dtsi"
#include "sa8155-adp-star.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155 V2 ADP STAR";
compatible = "qcom,sa8155-adp-star", "qcom,sa8155", "qcom,adp-star";
qcom,board-id = <25 0>;
};

10
qcom/sa8155-v2.dts Normal file
View File

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

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

@@ -0,0 +1,8 @@
#include "sm8150-v2.dtsi"
#include "sa8155.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155 V2";
qcom,msm-name = "SA8155 V2";
qcom,msm-id = <362 0x20000>;
};

10
qcom/sa8155.dts Normal file
View File

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

1
qcom/sa8155.dtsi Normal file
View File

@@ -0,0 +1 @@
#include <dt-bindings/gpio/gpio.h>

View File

@@ -0,0 +1,11 @@
/dts-v1/;
/plugin/;
#include "sa8155-adp-star.dtsi"
/ {
model = "ADP-STAR";
compatible = "qcom,sa8155p-adp-star", "qcom,sa8155p",
"qcom,adp-star";
qcom,board-id = <25 0>;
};

11
qcom/sa8155p-adp-star.dts Normal file
View File

@@ -0,0 +1,11 @@
/dts-v1/;
#include "sa8155p.dtsi"
#include "sa8155-adp-star.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155P ADP-STAR";
compatible = "qcom,sa8155p-adp-star", "qcom,sa8155p",
"qcom,adp-star";
qcom,board-id = <25 0>;
};

View File

@@ -0,0 +1,11 @@
/dts-v1/;
/plugin/;
#include "sa8155-adp-common.dtsi"
/ {
model = "ADP-AIR";
compatible = "qcom,sa8155p-v2-adp-air", "qcom,sa8155p",
"qcom,adp-air";
qcom,board-id = <0x01000019 0>;
};

View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sa8155p-v2.dtsi"
#include "sa8155-adp-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155P V2 ADP AIR";
compatible = "qcom,sa8155p-v2-adp-air", "qcom,sa8155p", "qcom,adp-air";
qcom,board-id = <0x01000019 0>;
};

View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sa8155p-v2.dtsi"
#include "sa8155-adp-star.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155P V2 ADP STAR";
compatible = "qcom,sa8155p-adp-star", "qcom,sa8155p", "qcom,adp-star";
qcom,board-id = <25 0>;
};

10
qcom/sa8155p-v2.dts Normal file
View File

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

7
qcom/sa8155p-v2.dtsi Normal file
View File

@@ -0,0 +1,7 @@
#include "sa8155-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155P v2";
qcom,msm-name = "SA8155P v2";
qcom,msm-id = <367 0x20000>;
};

10
qcom/sa8155p.dts Normal file
View File

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

8
qcom/sa8155p.dtsi Normal file
View File

@@ -0,0 +1,8 @@
#include "sa8155-v1.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155P ";
qcom,msm-name = "SA8155P V1";
compatible = "qcom,sa8155p";
qcom,msm-id = <367 0x10000>;
};

View File

@@ -0,0 +1,14 @@
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sm8150-cdp.dtsi"
/ {
model = "CDP";
compatible = "qcom,sm8150-cdp", "qcom,sm8150", "qcom,cdp";
qcom,board-id = <1 0>;
};

10
qcom/sm8150-cdp.dts Normal file
View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sm8150.dtsi"
#include "sm8150-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150 CDP";
compatible = "qcom,sm8150-cdp", "qcom,sm8150", "qcom,cdp";
qcom,board-id = <1 0>;
};

2
qcom/sm8150-cdp.dtsi Normal file
View File

@@ -0,0 +1,2 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

10
qcom/sm8150-v2.dts Normal file
View File

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

7
qcom/sm8150-v2.dtsi Normal file
View File

@@ -0,0 +1,7 @@
#include "sm8150.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150 V2";
qcom,msm-name = "SM8150 V2";
qcom,msm-id = <339 0x20000>;
};

10
qcom/sm8150.dts Normal file
View File

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

View File

@@ -14,6 +14,7 @@
memory { device_type = "memory"; reg = <0 0 0 0>; };
aliases {
serial0 = &uart2;
};
cpus {

10
qcom/sm8150p-v2.dts Normal file
View File

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

7
qcom/sm8150p-v2.dtsi Normal file
View File

@@ -0,0 +1,7 @@
#include "sm8150-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P v2";
qcom,msm-name = "SM8150P v2";
qcom,msm-id = <361 0x20000>;
};

10
qcom/sm8150p.dts Normal file
View File

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

7
qcom/sm8150p.dtsi Normal file
View File

@@ -0,0 +1,7 @@
#include "sm8150.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P v1";
qcom,msm-name = "SM8150P v1";
qcom,msm-id = <361 0x10000>;
};