Skip to content

Commit 603b671

Browse files
committed
arm64: dts: qcom: msm8953: Add device tree for Billion Capture+
Billion Capture+ is a handset using the MSM8953 SoC released in 2017 Add a device tree with initial support for: - GPIO keys - SDHCI (internal and external storage) - USB Device Mode - Regulators - Simple framebuffer - Haptics
1 parent 3ee64b1 commit 603b671

File tree

2 files changed

+257
-0
lines changed

2 files changed

+257
-0
lines changed

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8939-wingtech-wt82918.dtb
7373
dtb-$(CONFIG_ARCH_QCOM) += msm8939-wingtech-wt82918hd.dtb
7474
dtb-$(CONFIG_ARCH_QCOM) += msm8953-asus-ze520kl.dtb
7575
dtb-$(CONFIG_ARCH_QCOM) += msm8953-asus-ze552kl.dtb
76+
dtb-$(CONFIG_ARCH_QCOM) += msm8953-billion-rimob.dtb
7677
dtb-$(CONFIG_ARCH_QCOM) += msm8953-huawei-milan.dtb
7778
dtb-$(CONFIG_ARCH_QCOM) += msm8953-lenovo-kuntao.dtb
7879
dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-potter.dtb
Lines changed: 256 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,256 @@
1+
/dts-v1/;
2+
3+
#include "msm8953.dtsi"
4+
#include "pm8953.dtsi"
5+
#include "pmi8950.dtsi"
6+
7+
/delete-node/ &cont_splash_mem;
8+
/delete-node/ &qseecom_mem;
9+
10+
/ {
11+
model = "Billion Capture+";
12+
compatible = "billion,rimob", "qcom,msm8953";
13+
chassis-type = "handset";
14+
qcom,msm-id = <293 0>;
15+
qcom,board-id = <0x340008 0>;
16+
17+
chosen {
18+
#address-cells = <2>;
19+
#size-cells = <2>;
20+
ranges;
21+
22+
framebuffer@90001000 {
23+
compatible = "simple-framebuffer";
24+
reg = <0 0x90001000 0 (1920 * 1080 * 3)>;
25+
26+
width = <1080>;
27+
height = <1920>;
28+
stride = <(1080 * 3)>;
29+
format = "r8g8b8";
30+
31+
power-domains = <&gcc MDSS_GDSC>;
32+
33+
clocks = <&gcc GCC_MDSS_AHB_CLK>,
34+
<&gcc GCC_MDSS_AXI_CLK>,
35+
<&gcc GCC_MDSS_VSYNC_CLK>,
36+
<&gcc GCC_MDSS_MDP_CLK>,
37+
<&gcc GCC_MDSS_BYTE0_CLK>,
38+
<&gcc GCC_MDSS_PCLK0_CLK>,
39+
<&gcc GCC_MDSS_ESC0_CLK>;
40+
};
41+
};
42+
43+
gpio-keys {
44+
compatible = "gpio-keys";
45+
46+
pinctrl-names = "default";
47+
pinctrl-0 = <&gpio_key_default>;
48+
49+
key-volume-up {
50+
label = "Volume Up";
51+
gpios = <&tlmm 85 GPIO_ACTIVE_LOW>;
52+
linux,code = <KEY_VOLUMEUP>;
53+
debounce-interval = <15>;
54+
};
55+
};
56+
57+
reserved-memory {
58+
qseecom@0 {
59+
reg = <0x00 0x84a00000 0x00 0x1900000>;
60+
no-map;
61+
};
62+
63+
cont_splash_mem: cont-splash@90001000 {
64+
reg = <0x0 0x90001000 0x0 (1080 * 1920 * 3)>;
65+
no-map;
66+
};
67+
};
68+
69+
vph_pwr: vph-pwr-regulator {
70+
compatible = "regulator-fixed";
71+
regulator-name = "vph_pwr";
72+
regulator-always-on;
73+
regulator-boot-on;
74+
};
75+
};
76+
77+
78+
&hsusb_phy {
79+
vdd-supply = <&pm8953_l3>;
80+
vdda-pll-supply = <&pm8953_l7>;
81+
vdda-phy-dpdm-supply = <&pm8953_l13>;
82+
83+
status = "okay";
84+
};
85+
86+
&pm8953_resin {
87+
linux,code = <KEY_VOLUMEDOWN>;
88+
status = "okay";
89+
};
90+
91+
&pmi8950_haptics {
92+
qcom,actuator-type = <HAP_TYPE_ERM>;
93+
qcom,brake-pattern = <0x3 0x3 0x0 0x0>;
94+
qcom,wave-play-rate-us = <5263>;
95+
qcom,wave-shape = <HAP_WAVE_SQUARE>;
96+
97+
status = "okay";
98+
};
99+
100+
&rpm_requests {
101+
regulators {
102+
compatible = "qcom,rpm-pm8953-regulators";
103+
vdd_s1-supply = <&vph_pwr>;
104+
vdd_s2-supply = <&vph_pwr>;
105+
vdd_s3-supply = <&vph_pwr>;
106+
vdd_s4-supply = <&vph_pwr>;
107+
vdd_s5-supply = <&vph_pwr>;
108+
vdd_s6-supply = <&vph_pwr>;
109+
vdd_s7-supply = <&vph_pwr>;
110+
vdd_l1-supply = <&pm8953_s3>;
111+
vdd_l2_l3-supply = <&pm8953_s3>;
112+
vdd_l4_l5_l6_l7_l16_l19-supply = <&pm8953_s4>;
113+
vdd_l8_l11_l12_l13_l14_l15-supply = <&vph_pwr>;
114+
vdd_l9_l10_l17_l18_l22-supply = <&vph_pwr>;
115+
vdd_l23-supply = <&pm8953_s3>;
116+
117+
pm8953_s1: s1 {
118+
regulator-min-microvolt = <870000>;
119+
regulator-max-microvolt = <1156000>;
120+
};
121+
122+
pm8953_s3: s3 {
123+
regulator-min-microvolt = <1224000>;
124+
regulator-max-microvolt = <1224000>;
125+
};
126+
127+
pm8953_s4: s4 {
128+
regulator-min-microvolt = <1900000>;
129+
regulator-max-microvolt = <2050000>;
130+
};
131+
132+
pm8953_l1: l1 {
133+
regulator-min-microvolt = <1000000>;
134+
regulator-max-microvolt = <1000000>;
135+
};
136+
137+
pm8953_l2: l2 {
138+
regulator-min-microvolt = <975000>;
139+
regulator-max-microvolt = <1225000>;
140+
};
141+
142+
pm8953_l3: l3 {
143+
regulator-min-microvolt = <925000>;
144+
regulator-max-microvolt = <925000>;
145+
};
146+
147+
pm8953_l5: l5 {
148+
regulator-min-microvolt = <1800000>;
149+
regulator-max-microvolt = <1800000>;
150+
};
151+
152+
pm8953_l6: l6 {
153+
regulator-min-microvolt = <1800000>;
154+
regulator-max-microvolt = <1800000>;
155+
};
156+
157+
pm8953_l7: l7 {
158+
regulator-min-microvolt = <1800000>;
159+
regulator-max-microvolt = <1900000>;
160+
};
161+
162+
pm8953_l8: l8 {
163+
regulator-min-microvolt = <2900000>;
164+
regulator-max-microvolt = <2900000>;
165+
};
166+
167+
pm8953_l9: l9 {
168+
regulator-min-microvolt = <3000000>;
169+
regulator-max-microvolt = <3300000>;
170+
};
171+
172+
pm8953_l10: l10 {
173+
regulator-min-microvolt = <2850000>;
174+
regulator-max-microvolt = <2850000>;
175+
};
176+
177+
pm8953_l11: l11 {
178+
regulator-min-microvolt = <2950000>;
179+
regulator-max-microvolt = <2950000>;
180+
};
181+
182+
pm8953_l12: l12 {
183+
regulator-min-microvolt = <1800000>;
184+
regulator-max-microvolt = <2950000>;
185+
};
186+
187+
pm8953_l13: l13 {
188+
regulator-min-microvolt = <3125000>;
189+
regulator-max-microvolt = <3125000>;
190+
};
191+
192+
pm8953_l16: l16 {
193+
regulator-min-microvolt = <1800000>;
194+
regulator-max-microvolt = <1800000>;
195+
};
196+
197+
pm8953_l17: l17 {
198+
regulator-min-microvolt = <2850000>;
199+
regulator-max-microvolt = <2850000>;
200+
};
201+
202+
pm8953_l19: l19 {
203+
regulator-min-microvolt = <1200000>;
204+
regulator-max-microvolt = <1350000>;
205+
};
206+
207+
pm8953_l22: l22 {
208+
regulator-min-microvolt = <2800000>;
209+
regulator-max-microvolt = <2800000>;
210+
};
211+
212+
pm8953_l23: l23 {
213+
regulator-min-microvolt = <975000>;
214+
regulator-max-microvolt = <1225000>;
215+
};
216+
};
217+
};
218+
219+
&sdhc_1 {
220+
vmmc-supply = <&pm8953_l8>;
221+
vqmmc-supply = <&pm8953_l5>;
222+
223+
status = "okay";
224+
};
225+
226+
&sdhc_2 {
227+
vmmc-supply = <&pm8953_l11>;
228+
vqmmc-supply = <&pm8953_l12>;
229+
230+
cd-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
231+
232+
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
233+
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
234+
pinctrl-names = "default", "sleep";
235+
236+
status = "okay";
237+
};
238+
239+
&tlmm {
240+
gpio-reserved-ranges = <0 4>, <135 4>;
241+
242+
gpio_key_default: gpio-key-default-state {
243+
pins = "gpio85";
244+
function = "gpio";
245+
drive-strength = <2>;
246+
bias-pull-up;
247+
};
248+
};
249+
250+
&usb3 {
251+
status = "okay";
252+
};
253+
254+
&usb3_dwc3 {
255+
dr_mode = "peripheral";
256+
};

0 commit comments

Comments
 (0)