Lines Matching +full:0 +full:- +full:15

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include <dt-bindings/sensor-dev.h>
13 #include "rk312x-android.dtsi"
20 …bootargs = "earlycon=uart8250,mmio32,0x20068000 console=ttyFIQ0 root=PARTUUID=614e0000-0000-4b53-8…
23 adc-keys {
24 compatible = "adc-keys";
25 io-channels = <&saradc 2>;
26 io-channel-names = "buttons";
27 poll-interval = <100>;
28 keyup-threshold-microvolt = <3300000>;
30 vol-up-key {
33 press-threshold-microvolt = <0>;
36 vol-down-key{
39 press-threshold-microvolt = <400000>;
42 menu-key{
45 press-threshold-microvolt = <840000>;
48 esc-key {
51 press-threshold-microvolt = <1380000>;
56 compatible = "pwm-backlight";
57 pwms = <&pwm0 0 25000 0>;
58 brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
76 default-brightness-level = <128>;
82 io-channels = <&saradc 0>;
86 compatible = "simple-audio-card";
87 simple-audio-card,format = "i2s";
88 simple-audio-card,mclk-fs = <256>;
89 simple-audio-card,name = "rockchip,rk312x";
90 simple-audio-card,cpu {
91 sound-dai = <&i2s_2ch>;
93 simple-audio-card,codec {
94 sound-dai = <&codec>;
98 vcc5v0_host: vcc5v0-host {
99 compatible = "regulator-fixed";
100 regulator-name = "vcc5v0_host";
101 pinctrl-names = "default";
102 pinctrl-0 = <&usb_hub_h>;
104 enable-active-high;
107 vccadc_ref: vccadc-ref {
108 compatible = "regulator-fixed";
109 regulator-name = "SARADC_AVDD33";
110 regulator-always-on;
111 regulator-boot-on;
112 regulator-min-microvolt = <3300000>;
113 regulator-max-microvolt = <3300000>;
116 vcc_sys: vcc-sys {
117 compatible = "regulator-fixed";
118 regulator-name = "vcc_sys";
119 regulator-min-microvolt = <4000000>;
120 regulator-max-microvolt = <4000000>;
121 regulator-always-on;
125 compatible = "fixed-clock";
126 clock-frequency = <32768>;
127 clock-output-names = "xin32k";
128 #clock-cells = <0>;
131 wireless-wlan {
132 compatible = "wlan-platdata";
146 port@0 {
147 cif_in_fcam: endpoint@0 {
148 remote-endpoint = <&gc0312_out>;
149 vsync-active = <1>;
150 hsync-active = <1>;
154 remote-endpoint = <&gc2145_out>;
155 vsync-active = <0>;
156 hsync-active = <1>;
163 #sound-dai-cells = <0>;
164 spk-ctl-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
165 spk-mute-delay = <200>;
166 hp-mute-delay = <100>;
167 rk312x_for_mid = <0>;
168 is_rk3128 = <0>;
173 codec_hp_det = <0>;
178 cpu-supply = <&vdd_arm>;
186 center-supply = <&vdd_log>;
192 panel@0 {
193 compatible = "sitronix,st7703", "simple-panel-dsi";
194 reg = <0>;
196 power-supply = <&ldo6>;
197 power-invert = <1>;
198 prepare-delay-ms = <0>;
199 reset-delay-ms = <0>;
200 init-delay-ms = <80>;
201 enable-delay-ms = <0>;
202 disable-delay-ms = <10>;
203 unprepare-delay-ms = <60>;
205 width-mm = <68>;
206 height-mm = <121>;
213 panel-init-sequence = [
215 15 00 02 01 00
216 15 00 02 02 00
217 15 00 02 03 53
218 15 00 02 04 53
219 15 00 02 05 13
220 15 00 02 06 04
221 15 00 02 07 02
222 15 00 02 08 02
223 15 00 02 09 00
224 15 00 02 0a 00
225 15 00 02 0b 00
226 15 00 02 0c 00
227 15 00 02 0d 00
228 15 00 02 0e 00
229 15 00 02 0f 00
231 15 00 02 10 00
232 15 00 02 11 00
233 15 00 02 12 00
234 15 00 02 13 00
235 15 00 02 14 00
236 15 00 02 15 08
237 15 00 02 16 10
238 15 00 02 17 00
239 15 00 02 18 08
240 15 00 02 19 00
241 15 00 02 1a 00
242 15 00 02 1b 00
243 15 00 02 1c 00
244 15 00 02 1d 00
245 15 00 02 1e c0
246 15 00 02 1f 80
248 15 00 02 20 02
249 15 00 02 21 09
250 15 00 02 22 00
251 15 00 02 23 00
252 15 00 02 24 00
253 15 00 02 25 00
254 15 00 02 26 00
255 15 00 02 27 00
256 15 00 02 28 55
257 15 00 02 29 03
258 15 00 02 2a 00
259 15 00 02 2b 00
260 15 00 02 2c 00
261 15 00 02 2d 00
262 15 00 02 2e 00
263 15 00 02 2f 00
265 15 00 02 30 00
266 15 00 02 31 00
267 15 00 02 32 00
268 15 00 02 33 00
269 15 00 02 34 04
270 15 00 02 35 05
271 15 00 02 36 05
272 15 00 02 37 00
273 15 00 02 38 3c
274 15 00 02 39 35
275 15 00 02 3a 00
276 15 00 02 3b 40
277 15 00 02 3c 00
278 15 00 02 3d 00
279 15 00 02 3e 00
280 15 00 02 3f 00
282 15 00 02 40 00
283 15 00 02 41 88
284 15 00 02 42 00
285 15 00 02 43 00
286 15 00 02 44 1f
288 15 00 02 50 01
289 15 00 02 51 23
290 15 00 02 52 45
291 15 00 02 53 67
292 15 00 02 54 89
293 15 00 02 55 ab
294 15 00 02 56 01
295 15 00 02 57 23
296 15 00 02 58 45
297 15 00 02 59 67
298 15 00 02 5a 89
299 15 00 02 5b ab
300 15 00 02 5c cd
301 15 00 02 5d ef
302 15 00 02 5e 03
303 15 00 02 5f 14
305 15 00 02 60 15
306 15 00 02 61 0c
307 15 00 02 62 0d
308 15 00 02 63 0e
309 15 00 02 64 0f
310 15 00 02 65 10
311 15 00 02 66 11
312 15 00 02 67 08
313 15 00 02 68 02
314 15 00 02 69 0a
315 15 00 02 6a 02
316 15 00 02 6b 02
317 15 00 02 6c 02
318 15 00 02 6d 02
319 15 00 02 6e 02
320 15 00 02 6f 02
322 15 00 02 70 02
323 15 00 02 71 02
324 15 00 02 72 06
325 15 00 02 73 02
326 15 00 02 74 02
327 15 00 02 75 14
328 15 00 02 76 15
329 15 00 02 77 0f
330 15 00 02 78 0e
331 15 00 02 79 0d
332 15 00 02 7a 0c
333 15 00 02 7b 11
334 15 00 02 7c 10
335 15 00 02 7d 06
336 15 00 02 7e 02
337 15 00 02 7f 0a
339 15 00 02 80 02
340 15 00 02 81 02
341 15 00 02 82 02
342 15 00 02 83 02
343 15 00 02 84 02
344 15 00 02 85 02
345 15 00 02 86 02
346 15 00 02 87 02
347 15 00 02 88 08
348 15 00 02 89 02
349 15 00 02 8a 02
352 15 00 02 00 80
353 15 00 02 70 00
354 15 00 02 71 00
355 15 00 02 66 fe
356 15 00 02 82 15
357 15 00 02 84 15
358 15 00 02 85 15
359 15 00 02 3a 24
360 15 00 02 32 ac
361 15 00 02 8c 80
362 15 00 02 3c f5
363 15 00 02 88 33
366 15 00 02 22 0a
367 15 00 02 31 00
368 15 00 02 53 78
369 15 00 02 50 5b
370 15 00 02 51 5b
371 15 00 02 60 20
372 15 00 02 61 00
373 15 00 02 62 0d
374 15 00 02 63 00
376 15 00 02 a0 00
377 15 00 02 a1 10
378 15 00 02 a2 1c
379 15 00 02 a3 13
380 15 00 02 a4 15
381 15 00 02 a5 26
382 15 00 02 a6 1a
383 15 00 02 a7 1d
384 15 00 02 a8 67
385 15 00 02 a9 1c
386 15 00 02 aa 29
387 15 00 02 ab 5b
388 15 00 02 ac 26
389 15 00 02 ad 28
390 15 00 02 ae 5c
391 15 00 02 af 30
392 15 00 02 b0 31
393 15 00 02 b1 2e
394 15 00 02 b2 32
395 15 00 02 b3 00
397 15 00 02 c0 00
398 15 00 02 c1 10
399 15 00 02 c2 1c
400 15 00 02 c3 13
401 15 00 02 c4 15
402 15 00 02 c5 26
403 15 00 02 c6 1a
404 15 00 02 c7 1d
405 15 00 02 c8 67
406 15 00 02 c9 1c
407 15 00 02 ca 29
408 15 00 02 cb 5b
409 15 00 02 cc 26
410 15 00 02 cd 28
411 15 00 02 ce 5c
412 15 00 02 cf 30
413 15 00 02 d0 31
414 15 00 02 d1 2e
415 15 00 02 d2 32
416 15 00 02 d3 00
422 panel-exit-sequence = [
427 display-timings {
428 native-mode = <&timing0>;
431 clock-frequency = <66000000>;
434 hfront-porch = <40>;
435 hsync-len = <10>;
436 hback-porch = <40>;
437 vfront-porch = <22>;
438 vsync-len = <4>;
439 vback-porch = <11>;
440 hsync-active = <0>;
441 vsync-active = <0>;
442 de-active = <0>;
443 pixelclk-active = <0>;
448 #address-cells = <1>;
449 #size-cells = <0>;
451 port@0 {
452 reg = <0>;
454 remote-endpoint = <&dsi_out_panel>;
461 #address-cells = <1>;
462 #size-cells = <0>;
467 remote-endpoint = <&panel_in_dsi>;
474 bus-width = <8>;
475 cap-mmc-highspeed;
476 supports-emmc;
477 disable-wp;
478 non-removable;
479 num-slots = <1>;
485 mali-supply = <&vdd_log>;
498 clock-frequency = <400000>;
503 reg = <0x21>;
506 clock-names = "xvclk";
508 avdd-supply = <&vcc28_cif>;
509 dovdd-supply = <&vcc18_cif>;
510 dvdd-supply = <&vcc18_cif>;
512 pwdn-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
515 remote-endpoint = <&cif_in_fcam>;
523 reg = <0x3c>;
526 clock-names = "xvclk";
527 pwdn-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
529 avdd-supply = <&vcc28_cif>;
530 dovdd-supply = <&vcc18_cif>;
531 dvdd-supply = <&vcc18_cif>;
533 rockchip,camera-module-index = <0>;
534 rockchip,camera-module-facing = "back";
535 rockchip,camera-module-name = "CameraKing";
536 rockchip,camera-module-lens-name = "Largan";
540 remote-endpoint = <&cif_in_bcam>;
547 reg = <0x14>;
548 power-supply = <&ldo6>;
549 power-invert = <1>;
550 goodix,irq-gpio = <&gpio0 RK_PA0 IRQ_TYPE_LEVEL_LOW>;
557 reg = <0x4c>;
559 irq_enable = <0>;
567 reg = <0x1a>;
569 interrupt-parent = <&gpio0>;
571 pinctrl-names = "default";
572 pinctrl-0 = <&pmic_int_l>;
573 rockchip,system-power-controller;
574 wakeup-source;
575 gpio-controller;
576 #gpio-cells = <2>;
577 #clock-cells = <1>;
578 clock-output-names = "rk816-clkout1", "rk816-clkout2";
581 vcc1-supply = <&vcc_sys>;
582 vcc2-supply = <&vcc_sys>;
583 vcc3-supply = <&vcc_sys>;
584 vcc4-supply = <&vcc_sys>;
585 vcc5-supply = <&vcc_io>;
586 vcc6-supply = <&vcc_sys>;
601 compatible = "rk816-battery";
618 virtual_power = <0>;
619 power_dc2otg = <0>;
620 dc_det_adc = <0>;
626 regulator-name= "vdd_arm";
627 regulator-min-microvolt = <750000>;
628 regulator-max-microvolt = <1500000>;
629 regulator-ramp-delay = <6001>;
630 regulator-initial-mode = <1>;
631 regulator-always-on;
632 regulator-boot-on;
633 regulator-state-mem {
634 regulator-off-in-suspend;
635 regulator-suspend-microvolt = <900000>;
640 regulator-name= "vdd_logic";
641 regulator-min-microvolt = <750000>;
642 regulator-max-microvolt = <1500000>;
643 regulator-ramp-delay = <6001>;
644 regulator-initial-mode = <1>;
645 regulator-always-on;
646 regulator-boot-on;
647 regulator-state-mem {
648 regulator-on-in-suspend;
649 regulator-suspend-microvolt = <1000000>;
654 regulator-name = "vcc_ddr";
655 regulator-always-on;
656 regulator-boot-on;
657 regulator-initial-mode = <1>;
661 regulator-name = "vcc_io";
662 regulator-min-microvolt = <3300000>;
663 regulator-max-microvolt = <3300000>;
664 regulator-initial-mode = <1>;
665 regulator-always-on;
666 regulator-boot-on;
667 regulator-state-mem {
668 regulator-on-in-suspend;
669 regulator-suspend-microvolt = <3000000>;
674 regulator-name = "vcc28_cif";
675 regulator-min-microvolt = <2800000>;
676 regulator-max-microvolt = <2800000>;
677 regulator-always-on;
678 regulator-boot-on;
679 regulator-state-mem {
680 regulator-off-in-suspend;
685 regulator-name = "vcc18_cif";
686 regulator-min-microvolt = <1800000>;
687 regulator-max-microvolt = <1800000>;
688 regulator-always-on;
689 regulator-boot-on;
690 regulator-state-mem {
691 regulator-off-in-suspend;
696 regulator-name = "vdd_11";
697 regulator-min-microvolt = <1100000>;
698 regulator-max-microvolt = <1100000>;
699 regulator-always-on;
700 regulator-boot-on;
701 regulator-state-mem {
702 regulator-on-in-suspend;
703 regulator-suspend-microvolt = <1100000>;
708 regulator-name= "ldo4";
709 regulator-min-microvolt = <3000000>;
710 regulator-max-microvolt = <3000000>;
711 regulator-always-on;
712 regulator-boot-on;
713 regulator-state-mem {
714 regulator-off-in-suspend;
719 regulator-name= "ldo5";
720 regulator-min-microvolt = <3000000>;
721 regulator-max-microvolt = <3000000>;
722 regulator-boot-on;
723 regulator-state-mem {
724 regulator-off-in-suspend;
729 regulator-name= "ldo6";
730 regulator-min-microvolt = <3300000>;
731 regulator-max-microvolt = <3300000>;
732 regulator-state-mem {
733 regulator-off-in-suspend;
734 regulator-suspend-microvolt = <3300000>;
742 #sound-dai-cells = <0>;
764 pmic_int_l: pmic-int-l {
766 <0 RK_PA2 0 &pcfg_pull_default>;
771 usb_hub_h: usb-hub-h {
773 <0 RK_PA1 0 &pcfg_pull_none>;
796 vref-supply = <&vccadc_ref>;
800 bus-width = <4>;
801 max-frequency = <50000000>;
802 cap-sd-highspeed;
803 supports-sdio;
804 ignore-pm-notify;
805 keep-power-in-suspend;
806 supports-rk912;
807 /delete-property/ non-removable;
812 cap-mmc-highspeed;
813 supports-sd;
814 card-detect-delay = <800>;
815 ignore-pm-notify;
816 keep-power-in-suspend;
817 cd-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* CD GPIO */
828 u2phy_otg: otg-port {
832 u2phy_host: host-port {
833 phy-supply = <&vcc5v0_host>;
839 pinctrl-names = "default";
840 pinctrl-0 = <&uart1_xfer>;