xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sc7180-trogdor-kingoftown-r0.dts (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Google Kingoftown board device tree source
4 *
5 * Copyright 2021 Google LLC.
6 */
7
8/dts-v1/;
9
10#include "sc7180-trogdor.dtsi"
11#include "sc7180-trogdor-ti-sn65dsi86.dtsi"
12#include "sc7180-trogdor-kingoftown.dtsi"
13
14/ {
15	model = "Google Kingoftown (rev0)";
16	compatible = "google,kingoftown-rev0", "qcom,sc7180";
17};
18
19/*
20 * In rev1+, the enable pin of pp3300_fp_tp will be tied to pp1800_l10a
21 * power rail instead, since kingoftown does not have FP.
22 */
23&pp3300_fp_tp {
24	gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>;
25	enable-active-high;
26
27	pinctrl-names = "default";
28	pinctrl-0 = <&en_fp_rails>;
29};
30
31&tlmm {
32	en_fp_rails: en-fp-rails {
33		pinmux {
34			pins = "gpio74";
35			function = "gpio";
36		};
37
38		pinconf {
39			pins = "gpio74";
40			drive-strength = <2>;
41			bias-disable;
42		};
43	};
44};
45