Skip to content

Commit 557b1ae

Browse files
committed
dts: qcom: sdm660: Add sdm660-bbry-common, sdm660-bbry-athena-common, sdm636-bbry-luna-common, sdm660-bbry-athena-boe, sdm660-bbry-athena-syna, sdm636-bbry-luna-syna, and sdm636-bbry-luna-boe
for BlackBerry KEY2 and KEY2 LE working features: - Internal MMC - External SDcard - Wi-Fi - Bluetooth - Keypad - Panel - GPU (bit crashy) - fuel gauge - volume buttons - usb TODO: - keypad backlight - modem - audio - 3-button row - gps - fm radio - camera dts changes to firmware, multiple panels, and qcom ids
1 parent 5deb8cf commit 557b1ae

8 files changed

+896
-0
lines changed

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,14 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-voyager.dtb
217217
dtb-$(CONFIG_ARCH_QCOM) += sdm632-fairphone-fp3.dtb
218218
dtb-$(CONFIG_ARCH_QCOM) += sdm632-motorola-ocean.dtb
219219
dtb-$(CONFIG_ARCH_QCOM) += sdm636-asus-x00td.dtb
220+
dtb-$(CONFIG_ARCH_QCOM) += sdm636-bbry-luna-boe.dtb
221+
dtb-$(CONFIG_ARCH_QCOM) += sdm636-bbry-luna-syna.dtb
220222
dtb-$(CONFIG_ARCH_QCOM) += sdm636-motorola-beckham.dtb
221223
dtb-$(CONFIG_ARCH_QCOM) += sdm636-sony-xperia-ganges-mermaid.dtb
222224
dtb-$(CONFIG_ARCH_QCOM) += sdm636-xiaomi-tulip.dtb
223225
dtb-$(CONFIG_ARCH_QCOM) += sdm636-xiaomi-whyred.dtb
226+
dtb-$(CONFIG_ARCH_QCOM) += sdm660-bbry-athena-boe.dtb
227+
dtb-$(CONFIG_ARCH_QCOM) += sdm660-bbry-athena-syna.dtb
224228
dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-clover-plus.dtb
225229
dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-jasmine.dtb
226230
dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-lavender-tianma.dtb
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* Copyright (c) 2025, Paul Sajna <[email protected]>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include "sdm636-bbry-luna-common.dtsi"
9+
10+
&panel {
11+
compatible = "boe,bv045fhm-l00";
12+
};
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* Copyright (c) 2025, Paul Sajna <[email protected]>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include "sdm636.dtsi"
9+
#include "sdm660-bbry-common.dtsi"
10+
11+
/ {
12+
model = "BlackBerry KEY2 LE";
13+
compatible = "bbry,luna", "qcom,sdm636";
14+
chassis-type = "handset";
15+
};
16+
17+
&adreno_gpu_zap {
18+
firmware-name = "qcom/sdm636/luna/a512_zap.mbn";
19+
};
20+
21+
&adsp_pil {
22+
firmware-name = "qcom/sdm636/luna/adsp.mbn";
23+
};
24+
25+
&remoteproc_mss {
26+
firmware-name = "qcom/sdm636/luna/mba.mbn", "qcom/sdm636/luna/modem.mbn";
27+
};
28+
29+
&venus {
30+
firmware-name = "qcom/sdm636/luna/venus.mbn";
31+
};
32+
33+
&wifi {
34+
qcom,ath10k-calibration-variant = "bbry_luna";
35+
};
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* Copyright (c) 2025, Paul Sajna <[email protected]>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include "sdm636-bbry-luna-common.dtsi"
9+
10+
&panel {
11+
compatible = "syna,td4300-panel";
12+
13+
panel-timing {
14+
clock-frequency = <127280160>;
15+
hactive = <1080>;
16+
hsync-len = <2>;
17+
hfront-porch = <120>;
18+
hback-porch = <40>;
19+
20+
vactive = <1620>;
21+
vsync-len = <2>;
22+
vfront-porch = <8>;
23+
vback-porch = <6>;
24+
};
25+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* Copyright (c) 2025, Paul Sajna <[email protected]>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include "sdm660-bbry-athena-common.dtsi"
9+
10+
&panel {
11+
compatible = "boe,bv045fhm-l00";
12+
};
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* Copyright (c) 2025, Paul Sajna <[email protected]>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include "sdm660.dtsi"
9+
#include "sdm660-bbry-common.dtsi"
10+
11+
/ {
12+
model = "BlackBerry KEY2";
13+
compatible = "bbry,athena", "qcom,sdm660";
14+
chassis-type = "handset";
15+
};
16+
17+
&adreno_gpu_zap {
18+
firmware-name = "qcom/sdm660/athena/a512_zap.mbn";
19+
};
20+
21+
&adsp_pil {
22+
firmware-name = "qcom/sdm660/athena/adsp.mbn";
23+
};
24+
25+
&remoteproc_mss {
26+
firmware-name = "qcom/sdm660/athena/mba.mbn", "qcom/sdm660/athena/modem.mbn";
27+
};
28+
29+
&venus {
30+
firmware-name = "qcom/sdm660/athena/venus.mbn";
31+
};
32+
33+
&wifi {
34+
qcom,ath10k-calibration-variant = "bbry_athena";
35+
};
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* Copyright (c) 2025, Paul Sajna <[email protected]>
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include "sdm660-bbry-athena-common.dtsi"
9+
10+
&panel {
11+
compatible = "syna,td4300-panel";
12+
13+
panel-timing {
14+
clock-frequency = <127280160>;
15+
hactive = <1080>;
16+
hsync-len = <2>;
17+
hfront-porch = <120>;
18+
hback-porch = <40>;
19+
20+
vactive = <1620>;
21+
vsync-len = <2>;
22+
vfront-porch = <8>;
23+
vback-porch = <6>;
24+
};
25+
};

0 commit comments

Comments
 (0)