xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sc7180-trogdor-kingoftown-r0.dts (revision 1719886f6d08408b834d270c59ffcfd821c8f63a)
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-state {
33		pins = "gpio74";
34		function = "gpio";
35		drive-strength = <2>;
36		bias-disable;
37	};
38};
39