summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts
blob: 5d2052a0ff69fd6789da35833f839265dfe2630b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// SPDX-License-Identifier: BSD-3-Clause
/*
 * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
 */

/dts-v1/;

#include "sdm845-sony-xperia-tama.dtsi"

/* XZ3 uses an Atmel touchscreen instead. */
/delete-node/ &touchscreen;

/ {
	model = "Sony Xperia XZ3";
	compatible = "sony,akatsuki-row", "qcom,sdm845";

	/* Fixed DCDC for the OLED panel */
	ts_vddio_supply: ts-vddio-regulator {
		compatible = "regulator-fixed";
		regulator-name = "ts_vddio";

		regulator-min-microvolt = <1840000>;
		regulator-max-microvolt = <1840000>;

		gpio = <&tlmm 133 GPIO_ACTIVE_HIGH>;
		enable-active-high;
		regulator-boot-on;
	};
};

&ibb {
	status = "disabled";
};

&lab {
	status = "disabled";
};

&panel {
	/* Akatsuki uses an OLED panel. */
	/delete-property/ backlight;
	/delete-property/ vsp-supply;
	/delete-property/ vsn-supply;
	/delete-property/ touch-reset-gpios;
};

&pmi8998_wled {
	status = "disabled";
};

&tlmm {
	ts_vddio_en: ts-vddio-en-state {
		pins = "gpio133";
		function = "gpio";
		drive-strength = <2>;
		bias-disable;
		output-high;
	};
};

&vreg_l14a_1p8 {
	regulator-min-microvolt = <1840000>;
	regulator-max-microvolt = <1840000>;
};

&vreg_l22a_2p8 {
	/* Note: Round-down from 2700000 to be a multiple of PLDO step-size 8000 */
	regulator-min-microvolt = <2696000>;
	regulator-max-microvolt = <2696000>;
};

&vreg_l28a_2p8 {
	regulator-min-microvolt = <3000000>;
	regulator-max-microvolt = <3000000>;
};