Lines Matching +full:rk3399 +full:- +full:pcie +full:- +full:ep
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Gru-scarlet board device tree source
8 #include "rk3399-gru.dtsi"
11 chassis-type = "tablet";
16 pp1250_s3: pp1250-s3 {
17 compatible = "regulator-fixed";
18 regulator-name = "pp1250_s3";
21 regulator-always-on;
22 regulator-boot-on;
23 regulator-min-microvolt = <1250000>;
24 regulator-max-microvolt = <1250000>;
26 vin-supply = <&ppvar_sys>;
29 pp1250_cam: pp1250-dvdd {
30 compatible = "regulator-fixed";
31 regulator-name = "pp1250_dvdd";
32 pinctrl-names = "default";
33 pinctrl-0 = <&pp1250_cam_en>;
35 enable-active-high;
41 startup-delay-us = <1000>;
42 vin-supply = <&pp1250_s3>;
45 pp900_s0: pp900-s0 {
46 compatible = "regulator-fixed";
47 regulator-name = "pp900_s0";
50 regulator-always-on;
51 regulator-boot-on;
52 regulator-min-microvolt = <900000>;
53 regulator-max-microvolt = <900000>;
55 vin-supply = <&ppvar_sys>;
58 ppvarn_lcd: ppvarn-lcd {
59 compatible = "regulator-fixed";
60 regulator-name = "ppvarn_lcd";
61 pinctrl-names = "default";
62 pinctrl-0 = <&ppvarn_lcd_en>;
64 enable-active-high;
66 vin-supply = <&ppvar_sys>;
69 ppvarp_lcd: ppvarp-lcd {
70 compatible = "regulator-fixed";
71 regulator-name = "ppvarp_lcd";
72 pinctrl-names = "default";
73 pinctrl-0 = <&ppvarp_lcd_en>;
75 enable-active-high;
77 vin-supply = <&ppvar_sys>;
81 pp900_s3: pp900-s3 {
82 compatible = "regulator-fixed";
83 regulator-name = "pp900_s3";
86 regulator-always-on;
87 regulator-boot-on;
88 regulator-min-microvolt = <900000>;
89 regulator-max-microvolt = <900000>;
91 vin-supply = <&pp1800>;
99 pp2800_cam: pp2800-avdd {
100 compatible = "regulator-fixed";
101 regulator-name = "pp2800_avdd";
102 pinctrl-names = "default";
103 pinctrl-0 = <&pp2800_cam_en>;
105 enable-active-high;
107 startup-delay-us = <100>;
108 vin-supply = <&pp3300>;
130 bt_3v3: bt-3v3 {
131 compatible = "regulator-fixed";
132 regulator-name = "bt_3v3";
133 pinctrl-names = "default";
134 pinctrl-0 = <&bt_en_1v8_l>;
136 enable-active-high;
138 vin-supply = <&pp3300_s3>;
141 wlan_3v3: wlan-3v3 {
142 compatible = "regulator-fixed";
143 regulator-name = "wlan_3v3";
144 pinctrl-names = "default";
145 pinctrl-0 = <&wlan_pd_1v8_l>;
149 * registered, and transitions to high when the PCIe bus
152 enable-active-high;
156 * Require minimum 10ms from power-on (e.g., PD#) to init PCIe.
159 regulator-enable-ramp-delay = <10000>;
161 vin-supply = <&bt_3v3>;
165 compatible = "pwm-backlight";
166 enable-gpios = <&gpio4 21 GPIO_ACTIVE_HIGH>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&bl_en>;
173 compatible = "dmic-codec";
174 dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&dmic_en>;
177 wakeup-delay-ms = <250>;
180 gpio_keys: gpio-keys {
181 compatible = "gpio-keys";
182 pinctrl-names = "default";
183 pinctrl-0 = <&pen_eject_odl>;
185 switch-pen-insert {
190 linux,input-type = <EV_SW>;
191 wakeup-source;
214 ctrl-voltage-range = <800074 1299226>;
215 regulator-min-microvolt = <800074>;
216 regulator-max-microvolt = <1299226>;
222 regulator-min-microvolt = <800074>;
223 regulator-max-microvolt = <1299226>;
227 ctrl-voltage-range = <802122 1199620>;
228 regulator-min-microvolt = <802122>;
229 regulator-max-microvolt = <1199620>;
233 regulator-min-microvolt = <802122>;
234 regulator-max-microvolt = <1199620>;
238 ctrl-voltage-range = <799600 1099600>;
239 regulator-min-microvolt = <799600>;
240 regulator-max-microvolt = <1099600>;
244 regulator-min-microvolt = <799600>;
245 regulator-max-microvolt = <1099600>;
250 regulator-max-microvolt = <3300000>;
254 vin-supply = <&pp3300>;
260 clock-frequency = <400000>;
263 i2c-scl-falling-time-ns = <50>;
264 i2c-scl-rising-time-ns = <300>;
267 compatible = "hid-over-i2c";
269 interrupt-parent = <&gpio1>;
271 hid-descr-addr = <0x1>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&pen_int_odl &pen_reset_l>;
281 interrupt-parent = <&gpio1>;
283 pinctrl-names = "default";
284 pinctrl-0 = <&touch_int_l &touch_reset_l>;
285 reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
292 clock-frequency = <400000>;
295 i2c-scl-falling-time-ns = <50>;
296 i2c-scl-rising-time-ns = <300>;
299 pinctrl-0 = <&i2c7_xfer &test_clkout1>;
301 /* Rear-facing camera */
305 pinctrl-names = "default";
306 pinctrl-0 = <&wcam_rst>;
309 clock-names = "xvclk";
311 avdd-supply = <&pp2800_cam>;
312 dvdd-supply = <&pp1250_cam>;
313 dovdd-supply = <&pp1800_s0>;
314 reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
318 remote-endpoint = <&mipi_in_wcam>;
319 data-lanes = <1 2>;
324 /* Front-facing camera */
328 pinctrl-names = "default";
329 pinctrl-0 = <&ucam_rst>;
332 clock-names = "xvclk";
334 avdd-supply = <&pp2800_cam>;
335 dovdd-supply = <&pp1800_s0>;
336 dvdd-supply = <&pp1800_s0>;
337 reset-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
341 remote-endpoint = <&mipi_in_ucam>;
342 data-lanes = <1>;
362 interrupt-parent = <&gpio1>;
367 assigned-clocks =
380 assigned-clock-rates =
397 center-supply = <&pp900_s0>;
403 opp-microvolt = <900000>;
408 gpio-line-names = /* GPIO0 A 0-7 */
418 /* GPIO0 B 0-5 */
432 gpio-line-names = /* GPIO1 A 0-7 */
442 /* GPIO1 B 0-7 */
452 /* GPIO1 C 0-7 */
467 gpio-line-names = /* GPIO2 A 0-7 */
477 /* GPIO2 B 0-7 */
487 /* GPIO2 C 0-7 */
497 /* GPIO2 D 0-4 */
506 gpio-line-names = /* GPIO3 A 0-7 */
516 /* GPIO3 B 0-7 */
526 /* GPIO3 C 0-7 */
536 /* GPIO3 D 0-7 */
548 gpio-line-names = /* GPIO4 A 0-7 */
558 /* GPIO4 B 0-7 */
568 /* GPIO4 C 0-7 */
578 /* GPIO4 D 0-5 */
588 google,remote-bus = <0>;
592 bt656-supply = <&pp1800_s0>; /* APIO2_VDD; 2a 2b */
593 audio-supply = <&pp1800_s0>; /* APIO5_VDD; 3d 4a */
594 gpio1830-supply = <&pp1800_s0>; /* APIO4_VDD; 4c 4d */
604 remote-endpoint = <&wcam_out>;
605 data-lanes = <1 2>;
610 remote-endpoint = <&ucam_out>;
611 data-lanes = <1>;
622 sdmode-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
631 clock-master;
638 remote-endpoint = <&mipi_in_panel>;
647 enable-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
648 pinctrl-names = "default";
649 pinctrl-0 = <&display_rst_l>;
652 #address-cells = <1>;
653 #size-cells = <0>;
659 remote-endpoint = <&mipi_out_panel>;
667 remote-endpoint = <&mipi1_out_panel>;
682 remote-endpoint = <&mipi1_in_panel>;
689 ep-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
693 vpcie3v3-supply = <&wlan_3v3>;
694 vpcie1v8-supply = <&pp1800_pcie>;
698 cd-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
711 interrupt-parent = <&gpio1>;
713 pinctrl-names = "default";
714 pinctrl-0 = <&h1_int_od_l>;
715 spi-max-frequency = <800000>;
720 #address-cells = <1>;
721 #size-cells = <0>;
726 pinctrl-names = "default";
727 pinctrl-0 = <&bt_host_wake_l>;
728 interrupt-parent = <&gpio1>;
730 interrupt-names = "wakeup";
797 pinctrl-0 = <
798 &ap_pwroff /* AP will auto-assert this when in S3 */
803 pcfg_pull_none_6ma: pcfg-pull-none-6ma {
804 bias-disable;
805 drive-strength = <6>;
809 pp1250_cam_en: pp1250-dvdd {
813 pp2800_cam_en: pp2800-avdd {
827 pen_int_odl: pen-int-odl {
831 pen_reset_l: pen-reset-l {
836 discrete-regulators {
837 display_rst_l: display-rst-l {
841 ppvarp_lcd_en: ppvarp-lcd-en {
845 ppvarn_lcd_en: ppvarn-lcd-en {
851 dmic_en: dmic-en {
857 pen_eject_odl: pen-eject-odl {
863 h1_int_od_l: h1-int-od-l {
870 bt_en_1v8_l: bt-en-1v8-l {
874 wlan_pd_1v8_l: wlan-pd-1v8-l {
878 /* Default pull-up, but just to be clear */
879 wlan_rf_kill_1v8_l: wlan-rf-kill-1v8-l {
883 wifi_perst_l: wifi-perst-l {
887 wlan_host_wake_l: wlan-host-wake-l {