Skip to content

Commit 2600184

Browse files
committed
Add some example DTs
1 parent 7833a07 commit 2600184

18 files changed

+376
-0
lines changed

lk2nd/device/dts/msm8226/lumia.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
3+
#include <skeleton32.dtsi>
4+
#include <lk2nd.dtsi>
5+
6+
&lk2nd {
7+
nokia-moneypenny {
8+
model = "Nokia Lumia 630";
9+
compatible = "nokia,moneypenny";
10+
};
11+
};

lk2nd/device/dts/msm8226/rules.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
LOCAL_DIR := $(GET_LOCAL_DIR)
3+
4+
DTBS += \
5+
$(LOCAL_DIR)/lumia.dtb \
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
3+
#include <skeleton64.dtsi>
4+
#include <lk2nd.dtsi>
5+
6+
/ {
7+
qcom,msm-id = <QCOM_ID_APQ8016 0>;
8+
qcom,board-id = <QCOM_BOARD_ID_SBC 0>;
9+
};
10+
11+
&lk2nd {
12+
model = "APQ8016 SBC";
13+
compatible = "apq8016,sbc";
14+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
#include "msm8916-motorola-harpia.dtsi"
3+
4+
/ {
5+
qcom,board-id = <0x4D 0x81B0>;
6+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
#include "msm8916-motorola-harpia.dtsi"
3+
4+
/ {
5+
qcom,board-id = <0x4E 0x81B0>;
6+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
#include "msm8916-motorola.dtsi"
3+
4+
&lk2nd {
5+
model = "Motorola Moto G4 Play (harpia)";
6+
compatible = "motorola,harpia";
7+
8+
panel {
9+
compatible = "motorola,harpia-panel", "lk2nd,panel";
10+
11+
qcom,mdss_dsi_mot_boe_499_720p_video_v1 {
12+
compatible = "motorola,harpia-panel-boe";
13+
};
14+
qcom,mdss_dsi_mot_tianma_499_720p_video_v2 {
15+
compatible = "motorola,harpia-panel-tianma";
16+
};
17+
};
18+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
3+
/dts-v1/;
4+
5+
#include <skeleton64.dtsi>
6+
#include <lk2nd.dtsi>
7+
#include <motorola-carrier-channel-ids.dtsi>
8+
9+
/ {
10+
qcom,msm-id = <QCOM_ID_MSM8916 0>;
11+
};
12+
13+
&lk2nd {
14+
unit-info {
15+
compatible = "motorola,unit-info";
16+
};
17+
};
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
3+
#include <skeleton64.dtsi>
4+
#include <lk2nd.dtsi>
5+
6+
/ {
7+
qcom,msm-id = <QCOM_ID_MSM8916 0>;
8+
qcom,board-id = <QCOM_BOARD_ID_QRD 7>, <QCOM_BOARD_ID_QRD 12>;
9+
};
10+
11+
&lk2nd {
12+
wingtech-wt88047 {
13+
model = "Xiaomi Redmi 2 (Wingtech WT88047)";
14+
compatible = "wingtech,wt88047";
15+
lk2nd,match-panel;
16+
17+
panel {
18+
compatible = "wingtech,wt88047-panel";
19+
20+
qcom,mdss_dsi_r69431_720p_video {
21+
compatible = "wingtech,sharp-r69431";
22+
};
23+
qcom,mdss_dsi_nt35521_720p_video {
24+
compatible = "wingtech,auo-nt35521";
25+
};
26+
qcom,mdss_dsi_nt35521s_720p_video {
27+
compatible = "wingtech,boe-nt35521s";
28+
};
29+
qcom,mdss_dsi_nt35521_ofilm_720p_video {
30+
compatible = "wingtech,ofilm-nt35521";
31+
};
32+
/* qcom,mdss_dsi_otm1285a_720p_video is not supported */
33+
qcom,mdss_dsi_r61308_720p_video {
34+
compatible = "wingtech,auo-r61308";
35+
};
36+
qcom,mdss_dsi_otm1285a_otp_720p_video {
37+
compatible = "wingtech,ebbg-otm1285a";
38+
};
39+
qcom,mdss_dsi_r61308_s88047a1_720p_video {
40+
compatible = "wingtech,auo-r61308";
41+
};
42+
};
43+
44+
smb1360 {
45+
compatible = "wingtech,smb1360-wt88047", "qcom,smb1360";
46+
bat-id-gpios = <&pmic 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN | GPIO_BIAS_DISABLE |
47+
GPIO_DRIVE_STR(3) | GPIO_PMIC_VIN_SEL(0))>;
48+
};
49+
};
50+
};
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
3+
#include <skeleton64.dtsi>
4+
#include <lk2nd.dtsi>
5+
6+
/ {
7+
qcom,msm-id = <QCOM_ID_MSM8916 0>;
8+
qcom,board-id = <QCOM_BOARD_ID_QRD 9>;
9+
};
10+
11+
&lk2nd {
12+
bq-paella {
13+
model = "BQ Aquaris X5 (Longcheer L8910)";
14+
compatible = "bq,paella", "longcheer,l8910";
15+
lk2nd,match-bootloader = "paella-*";
16+
17+
panel {
18+
compatible = "longcheer,l8910-panel", "lk2nd,panel";
19+
20+
qcom,mdss_dsi_truly_otm1288a_720p_video {
21+
compatible = "longcheer,truly-otm1288a";
22+
};
23+
qcom,mdss_dsi_truly_otm1288a_720p_cmd {
24+
compatible = "longcheer,truly-otm1288a";
25+
};
26+
qcom,mdss_dsi_yushun_NT35520_720p_cmd {
27+
compatible = "longcheer,yushun-nt35520";
28+
};
29+
qcom,mdss_dsi_truly_HX8394_720p_video {
30+
compatible = "longcheer,truly-hx8394";
31+
};
32+
qcom,mdss_dsi_yushun_NT35521S_720p_video {
33+
compatible = "longcheer,yushun-nt35521s";
34+
};
35+
};
36+
37+
smb1360 {
38+
compatible = "qcom,smb1360";
39+
qcom,batt-profile-select;
40+
qcom,batt-id-vref-uv = <1800000>;
41+
qcom,batt-id-rpullup-kohm = <100>;
42+
qcom,profile-a-rid-kohm = <100>;
43+
qcom,profile-b-rid-kohm = <200>;
44+
};
45+
};
46+
47+
wileyfox-crackling {
48+
model = "Wileyfox Swift (Longcheer L8150)";
49+
compatible = "wileyfox,crackling", "longcheer,l8150";
50+
lk2nd,match-bootloader = "crackling-*";
51+
52+
panel {
53+
compatible = "longcheer,l8150-panel", "lk2nd,panel";
54+
55+
/* TODO: qcom,mdss_dsi_truly_otm1288a_720p_video */
56+
qcom,mdss_dsi_dijing_ILI9881C_720p_video {
57+
compatible = "longcheer,dijing-ili9881c";
58+
};
59+
qcom,mdss_dsi_booyi_OTM1287_720p_video {
60+
compatible = "longcheer,booyi-otm1287";
61+
};
62+
};
63+
};
64+
};

lk2nd/device/dts/msm8916/rules.mk

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
LOCAL_DIR := $(GET_LOCAL_DIR)
3+
4+
QCDTBS += \
5+
$(LOCAL_DIR)/apq8016-sbc.dtb \
6+
$(LOCAL_DIR)/msm8916-motorola-harpia-p1b-4d.dtb \
7+
$(LOCAL_DIR)/msm8916-motorola-harpia-p1b-4e.dtb \
8+
$(LOCAL_DIR)/msm8916-qrd-7+12.dtb \
9+
$(LOCAL_DIR)/msm8916-qrd-9.dtb \
10+
$(LOCAL_DIR)/samsung.dtb \

0 commit comments

Comments
 (0)