Lines Matching +full:bus +full:- +full:dmc
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>;
170 pwm-delay-us = <10000>;
174 compatible = "dmic-codec";
175 dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
176 pinctrl-names = "default";
177 pinctrl-0 = <&dmic_en>;
178 wakeup-delay-ms = <250>;
181 gpio_keys: gpio-keys {
182 compatible = "gpio-keys";
183 pinctrl-names = "default";
184 pinctrl-0 = <&pen_eject_odl>;
186 switch-pen-insert {
191 linux,input-type = <EV_SW>;
192 wakeup-source;
215 ctrl-voltage-range = <800074 1299226>;
216 regulator-min-microvolt = <800074>;
217 regulator-max-microvolt = <1299226>;
223 regulator-min-microvolt = <800074>;
224 regulator-max-microvolt = <1299226>;
228 ctrl-voltage-range = <802122 1199620>;
229 regulator-min-microvolt = <802122>;
230 regulator-max-microvolt = <1199620>;
234 regulator-min-microvolt = <802122>;
235 regulator-max-microvolt = <1199620>;
239 ctrl-voltage-range = <799600 1099600>;
240 regulator-min-microvolt = <799600>;
241 regulator-max-microvolt = <1099600>;
245 regulator-min-microvolt = <799600>;
246 regulator-max-microvolt = <1099600>;
251 regulator-max-microvolt = <3300000>;
255 vin-supply = <&pp3300>;
261 clock-frequency = <400000>;
264 i2c-scl-falling-time-ns = <50>;
265 i2c-scl-rising-time-ns = <300>;
268 compatible = "hid-over-i2c";
270 interrupt-parent = <&gpio1>;
272 hid-descr-addr = <0x1>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&pen_int_odl &pen_reset_l>;
282 interrupt-parent = <&gpio1>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&touch_int_l &touch_reset_l>;
286 reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
293 clock-frequency = <400000>;
296 i2c-scl-falling-time-ns = <50>;
297 i2c-scl-rising-time-ns = <300>;
300 pinctrl-0 = <&i2c7_xfer &test_clkout1>;
302 /* Rear-facing camera */
306 pinctrl-names = "default";
307 pinctrl-0 = <&wcam_rst>;
310 clock-names = "xvclk";
312 avdd-supply = <&pp2800_cam>;
313 dvdd-supply = <&pp1250_cam>;
314 dovdd-supply = <&pp1800_s0>;
315 reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
319 remote-endpoint = <&mipi_in_wcam>;
320 data-lanes = <1 2>;
325 /* Front-facing camera */
329 pinctrl-names = "default";
330 pinctrl-0 = <&ucam_rst>;
333 clock-names = "xvclk";
335 avdd-supply = <&pp2800_cam>;
336 dovdd-supply = <&pp1800_s0>;
337 dvdd-supply = <&pp1800_s0>;
338 reset-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
342 remote-endpoint = <&mipi_in_ucam>;
343 data-lanes = <1>;
363 interrupt-parent = <&gpio1>;
368 assigned-clocks =
381 assigned-clock-rates =
397 &dmc {
398 center-supply = <&pp900_s0>;
404 opp-microvolt = <900000>;
409 gpio-line-names = /* GPIO0 A 0-7 */
419 /* GPIO0 B 0-5 */
433 gpio-line-names = /* GPIO1 A 0-7 */
443 /* GPIO1 B 0-7 */
453 /* GPIO1 C 0-7 */
468 gpio-line-names = /* GPIO2 A 0-7 */
478 /* GPIO2 B 0-7 */
488 /* GPIO2 C 0-7 */
498 /* GPIO2 D 0-4 */
507 gpio-line-names = /* GPIO3 A 0-7 */
517 /* GPIO3 B 0-7 */
527 /* GPIO3 C 0-7 */
537 /* GPIO3 D 0-7 */
549 gpio-line-names = /* GPIO4 A 0-7 */
559 /* GPIO4 B 0-7 */
569 /* GPIO4 C 0-7 */
579 /* GPIO4 D 0-5 */
589 google,remote-bus = <0>;
593 bt656-supply = <&pp1800_s0>; /* APIO2_VDD; 2a 2b */
594 audio-supply = <&pp1800_s0>; /* APIO5_VDD; 3d 4a */
595 gpio1830-supply = <&pp1800_s0>; /* APIO4_VDD; 4c 4d */
605 remote-endpoint = <&wcam_out>;
606 data-lanes = <1 2>;
611 remote-endpoint = <&ucam_out>;
612 data-lanes = <1>;
623 sdmode-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
632 clock-master;
639 remote-endpoint = <&mipi_in_panel>;
648 enable-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
649 pinctrl-names = "default";
650 pinctrl-0 = <&display_rst_l>;
653 #address-cells = <1>;
654 #size-cells = <0>;
660 remote-endpoint = <&mipi_out_panel>;
668 remote-endpoint = <&mipi1_out_panel>;
683 remote-endpoint = <&mipi1_in_panel>;
690 ep-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
693 pcie-reset-suspend = <1>;
695 vpcie3v3-supply = <&wlan_3v3>;
696 vpcie1v8-supply = <&pp1800_pcie>;
700 cd-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
713 interrupt-parent = <&gpio1>;
715 pinctrl-names = "default";
716 pinctrl-0 = <&h1_int_od_l>;
717 spi-max-frequency = <800000>;
722 #address-cells = <1>;
723 #size-cells = <0>;
728 pinctrl-names = "default";
729 pinctrl-0 = <&bt_host_wake_l>;
730 interrupt-parent = <&gpio1>;
732 interrupt-names = "wakeup";
799 pinctrl-0 = <
800 &ap_pwroff /* AP will auto-assert this when in S3 */
805 pcfg_pull_none_6ma: pcfg-pull-none-6ma {
806 bias-disable;
807 drive-strength = <6>;
811 pp1250_cam_en: pp1250-dvdd {
815 pp2800_cam_en: pp2800-avdd {
829 pen_int_odl: pen-int-odl {
833 pen_reset_l: pen-reset-l {
838 discrete-regulators {
839 display_rst_l: display-rst-l {
843 ppvarp_lcd_en: ppvarp-lcd-en {
847 ppvarn_lcd_en: ppvarn-lcd-en {
853 dmic_en: dmic-en {
859 pen_eject_odl: pen-eject-odl {
865 h1_int_od_l: h1-int-od-l {
872 bt_en_1v8_l: bt-en-1v8-l {
876 wlan_pd_1v8_l: wlan-pd-1v8-l {
880 /* Default pull-up, but just to be clear */
881 wlan_rf_kill_1v8_l: wlan-rf-kill-1v8-l {
885 wifi_perst_l: wifi-perst-l {
889 wlan_host_wake_l: wlan-host-wake-l {