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