Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Google Kingoftown board device tree source
0004  *
0005  * Copyright 2021 Google LLC.
0006  */
0007 
0008 /dts-v1/;
0009 
0010 #include "sc7180-trogdor.dtsi"
0011 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
0012 #include "sc7180-trogdor-kingoftown.dtsi"
0013 
0014 / {
0015         model = "Google Kingoftown (rev0)";
0016         compatible = "google,kingoftown-rev0", "qcom,sc7180";
0017 };
0018 
0019 /*
0020  * In rev1+, the enable pin of pp3300_fp_tp will be tied to pp1800_l10a
0021  * power rail instead, since kingoftown does not have FP.
0022  */
0023 &pp3300_fp_tp {
0024         gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>;
0025         enable-active-high;
0026 
0027         pinctrl-names = "default";
0028         pinctrl-0 = <&en_fp_rails>;
0029 };
0030 
0031 &tlmm {
0032         en_fp_rails: en-fp-rails {
0033                 pinmux {
0034                         pins = "gpio74";
0035                         function = "gpio";
0036                 };
0037 
0038                 pinconf {
0039                         pins = "gpio74";
0040                         drive-strength = <2>;
0041                         bias-disable;
0042                 };
0043         };
0044 };