summaryrefslogtreecommitdiffstats
path: root/dts/src/arm64/qcom/sc7180-trogdor-kingoftown-r0.dts
blob: 1a62e8d435ab3fdf9e6ba75dde1949c967422c9b (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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Google Kingoftown board device tree source
 *
 * Copyright 2021 Google LLC.
 */

/dts-v1/;

#include "sc7180-trogdor.dtsi"
#include "sc7180-trogdor-ti-sn65dsi86.dtsi"
#include "sc7180-trogdor-kingoftown.dtsi"

/ {
	model = "Google Kingoftown (rev0)";
	compatible = "google,kingoftown-rev0", "qcom,sc7180";
};

/*
 * In rev1+, the enable pin of pp3300_fp_tp will be tied to pp1800_l10a
 * power rail instead, since kingoftown does not have FP.
 */
&pp3300_fp_tp {
	gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>;
	enable-active-high;

	pinctrl-names = "default";
	pinctrl-0 = <&en_fp_rails>;
};

&tlmm {
	en_fp_rails: en-fp-rails {
		pinmux {
			pins = "gpio74";
			function = "gpio";
		};

		pinconf {
			pins = "gpio74";
			drive-strength = <2>;
			bias-disable;
		};
	};
};