Skip to content

Commit 3d080f5

Browse files
committed
ARM: dts: qcom: msm8909-haier-g151: Add initial device tree
Haier G151, also known as Andromax A is a phone using the MSM8909 SoC released in 2015. Add a device tree for with initial support for: - pm8909-vibrator - SDHCI (internal and external storage) - USB Device Mode - UART - WCNSS (WiFi/BT) - Regulators Signed-off-by: Lou N <[email protected]>
1 parent aa28619 commit 3d080f5

File tree

2 files changed

+185
-0
lines changed

2 files changed

+185
-0
lines changed

arch/arm/boot/dts/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
3535
qcom-msm8905-nokia-argon.dtb \
3636
qcom-msm8909-acer-t01.dtb \
3737
qcom-msm8909-fareastone-smart506.dtb \
38+
qcom-msm8909-haier-g151.dtb \
3839
qcom-msm8909-lenovo-lxf-p5000.dtb \
3940
qcom-msm8909-lenovo-lxf-p5100.dtb \
4041
qcom-msm8909-nokia-leo.dtb \
Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
3+
/dts-v1/;
4+
5+
#include "qcom-msm8909-pm8909.dtsi"
6+
7+
#include <dt-bindings/gpio/gpio.h>
8+
#include <dt-bindings/input/input.h>
9+
#include <dt-bindings/interrupt-controller/irq.h>
10+
11+
/ {
12+
model = "Haier G151 / Andromax A";
13+
compatible = "haier,g151", "qcom,msm8909";
14+
chassis-type = "handset";
15+
16+
aliases {
17+
serial0 = &blsp_uart1;
18+
};
19+
20+
chosen {
21+
#address-cells = <1>;
22+
#size-cells = <1>;
23+
ranges;
24+
stdout-path = "serial0";
25+
26+
framebuffer@83201000 {
27+
compatible = "simple-framebuffer";
28+
reg = <0x83201000 (480 * 800 * 3)>;
29+
width = <480>;
30+
height = <800>;
31+
stride = <(480 * 3)>;
32+
format = "r8g8b8";
33+
34+
power-domains = <&gcc MDSS_GDSC>;
35+
36+
clocks = <&gcc GCC_MDSS_AHB_CLK>,
37+
<&gcc GCC_MDSS_AXI_CLK>,
38+
<&gcc GCC_MDSS_VSYNC_CLK>,
39+
<&gcc GCC_MDSS_MDP_CLK>,
40+
<&gcc GCC_MDSS_BYTE0_CLK>,
41+
<&gcc GCC_MDSS_PCLK0_CLK>,
42+
<&gcc GCC_MDSS_ESC0_CLK>;
43+
};
44+
};
45+
46+
reserved-memory {
47+
#address-cells = <1>;
48+
#size-cells = <1>;
49+
ranges;
50+
51+
framebuffer@83201000 {
52+
reg = <0x83201000 (480 * 854 * 3)>;
53+
no-map;
54+
};
55+
};
56+
};
57+
58+
&blsp_uart1 {
59+
status = "okay";
60+
};
61+
62+
&pm8909_usbin {
63+
status = "okay";
64+
};
65+
66+
&pm8909_vib {
67+
status = "okay";
68+
};
69+
70+
&sdhc_1 {
71+
status = "okay";
72+
};
73+
74+
&sdhc_2 {
75+
non-removable;
76+
status = "okay";
77+
};
78+
79+
&usb {
80+
extcon = <&pm8909_usbin>;
81+
dr_mode = "peripheral";
82+
status = "okay";
83+
};
84+
85+
&usb_hs_phy {
86+
extcon = <&pm8909_usbin>;
87+
};
88+
89+
&wcnss {
90+
status = "okay";
91+
};
92+
93+
&wcnss_iris {
94+
compatible = "qcom,wcn3620";
95+
};
96+
97+
&smd_rpm_regulators {
98+
s2 {
99+
regulator-min-microvolt = <1850000>;
100+
regulator-max-microvolt = <1850000>;
101+
};
102+
103+
l1 {
104+
regulator-min-microvolt = <1000000>;
105+
regulator-max-microvolt = <1000000>;
106+
};
107+
108+
l2 {
109+
regulator-min-microvolt = <1200000>;
110+
regulator-max-microvolt = <1200000>;
111+
};
112+
113+
l4 {
114+
regulator-min-microvolt = <1800000>;
115+
regulator-max-microvolt = <1800000>;
116+
};
117+
118+
l5 {
119+
regulator-min-microvolt = <1800000>;
120+
regulator-max-microvolt = <1800000>;
121+
};
122+
123+
l6 {
124+
regulator-min-microvolt = <1800000>;
125+
regulator-max-microvolt = <1800000>;
126+
};
127+
128+
l7 {
129+
regulator-min-microvolt = <1800000>;
130+
regulator-max-microvolt = <1800000>;
131+
};
132+
133+
l8 {
134+
regulator-min-microvolt = <2850000>;
135+
regulator-max-microvolt = <2900000>;
136+
};
137+
138+
l9 {
139+
regulator-min-microvolt = <3000000>;
140+
regulator-max-microvolt = <3300000>;
141+
};
142+
143+
l10 {
144+
regulator-min-microvolt = <1225000>;
145+
regulator-max-microvolt = <1300000>;
146+
};
147+
148+
l11 {
149+
regulator-min-microvolt = <1800000>;
150+
regulator-max-microvolt = <2950000>;
151+
regulator-system-load = <200000>;
152+
regulator-allow-set-load;
153+
};
154+
155+
l12 {
156+
regulator-min-microvolt = <1800000>;
157+
regulator-max-microvolt = <2950000>;
158+
};
159+
160+
l13 {
161+
regulator-min-microvolt = <3075000>;
162+
regulator-max-microvolt = <3075000>;
163+
};
164+
165+
l14 {
166+
regulator-min-microvolt = <1800000>;
167+
regulator-max-microvolt = <3000000>;
168+
};
169+
170+
l15 {
171+
regulator-min-microvolt = <1800000>;
172+
regulator-max-microvolt = <3000000>;
173+
};
174+
175+
l17 {
176+
regulator-min-microvolt = <2850000>;
177+
regulator-max-microvolt = <2850000>;
178+
};
179+
180+
l18 {
181+
regulator-min-microvolt = <2700000>;
182+
regulator-max-microvolt = <2700000>;
183+
};
184+
};

0 commit comments

Comments
 (0)