2 * Google Gru (and derivatives) board device tree source
4 * Copyright 2016 Google, Inc
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
11 * a) This file is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
16 * This file is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
23 * b) Permission is hereby granted, free of charge, to any person
24 * obtaining a copy of this software and associated documentation
25 * files (the "Software"), to deal in the Software without
26 * restriction, including without limitation the rights to use,
27 * copy, modify, merge, publish, distribute, sublicense, and/or
28 * sell copies of the Software, and to permit persons to whom the
29 * Software is furnished to do so, subject to the following
32 * The above copyright notice and this permission notice shall be
33 * included in all copies or substantial portions of the Software.
35 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42 * OTHER DEALINGS IN THE SOFTWARE.
45 #include <dt-bindings/input/input.h>
46 #include <dt-bindings/pwm/pwm.h>
47 #include "rk3399.dtsi"
53 * In general an attempt is made to include all rails called out by
54 * the schematic as long as those rails interact in some way with
56 * - Rails that only connect to the EC (or devices that the EC talks to)
58 * - Rails _are_ included if the rails go to the AP even if the AP
59 * doesn't currently care about them / they are always on. The idea
60 * here is that it makes it easier to map to the schematic or extend
63 * If two rails are substantially the same from the AP's point of
64 * view, though, we won't create a full fixed regulator. We'll just
65 * put the child rail as an alias of the parent rail. Sometimes rails
66 * look the same to the AP because one of these is true:
67 * - The EC controls the enable and the EC always enables a rail as
68 * long as the AP is running.
69 * - The rails are actually connected to each other by a jumper and
70 * the distinction is just there to add clarity/flexibility to the
74 /* parentless regulators */
76 ppvar_sys: ppvar-sys {
77 compatible = "regulator-fixed";
78 regulator-name = "ppvar_sys";
83 /* ppvar_sys children, sorted by name */
86 compatible = "regulator-fixed";
87 regulator-name = "pp900_ap";
89 /* EC turns on w/ pp900_ap_en; always on for AP */
93 regulator-min-microvolt = <900000>;
94 regulator-max-microvolt = <900000>;
96 vin-supply = <&ppvar_sys>;
99 pp1200_lpddr: pp1200-lpddr {
100 compatible = "regulator-fixed";
101 regulator-name = "pp1200_lpddr";
103 /* EC turns on w/ lpddr_pwr_en; always on for AP */
107 regulator-min-microvolt = <1200000>;
108 regulator-max-microvolt = <1200000>;
110 vin-supply = <&ppvar_sys>;
114 compatible = "regulator-fixed";
115 regulator-name = "pp1800";
117 /* Always on when ppvar_sys shows power good */
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <1800000>;
123 vin-supply = <&ppvar_sys>;
127 compatible = "regulator-fixed";
128 regulator-name = "pp3000";
129 pinctrl-names = "default";
130 pinctrl-0 = <&pp3000_en>;
133 gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
138 regulator-min-microvolt = <3000000>;
139 regulator-max-microvolt = <3000000>;
141 vin-supply = <&ppvar_sys>;
145 compatible = "regulator-fixed";
146 regulator-name = "pp3300";
148 /* Always on; plain and simple */
152 regulator-min-microvolt = <3300000>;
153 regulator-max-microvolt = <3300000>;
155 vin-supply = <&ppvar_sys>;
159 compatible = "regulator-fixed";
160 regulator-name = "pp5000";
162 /* EC turns on w/ pp5000_en; always on for AP */
166 regulator-min-microvolt = <5000000>;
167 regulator-max-microvolt = <5000000>;
169 vin-supply = <&ppvar_sys>;
172 ppvar_bigcpu: ppvar-bigcpu {
173 compatible = "pwm-regulator";
174 regulator-name = "ppvar_bigcpu";
177 pwms = <&pwm1 0 3333 0>;
179 // TODO: where's the mapping of duty cycle to voltage???
180 // TODO: we probably need in-flight PWM regulator series?
182 /* EC turns on w/ ap_core_en; always on for AP */
186 regulator-min-microvolt = <800000>;
187 regulator-max-microvolt = <1500000>;
189 pwm-supply = <&ppvar_sys>;
192 ppvar_litcpu: ppvar-litcpu {
193 compatible = "pwm-regulator";
194 regulator-name = "ppvar_litcpu";
197 pwms = <&pwm2 0 3333 0>;
199 /* EC turns on w/ ap_core_en; always on for AP */
203 regulator-min-microvolt = <800000>;
204 regulator-max-microvolt = <1500000>;
206 pwm-supply = <&ppvar_sys>;
209 ppvar_gpu: ppvar-gpu {
210 compatible = "pwm-regulator";
211 regulator-name = "ppvar_gpu";
214 pwms = <&pwm0 0 3333 0>;
216 /* EC turns on w/ ap_core_en; always on for AP */
220 regulator-min-microvolt = <800000>;
221 regulator-max-microvolt = <1500000>;
223 pwm-supply = <&ppvar_sys>;
226 ppvar_centerlogic: ppvar-centerlogic {
227 compatible = "pwm-regulator";
228 regulator-name = "ppvar_centerlogic";
231 pwms = <&pwm3 0 3333 0>;
233 /* EC turns on w/ ppvar_centerlogic_en; always on for AP */
237 regulator-min-microvolt = <800000>;
238 regulator-max-microvolt = <1500000>;
240 pwm-supply = <&ppvar_sys>;
243 /* Schematics call this PPVAR even though it's fixed */
244 ppvar_logic: ppvar-logic {
245 compatible = "regulator-fixed";
246 regulator-name = "ppvar_logic";
248 /* EC turns on w/ ppvar_logic_en; always on for AP */
252 regulator-min-microvolt = <900000>;
253 regulator-max-microvolt = <900000>;
255 vin-supply = <&ppvar_sys>;
258 /* pp900_ap aliases; these are always on for AP so just use alias */
260 /* EC turns on w/ pp900_ddrpll_en */
261 pp900_ddrpll: pp900_ap {
264 /* EC turns on w/ pp900_pcie_en */
265 pp900_pcie: pp900_ap {
268 /* EC turns on w/ pp900_pll_en */
269 pp900_pll: pp900_ap {
272 /* EC turns on w/ pp900_pmu_en */
273 pp900_pmu: pp900_ap {
276 /* EC turns on w/ pp900_usb_en */
277 pp900_usb: pp900_ap {
280 /* pp1800 aliases; these are always on for AP so just use alias */
282 /* EC turns on w/ pp1800_s0_en_l */
283 pp1800_ap_io: pp1800_emmc: pp1800_nfc: pp1800_s0: pp1800 {
286 /* EC turns on w/ pp1800_avdd_en_l */
287 pp1800_avdd: pp1800 {
290 /* EC turns on w/ pp1800_lid_en_l */
291 pp1800_lid: pp1800_mic: pp1800 {
294 /* EC turns on w/ lpddr_pwr_en */
295 pp1800_lpddr: pp1800 {
298 /* EC turns on w/ pp1800_pmu_en_l */
302 /* EC turns on w/ pp1800_sensor_en_l */
303 // TODO: Only for EC and things EC talks to I think; remove?
304 pp1800_sensor: pp1800 {
307 /* EC turns on w/ pp1800_usb_en_l */
311 /* pp1800 children */
313 /* EC turns on w/ pp1200_hsic_en */
314 // TODO: Might be removed in future schematics?
315 pp1200_hsic: pp1200-hsic {
316 compatible = "regulator-fixed";
317 regulator-name = "pp1200_hsic";
321 regulator-min-microvolt = <1200000>;
322 regulator-max-microvolt = <1200000>;
324 vin-supply = <&pp1800>;
327 pp1500_ap_io: pp1500-ap-io {
328 compatible = "regulator-fixed";
329 regulator-name = "pp1500_ap_io";
330 pinctrl-names = "default";
331 pinctrl-0 = <&pp1500_en>;
334 gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
338 regulator-min-microvolt = <1500000>;
339 regulator-max-microvolt = <1500000>;
341 vin-supply = <&pp1800>; // TODO: DNS for 3.3??
344 pp1800_audio: pp1800-audio {
345 compatible = "regulator-fixed";
346 regulator-name = "pp1800_audio";
347 pinctrl-names = "default";
348 pinctrl-0 = <&pp1800_audio_en>;
354 gpio = <&gpio0 2 GPIO_ACTIVE_HIGH>;
356 vin-supply = <&pp1800>;
359 pp1800_pcie: pp1800-pcie {
360 compatible = "regulator-fixed";
361 regulator-name = "pp1800_pcie";
362 pinctrl-names = "default";
363 pinctrl-0 = <&wlan_module_pd_l>;
365 regulator-always-on; // TODO: for bringup???
366 regulator-boot-on; // TODO: for bringup???
368 gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>;
370 vin-supply = <&pp1800>;
373 /* pp3000 aliases; these are always on for AP so just use alias */
375 /* Always on; plain and simple */
376 pp3000_ap: pp3000_emmc: pp3000 {
379 /* pp3000 children */
381 pp3000_sd_slot: pp3000-sd-slot {
382 compatible = "regulator-fixed";
383 regulator-name = "pp3000_sd_slot";
384 pinctrl-names = "default";
385 pinctrl-0 = <&sd_slot_pwr_en>;
387 // regulator-always-on; // TODO: for bringup???
388 // regulator-boot-on; // TODO: for bringup???
391 gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
393 vin-supply = <&pp3000>;
396 ppvar_sd_card_io: ppvar-sd-card-io {
397 compatible = "regulator-gpio";
398 regulator-name = "ppvar_sd_card_io";
399 pinctrl-names = "default";
400 pinctrl-0 = <&sd_io_pwr_en &sd_pwr_1800_sel>;
402 // regulator-always-on; // TODO: for bringup???
403 // regulator-boot-on; // TODO: for bringup???
406 enable-gpio = <&gpio2 2 GPIO_ACTIVE_HIGH>;
407 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
408 states = <1800000 0x1
411 regulator-min-microvolt = <1800000>;
412 regulator-max-microvolt = <3000000>;
414 // TODO: add support in driver for input supplies.
415 // ...and specify pp3000 and pp1800.
418 /* pp3300 aliases; these are always on for AP so just use alias */
420 /* EC turns on w/ pp3300_trackpad_en_l */
421 pp3300_trackpad: pp3300-trackpad {
424 /* EC turns on w/ pp3300_usb_en_l */
428 /* pp3300 children */
430 pp3300_disp: pp3300-disp {
431 compatible = "regulator-fixed";
432 regulator-name = "pp3300_disp";
433 pinctrl-names = "default";
434 pinctrl-0 = <&pp3300_disp_en>;
438 // TODO: for bringup; we should reference (and enable) this
439 // regulator with a panel (?) or backlight (?) driver
443 gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;
445 vin-supply = <&pp3300>;
448 pp3300_wifi_bt:pp3300-wifi-bt {
449 compatible = "regulator-fixed";
450 regulator-name = "pp3300_wifi_bt";
451 /* NOTE: wlan_module_pd_l pinctrl in pp1800_pcie */
453 regulator-always-on; // TODO: for bringup???
454 regulator-boot-on; // TODO: for bringup???
457 // TODO: I _think_ it's OK to specify the same GPIO in two
458 // regulator-fixed regulators. See pp1800_pcie
459 gpio = <&gpio0 8 GPIO_ACTIVE_HIGH>;
461 vin-supply = <&pp3300>;
468 compatible = "rockchip,rockchip-audio-da7219";
469 rockchip,model = "audio-da7219";
470 rockchip,i2s-controller = <&i2s0>;
471 rockchip,audio-codec = <&codec>;
474 backlight: backlight {
475 compatible = "gpio-backlight";
476 pinctrl-names = "default";
477 pinctrl-0 = <&bl_en>;
478 gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
481 edp_panel: edp-panel {
482 compatible = "samsung,lsn122dl01-c01", "panel-simple";
483 backlight = <&backlight>;
484 power-supply = <&pp3300_disp>;
487 panel_in_edp: endpoint {
488 remote-endpoint = <&edp_out_panel>;
495 cpu-supply = <&ppvar_litcpu>;
499 cpu-supply = <&ppvar_litcpu>;
503 cpu-supply = <&ppvar_litcpu>;
507 cpu-supply = <&ppvar_litcpu>;
511 cpu-supply = <&ppvar_bigcpu>;
515 cpu-supply = <&ppvar_bigcpu>;
526 // ...with no speed, it should just use 100kHz
527 // TODO: rise / fall times?
529 // TODO: This is in mainline, but not the Rockchip private kernel
530 // TODO: Need to hook this into the rest of audio stuff...
532 // TODO: any pinctrl needed for this codec???
533 headsetcodec: rt5514@57 {
534 compatible = "realtek,rt5514";
536 pinctrl-names = "default";
537 pinctrl-0 = <&mic_int>;
540 * NOTE: Interrupts aren't part of the binding and driver
541 * doesn't support it, but throw it in anyway.
543 interrupt-parent = <&gpio1>;
544 interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
552 // ...with no speed, it should just use 100kHz
553 // TODO: rise / fall times?
555 // TODO: Add the proper touchscreen reference...
558 // TODO: Might need to go in sub boards????
565 * Note strange pullup enable. Apparently this avoids leakage but
566 * still allows us to get nice 4.7K pullups for high speed i2c
567 * transfers. Basically we want the pullup on whenever the ap is
568 * alive, so the "en" pin just gets set to output high.
570 pinctrl-0 = <&i2c5_xfer &ap_i2c_tp_pu_en>;
572 clock-frequency = <400000>;
574 /* These are relatively safe rise/fall times; TODO: measure */
575 i2c-scl-falling-time-ns = <50>;
576 i2c-scl-rising-time-ns = <300>;
579 ap_i2c_audio: &i2c8 {
583 // ...with no speed, it should just use 100kHz
584 // TODO: rise / fall times?
585 // ...on gru-gru this is on a sub board, so expect bad rise/fall times
587 // TODO: copied from sample. Double-check...
589 compatible = "dlg,da7219";
592 pinctrl-names = "default";
593 pinctrl-0 = <&headset_int_l>;
595 interrupt-parent = <&gpio1>;
596 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
598 VDD-supply = <&pp1800>;
599 VDDMIC-supply = <&pp3300>;
600 VDDIO-supply = <&pp1800>;
602 // TODO: I THINK this is right, but it's a bit of a guess.
603 clocks = <&cru SCLK_I2S_8CH_OUT>;
604 clock-names = "mclk";
606 // Below is from bindings; we need to adjust for our SoC / board.
607 dlg,ldo-lvl = <1200>;
608 dlg,micbias-lvl = <2600>;
609 dlg,mic-amp-in-sel = "diff";
613 dlg,mic-det-thr = <500>;
614 dlg,jack-ins-deb = <20>;
615 dlg,jack-det-rate = "32ms_64ms";
616 dlg,jack-rem-deb = <1>;
618 dlg,a-d-btn-thr = <0xa>;
619 dlg,d-b-btn-thr = <0x16>;
620 dlg,b-c-btn-thr = <0x21>;
621 dlg,c-mic-btn-thr = <0x3E>;
624 dlg,adc-1bit-rpt = <1>;
636 bt656-supply = <&pp1800_ap_io>; /* APIO2_VDD; 2a 2b */
637 audio-supply = <&pp1800_audio>; /* APIO5_VDD; 3d 4a */
638 sdmmc-supply = <&ppvar_sd_card_io>; /* SDMMC0_VDD; 4b */
639 gpio1830-supply = <&pp3000_ap>; /* APIO4_VDD; 4c 4d */
674 * Note: configure "sdmmc_cd" as card detect even though it's actually
675 * hooked to ground. Because we specified "cd-gpios" below dw_mmc
676 * should be ignoring card detect anyway. Specifying the pin as
677 * sdmmc_cd means that even if you've got GRF_SOC_CON7[12] (force_jtag)
678 * turned on that the system will still make sure the port is
679 * configured as SDMMC and not JTAG.
681 pinctrl-names = "default";
682 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_cd_gpio
685 // HACK: supports-sd is not in mainline.
688 // HACK: Limit freq for now
689 // ...as of 160330 confirmed that things break if you remove this.
690 clock-frequency = <37500000>;
691 clock-freq-min-max = <400000 37500000>;
694 cd-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
700 // TODO: enable once tested...
706 // Comment out until we turn on gpio-regulator config
707 vmmc-supply = <&pp3000_sd_slot>;
708 vqmmc-supply = <&ppvar_sd_card_io>;
714 // TODO: more properly. Hacky spidev for now???
716 // - We either have a Haven here or a Infineon SLB9670. The SLB9670
717 // is supposed to be a fallback if Haven is broken.
718 // - Either TPM is supposed to be TPM 2.0 hooked up to SPI. I see some
719 // kernel support for TPM 2.0 on x86 (hooked up with ACPI) but no
720 // generic way to say "we have a SPI TPM 2.0". We'll need to add
721 // a driver for whichever way we go.
722 // - wfrichar@ says that for Haven if it has gone to sleep we might
723 // need to add a delay after asserting chip select. Presumably
724 // haven-specific driver will need to handle this logic (keeping
725 // track when we last talked and adding an extra delay if it's been
728 compatible = "spidev";
729 // TODO: can run faster once verified.
730 // TODO: add rx-sample-delay-ns.
731 spi-max-frequency = <10000000>;
739 // TODO: Ideally we want to use MTD for this, but presumably
740 // we'll wait until we can test it and also bring it up in our
743 compatible = "spidev";
744 // TODO: can run faster once verified.
745 // TODO: add rx-sample-delay-ns.
746 spi-max-frequency = <10000000>;
754 // TODO: more properly. Hacky spidev for now???
756 compatible = "spidev";
758 // TODO: can run faster once verified.
759 // TODO: add rx-sample-delay-ns.
760 spi-max-frequency = <10000000>;
769 compatible = "google,cros-ec-spi";
771 pinctrl-names = "default";
772 pinctrl-0 = <&ec_ap_int_l>;
774 google,cros-ec-spi-pre-delay = <30>; // TODO: check
775 interrupt-parent = <&gpio0>;
776 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
777 spi-max-frequency = <3000000>; // TODO: check; TODO: rx-sample-delay-ns?
779 i2c_tunnel: i2c-tunnel {
780 compatible = "google,cros-ec-i2c-tunnel";
781 google,remote-bus = <0>;
782 #address-cells = <1>;
789 // - double-check that hw-tshut-mode is same as EVB
790 // - double check that hw-tshut-polarity is the same as EVB
794 rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
795 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
824 dr_mode = "host"; // TODO: needed?
833 dr_mode = "host"; // TODO: needed?
842 #address-cells = <1>;
845 edp_out_panel: endpoint@0 {
847 remote-endpoint = <&panel_in_edp>;
874 mali-supply = <&ppvar_gpu>;
878 /* HACKS: Poorly formatted on purpose so you know they're hacks */
880 /* HACK THE PWM REGULATOR OUT
882 * We'll hack them all to pretend they are fixed regulators
883 * and at exactly .9V, which is where cpufreq wants them.
885 * We'll also set all PWMs to disabled so we know that the PWM
886 * framework won't touch them.
888 * This relies on PWM clock being a critical clock.
891 compatible = "regulator-fixed";
892 regulator-min-microvolt = <900000>;
893 regulator-max-microvolt = <900000>;
897 compatible = "regulator-fixed";
898 regulator-min-microvolt = <900000>;
899 regulator-max-microvolt = <900000>;
903 compatible = "regulator-fixed";
904 regulator-min-microvolt = <900000>;
905 regulator-max-microvolt = <900000>;
909 compatible = "regulator-fixed";
910 regulator-min-microvolt = <900000>;
911 regulator-max-microvolt = <900000>;
941 pmu1830-supply = <&pp1800_pmu>; /* PMUIO2_VDD */
944 /* PINCTRL: always below everything else */
947 pcfg_output_high: pcfg-output-high {
952 ec_ap_int_l: ec-ap-int-l {
953 rockchip,pins = <RK_GPIO0 1 RK_FUNC_GPIO &pcfg_pull_up>;
957 discrete-regulators {
958 pp1500_en: pp1500-en {
959 rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO
963 pp1800_audio_en: pp1800-audio-en {
964 rockchip,pins = <RK_GPIO0 2 RK_FUNC_GPIO
968 pp3300_disp_en: pp3300-disp-en {
969 rockchip,pins = <RK_GPIO4 27 RK_FUNC_GPIO
973 pp3000_en: pp3000-en {
974 rockchip,pins = <RK_GPIO0 12 RK_FUNC_GPIO
978 sd_io_pwr_en: sd-io-pwr-en {
979 rockchip,pins = <RK_GPIO2 2 RK_FUNC_GPIO
983 sd_pwr_1800_sel: sd-pwr-1800-sel {
984 rockchip,pins = <RK_GPIO2 28 RK_FUNC_GPIO
988 sd_slot_pwr_en: sd-slot-pwr-en {
989 rockchip,pins = <RK_GPIO4 29 RK_FUNC_GPIO
993 wlan_module_pd_l: wlan-module-pd-l {
994 rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO
1000 /* Has external pullup */
1001 headset_int_l: headset-int-l {
1002 rockchip,pins = <1 23 RK_FUNC_GPIO &pcfg_pull_none>;
1005 // TODO: check pull. From signal name assume active high.
1007 rockchip,pins = <1 13 RK_FUNC_GPIO &pcfg_pull_down>;
1013 * We have external pulls on SDMMC, so diable internals
1016 * - On veyron we found that we needed to drive at 8mA. Do we
1017 * need to that here? If so, 8mA or 12mA?
1019 sdmmc_bus4: sdmmc-bus4 {
1021 <4 8 RK_FUNC_1 &pcfg_pull_none>,
1022 <4 9 RK_FUNC_1 &pcfg_pull_none>,
1023 <4 10 RK_FUNC_1 &pcfg_pull_none>,
1024 <4 11 RK_FUNC_1 &pcfg_pull_none>;
1027 sdmmc_clk: sdmmc-clk {
1029 <4 12 RK_FUNC_1 &pcfg_pull_none>;
1032 sdmmc_cmd: sdmmc-cmd {
1034 <4 13 RK_FUNC_1 &pcfg_pull_none>;
1038 * In our case the official card detect is hooked to ground
1039 * to avoid getting access to JTAG just by sticking something
1040 * in the SD card slot (see the force_jtag bit in the TRM).
1042 * We still configure it as card detect because it doesn't
1043 * hurt and dw_mmc will ignore it. We make sure to disable
1044 * the pull though so we don't burn needless power.
1046 sdmmc_cd: sdmcc-cd {
1048 <0 7 RK_FUNC_1 &pcfg_pull_none>;
1051 /* This is where we actually hook up CD; has external pull */
1052 sdmmc_cd_gpio: sdmmc-cd-gpio {
1053 rockchip,pins = <4 24 RK_FUNC_GPIO &pcfg_pull_none>;
1058 ap_i2c_tp_pu_en: ap-i2c-tp-pu-en {
1059 rockchip,pins = <3 12 RK_FUNC_GPIO &pcfg_output_high>;
1062 trackpad_int_l: trackpad-int-l {
1063 rockchip,pins = <1 4 RK_FUNC_GPIO &pcfg_pull_up>;
1069 rockchip,pins = <1 17 RK_FUNC_GPIO &pcfg_pull_none>;
1074 /* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */
1075 /* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */
1076 /* DON'T PUT ANYTHING BELOW HERE. PUT IT ABOVE PINCTRL */