mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
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:
committed by
Gerrit - the friendly Code Review server
parent
b37e338b38
commit
3375ee9e11
@@ -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
|
||||
|
||||
2
qcom/sa8155-adp-common.dtsi
Normal file
2
qcom/sa8155-adp-common.dtsi
Normal file
@@ -0,0 +1,2 @@
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
11
qcom/sa8155-adp-star-overlay.dts
Normal file
11
qcom/sa8155-adp-star-overlay.dts
Normal 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
11
qcom/sa8155-adp-star.dts
Normal 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>;
|
||||
};
|
||||
1
qcom/sa8155-adp-star.dtsi
Normal file
1
qcom/sa8155-adp-star.dtsi
Normal file
@@ -0,0 +1 @@
|
||||
#include "sa8155-adp-common.dtsi"
|
||||
9
qcom/sa8155-v1.dtsi
Normal file
9
qcom/sa8155-v1.dtsi
Normal 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>;
|
||||
};
|
||||
11
qcom/sa8155-v2-adp-air-overlay.dts
Normal file
11
qcom/sa8155-v2-adp-air-overlay.dts
Normal 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>;
|
||||
};
|
||||
10
qcom/sa8155-v2-adp-air.dts
Normal file
10
qcom/sa8155-v2-adp-air.dts
Normal 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>;
|
||||
};
|
||||
10
qcom/sa8155-v2-adp-star.dts
Normal file
10
qcom/sa8155-v2-adp-star.dts
Normal 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
10
qcom/sa8155-v2.dts
Normal 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
8
qcom/sa8155-v2.dtsi
Normal 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
10
qcom/sa8155.dts
Normal 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
1
qcom/sa8155.dtsi
Normal file
@@ -0,0 +1 @@
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
11
qcom/sa8155p-adp-star-overlay.dts
Normal file
11
qcom/sa8155p-adp-star-overlay.dts
Normal 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
11
qcom/sa8155p-adp-star.dts
Normal 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>;
|
||||
};
|
||||
11
qcom/sa8155p-v2-adp-air-overlay.dts
Normal file
11
qcom/sa8155p-v2-adp-air-overlay.dts
Normal 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>;
|
||||
};
|
||||
10
qcom/sa8155p-v2-adp-air.dts
Normal file
10
qcom/sa8155p-v2-adp-air.dts
Normal 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>;
|
||||
};
|
||||
10
qcom/sa8155p-v2-adp-star.dts
Normal file
10
qcom/sa8155p-v2-adp-star.dts
Normal 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
10
qcom/sa8155p-v2.dts
Normal 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
7
qcom/sa8155p-v2.dtsi
Normal 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
10
qcom/sa8155p.dts
Normal 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
8
qcom/sa8155p.dtsi
Normal 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>;
|
||||
};
|
||||
14
qcom/sm8150-cdp-overlay.dts
Normal file
14
qcom/sm8150-cdp-overlay.dts
Normal 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
10
qcom/sm8150-cdp.dts
Normal 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
2
qcom/sm8150-cdp.dtsi
Normal file
@@ -0,0 +1,2 @@
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
10
qcom/sm8150-v2.dts
Normal file
10
qcom/sm8150-v2.dts
Normal 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
7
qcom/sm8150-v2.dtsi
Normal 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
10
qcom/sm8150.dts
Normal 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>;
|
||||
};
|
||||
@@ -14,6 +14,7 @@
|
||||
memory { device_type = "memory"; reg = <0 0 0 0>; };
|
||||
|
||||
aliases {
|
||||
serial0 = &uart2;
|
||||
};
|
||||
|
||||
cpus {
|
||||
|
||||
10
qcom/sm8150p-v2.dts
Normal file
10
qcom/sm8150p-v2.dts
Normal 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
7
qcom/sm8150p-v2.dtsi
Normal 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
10
qcom/sm8150p.dts
Normal 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
7
qcom/sm8150p.dtsi
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "sm8150.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P v1";
|
||||
qcom,msm-name = "SM8150P v1";
|
||||
qcom,msm-id = <361 0x10000>;
|
||||
};
|
||||
Reference in New Issue
Block a user