Lines Matching +full:reset +full:- +full:assert +full:- +full:ms

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Gru-scarlet board device tree source
8 #include "rk3399-gru.dtsi"
14 pp1250_s3: pp1250-s3 {
15 compatible = "regulator-fixed";
16 regulator-name = "pp1250_s3";
19 regulator-always-on;
20 regulator-boot-on;
21 regulator-min-microvolt = <1250000>;
22 regulator-max-microvolt = <1250000>;
24 vin-supply = <&ppvar_sys>;
27 pp1250_cam: pp1250-dvdd {
28 compatible = "regulator-fixed";
29 regulator-name = "pp1250_dvdd";
30 pinctrl-names = "default";
31 pinctrl-0 = <&pp1250_cam_en>;
33 enable-active-high;
37 * rounding up to 1ms for safety.
39 startup-delay-us = <1000>;
40 vin-supply = <&pp1250_s3>;
43 pp900_s0: pp900-s0 {
44 compatible = "regulator-fixed";
45 regulator-name = "pp900_s0";
48 regulator-always-on;
49 regulator-boot-on;
50 regulator-min-microvolt = <900000>;
51 regulator-max-microvolt = <900000>;
53 vin-supply = <&ppvar_sys>;
56 ppvarn_lcd: ppvarn-lcd {
57 compatible = "regulator-fixed";
58 regulator-name = "ppvarn_lcd";
59 pinctrl-names = "default";
60 pinctrl-0 = <&ppvarn_lcd_en>;
62 enable-active-high;
64 vin-supply = <&ppvar_sys>;
67 ppvarp_lcd: ppvarp-lcd {
68 compatible = "regulator-fixed";
69 regulator-name = "ppvarp_lcd";
70 pinctrl-names = "default";
71 pinctrl-0 = <&ppvarp_lcd_en>;
73 enable-active-high;
75 vin-supply = <&ppvar_sys>;
79 pp900_s3: pp900-s3 {
80 compatible = "regulator-fixed";
81 regulator-name = "pp900_s3";
84 regulator-always-on;
85 regulator-boot-on;
86 regulator-min-microvolt = <900000>;
87 regulator-max-microvolt = <900000>;
89 vin-supply = <&pp1800>;
97 pp2800_cam: pp2800-avdd {
98 compatible = "regulator-fixed";
99 regulator-name = "pp2800_avdd";
100 pinctrl-names = "default";
101 pinctrl-0 = <&pp2800_cam_en>;
103 enable-active-high;
105 startup-delay-us = <100>;
106 vin-supply = <&pp3300>;
121 * is reset at boot by toggling BT_EN. At boot BT_EN is first set
128 bt_3v3: bt-3v3 {
129 compatible = "regulator-fixed";
130 regulator-name = "bt_3v3";
131 pinctrl-names = "default";
132 pinctrl-0 = <&bt_en_1v8_l>;
134 enable-active-high;
136 vin-supply = <&pp3300_s3>;
139 wlan_3v3: wlan-3v3 {
140 compatible = "regulator-fixed";
141 regulator-name = "wlan_3v3";
142 pinctrl-names = "default";
143 pinctrl-0 = <&wlan_pd_1v8_l>;
150 enable-active-high;
154 * Require minimum 10ms from power-on (e.g., PD#) to init PCIe.
155 * TODO (b/64444991): how long to assert PD#?
157 regulator-enable-ramp-delay = <10000>;
159 vin-supply = <&bt_3v3>;
163 compatible = "pwm-backlight";
164 enable-gpios = <&gpio4 21 GPIO_ACTIVE_HIGH>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&bl_en>;
168 pwm-delay-us = <10000>;
172 compatible = "dmic-codec";
173 dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&dmic_en>;
176 wakeup-delay-ms = <250>;
179 gpio_keys: gpio-keys {
180 compatible = "gpio-keys";
181 pinctrl-names = "default";
182 pinctrl-0 = <&pen_eject_odl>;
184 pen-insert {
189 linux,input-type = <EV_SW>;
190 wakeup-source;
213 ctrl-voltage-range = <800074 1299226>;
214 regulator-min-microvolt = <800074>;
215 regulator-max-microvolt = <1299226>;
221 regulator-min-microvolt = <800074>;
222 regulator-max-microvolt = <1299226>;
226 ctrl-voltage-range = <802122 1199620>;
227 regulator-min-microvolt = <802122>;
228 regulator-max-microvolt = <1199620>;
232 regulator-min-microvolt = <802122>;
233 regulator-max-microvolt = <1199620>;
237 ctrl-voltage-range = <799600 1099600>;
238 regulator-min-microvolt = <799600>;
239 regulator-max-microvolt = <1099600>;
243 regulator-min-microvolt = <799600>;
244 regulator-max-microvolt = <1099600>;
249 regulator-max-microvolt = <3300000>;
253 vin-supply = <&pp3300>;
259 clock-frequency = <400000>;
262 i2c-scl-falling-time-ns = <50>;
263 i2c-scl-rising-time-ns = <300>;
266 compatible = "hid-over-i2c";
268 interrupt-parent = <&gpio1>;
270 hid-descr-addr = <0x1>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&pen_int_odl &pen_reset_l>;
280 interrupt-parent = <&gpio1>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&touch_int_l &touch_reset_l>;
284 reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
291 clock-frequency = <400000>;
294 i2c-scl-falling-time-ns = <50>;
295 i2c-scl-rising-time-ns = <300>;
298 pinctrl-0 = <&i2c7_xfer &test_clkout1>;
300 /* Rear-facing camera */
304 pinctrl-names = "default";
305 pinctrl-0 = <&wcam_rst>;
308 clock-names = "xvclk";
310 avdd-supply = <&pp2800_cam>;
311 dvdd-supply = <&pp1250_cam>;
312 dovdd-supply = <&pp1800_s0>;
313 reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
317 remote-endpoint = <&mipi_in_wcam>;
318 data-lanes = <1 2>;
323 /* Front-facing camera */
327 pinctrl-names = "default";
328 pinctrl-0 = <&ucam_rst>;
331 clock-names = "xvclk";
333 avdd-supply = <&pp2800_cam>;
334 dovdd-supply = <&pp1800_s0>;
335 dvdd-supply = <&pp1800_s0>;
336 reset-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
340 remote-endpoint = <&mipi_in_ucam>;
341 data-lanes = <1>;
361 interrupt-parent = <&gpio1>;
366 assigned-clocks =
378 assigned-clock-rates =
393 google,remote-bus = <0>;
397 bt656-supply = <&pp1800_s0>; /* APIO2_VDD; 2a 2b */
398 audio-supply = <&pp1800_s0>; /* APIO5_VDD; 3d 4a */
399 gpio1830-supply = <&pp1800_s0>; /* APIO4_VDD; 4c 4d */
409 remote-endpoint = <&wcam_out>;
410 data-lanes = <1 2>;
415 remote-endpoint = <&ucam_out>;
416 data-lanes = <1>;
427 sdmode-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
436 clock-master;
443 remote-endpoint = <&mipi_in_panel>;
452 enable-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
453 pinctrl-names = "default";
454 pinctrl-0 = <&display_rst_l>;
457 #address-cells = <1>;
458 #size-cells = <0>;
464 remote-endpoint = <&mipi_out_panel>;
472 remote-endpoint = <&mipi1_out_panel>;
487 remote-endpoint = <&mipi1_in_panel>;
494 ep-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
497 pcie-reset-suspend = <1>;
499 vpcie3v3-supply = <&wlan_3v3>;
500 vpcie1v8-supply = <&pp1800_pcie>;
504 cd-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
517 interrupt-parent = <&gpio1>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&h1_int_od_l>;
521 spi-max-frequency = <800000>;
526 #address-cells = <1>;
527 #size-cells = <0>;
532 pinctrl-names = "default";
533 pinctrl-0 = <&bt_host_wake_l>;
534 interrupt-parent = <&gpio1>;
536 interrupt-names = "wakeup";
597 pinctrl-0 = <
598 &ap_pwroff /* AP will auto-assert this when in S3 */
603 pcfg_pull_none_6ma: pcfg-pull-none-6ma {
604 bias-disable;
605 drive-strength = <6>;
609 pp1250_cam_en: pp1250-dvdd {
613 pp2800_cam_en: pp2800-avdd {
627 pen_int_odl: pen-int-odl {
631 pen_reset_l: pen-reset-l {
636 discrete-regulators {
637 display_rst_l: display-rst-l {
641 ppvarp_lcd_en: ppvarp-lcd-en {
645 ppvarn_lcd_en: ppvarn-lcd-en {
651 dmic_en: dmic-en {
657 pen_eject_odl: pen-eject-odl {
663 h1_int_od_l: h1-int-od-l {
670 bt_en_1v8_l: bt-en-1v8-l {
674 wlan_pd_1v8_l: wlan-pd-1v8-l {
678 /* Default pull-up, but just to be clear */
679 wlan_rf_kill_1v8_l: wlan-rf-kill-1v8-l {
683 wifi_perst_l: wifi-perst-l {
687 wlan_host_wake_l: wlan-host-wake-l {