eSE_devicetree: Add initial version of OSS DT
Added initial version of eSE_devicetree into OSS. Change-Id: If248f850b599cd0a276b402e8d6179d0cf9af5fe
This commit is contained in:
12
Kbuild
Normal file
12
Kbuild
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
ifeq ($(CONFIG_ARCH_SUN),y)
|
||||||
|
dtbo-y += sun-ese-mtp.dtbo
|
||||||
|
dtbo-y += sun-ese-cdp.dtbo
|
||||||
|
dtbo-y += sun-ese-qrd.dtbo
|
||||||
|
dtbo-y += sun-v2-ese-mtp.dtbo
|
||||||
|
dtbo-y += sun-v2-ese-cdp.dtbo
|
||||||
|
dtbo-y += sun-v2-ese-qrd.dtbo
|
||||||
|
endif
|
||||||
|
|
||||||
|
always-y := $(dtb-y) $(dtbo-y)
|
||||||
|
subdir-y := $(dts-dirs)
|
||||||
|
clean-files := *.dtb *.dtbo
|
9
Makefile
Normal file
9
Makefile
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
KBUILD_OPTIONS+=KBUILD_EXTMOD_DTS=.
|
||||||
|
|
||||||
|
all: dtbs
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean
|
||||||
|
|
||||||
|
%:
|
||||||
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)
|
13
sun-ese-cdp.dts
Normal file
13
sun-ese-cdp.dts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-ese-common.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun CDP";
|
||||||
|
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,cdp";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
|
||||||
|
<0x100026a 0x10000>, <0x100026a 0x20000>,
|
||||||
|
<0x100027f 0x10000>, <0x100027f 0x20000>;
|
||||||
|
qcom,board-id = <0x1 0>, <0x20001 0>, <0x50001 0>;
|
||||||
|
};
|
9
sun-ese-common.dtsi
Normal file
9
sun-ese-common.dtsi
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
&soc {
|
||||||
|
st54spi_gpio {
|
||||||
|
status = "ok";
|
||||||
|
compatible = "st,st54spi_gpio";
|
||||||
|
/* gpio used as SE_nRESET */
|
||||||
|
gpio-power_nreset = <&tlmm 46 0x00>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
13
sun-ese-mtp.dts
Normal file
13
sun-ese-mtp.dts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-ese-common.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun MTP";
|
||||||
|
compatible = "qcom,sun-mtp", "qcom,sun", "qcom,mtp";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
|
||||||
|
<0x100026a 0x10000>, <0x100026a 0x20000>,
|
||||||
|
<0x100027f 0x10000>, <0x100027f 0x20000>;
|
||||||
|
qcom,board-id = <0x8 0>, <0x20008 0>, <0x40008 0>;
|
||||||
|
};
|
13
sun-ese-qrd.dts
Normal file
13
sun-ese-qrd.dts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-ese-common.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun QRD";
|
||||||
|
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,qrd";
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
|
||||||
|
<0x100026a 0x10000>, <0x100026a 0x20000>,
|
||||||
|
<0x100027f 0x10000>, <0x100027f 0x20000>;
|
||||||
|
qcom,board-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
|
||||||
|
};
|
13
sun-v2-ese-cdp.dts
Normal file
13
sun-v2-ese-cdp.dts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-v2-ese-common.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun CDP";
|
||||||
|
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,cdp";
|
||||||
|
//AS of now for V2 devices, we have mapped the msm-id and board id same as V1.
|
||||||
|
//We would update this once we receive the specs of V2 devices.
|
||||||
|
qcom,msm-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
|
||||||
|
qcom,board-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
|
||||||
|
};
|
8
sun-v2-ese-common.dtsi
Normal file
8
sun-v2-ese-common.dtsi
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
&soc {
|
||||||
|
st54spi_gpio {
|
||||||
|
status = "ok";
|
||||||
|
compatible = "st,st54spi_gpio";
|
||||||
|
/* gpio used as SE_nRESET */
|
||||||
|
gpio-power_nreset = <&tlmm 46 0x00>;
|
||||||
|
};
|
||||||
|
};
|
15
sun-v2-ese-mtp.dts
Normal file
15
sun-v2-ese-mtp.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-v2-ese-common.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun MTP";
|
||||||
|
compatible = "qcom, sun-mtp", "qcom,sun", "qcom,mtp";
|
||||||
|
//AS of now for V2 devices, we have mapped the msm-id and board id same as V1.
|
||||||
|
//We would update this once we receive the specs of V2 devices.
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
|
||||||
|
<0x100026a 0x10000>, <0x100026a 0x20000>,
|
||||||
|
<0x100027f 0x10000>, <0x100027f 0x20000>;
|
||||||
|
qcom,board-id = <0x8 0>, <0x20008 0>, <0x40008 0>;
|
||||||
|
};
|
15
sun-v2-ese-qrd.dts
Normal file
15
sun-v2-ese-qrd.dts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sun-v2-ese-common.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun QRD";
|
||||||
|
compatible = "qcom,sun-qrd", "qcom,sun", "qcom,qrd";
|
||||||
|
//AS of now for V2 devices, we have mapped the msm-id and board id same as V1.
|
||||||
|
//We would update this once we receive the specs of V2 devices.
|
||||||
|
qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>,
|
||||||
|
<0x100026a 0x10000>, <0x100026a 0x20000>,
|
||||||
|
<0x100027f 0x10000>, <0x100027f 0x20000>;
|
||||||
|
qcom,board-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
|
||||||
|
};
|
Reference in New Issue
Block a user