Lines Matching +full:ns +full:- +full:cru

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/pinctrl/rockchip.h>
21 stdout-path = "serial2:115200n8";
25 compatible = "pwm-backlight";
26 power-supply = <&vcc_bl>;
30 builtin_gamepad: gpio-keys {
31 compatible = "gpio-keys";
32 pinctrl-names = "default";
33 pinctrl-0 = <&btn_pins>;
35 button-sw1 {
37 label = "DPAD-UP";
40 button-sw2 {
42 label = "DPAD-DOWN";
45 button-sw3 {
47 label = "DPAD-LEFT";
50 button-sw4 {
52 label = "DPAD-RIGHT";
55 button-sw5 {
57 label = "BTN-A";
60 button-sw6 {
62 label = "BTN-B";
65 button-sw7 {
67 label = "BTN-Y";
70 button-sw8 {
72 label = "BTN-X";
75 btn_f1: button-sw9 {
80 btn_f2: button-sw10 {
85 btn_f3: button-sw11 {
90 btn_f4: button-sw12 {
95 btn_f5: button-sw13 {
100 btn_f6: button-sw14 {
105 button-sw15 {
107 label = "TOP-LEFT";
110 button-sw16 {
112 label = "TOP-RIGHT";
117 /* led-1 is wired directly to output of always-on regulator */
119 gpio_led: gpio-leds {
120 compatible = "gpio-leds";
121 pinctrl-names = "default";
122 pinctrl-0 = <&red_led_pin>;
124 red_led: led-3 {
131 pwm_led: led-controller {
132 compatible = "pwm-leds";
134 blue_led: led-2 {
137 linux,default-trigger = "heartbeat";
138 max-brightness = <255>;
143 rk817-sound {
144 compatible = "simple-audio-card";
145 simple-audio-card,name = "rk817_int";
146 simple-audio-card,format = "i2s";
147 simple-audio-card,hp-det-gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_HIGH>;
148 simple-audio-card,mclk-fs = <256>;
149 simple-audio-card,widgets =
153 simple-audio-card,routing =
159 simple-audio-card,codec {
160 sound-dai = <&rk817>;
163 simple-audio-card,cpu {
164 sound-dai = <&i2s1_2ch>;
169 compatible = "regulator-fixed";
170 regulator-name = "vcc3v8_sys";
171 regulator-always-on;
172 regulator-min-microvolt = <3800000>;
173 regulator-max-microvolt = <3800000>;
177 compatible = "regulator-fixed";
178 regulator-name = "vcc_host";
179 regulator-min-microvolt = <5000000>;
180 regulator-max-microvolt = <5000000>;
183 enable-active-high;
184 regulator-always-on;
185 regulator-boot-on;
186 vin-supply = <&usb_midu>;
191 cpu-supply = <&vdd_arm>;
195 cpu-supply = <&vdd_arm>;
199 cpu-supply = <&vdd_arm>;
203 cpu-supply = <&vdd_arm>;
206 &cru {
207 assigned-clocks = <&cru PLL_NPLL>,
208 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
209 <&cru HCLK_BUS_PRE>, <&cru HCLK_PERI_PRE>,
210 <&cru PCLK_BUS_PRE>, <&cru SCLK_GPU>;
212 assigned-clock-rates = <1188000000>,
230 remote-endpoint = <&mipi_in_panel>;
238 reset-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>;
243 remote-endpoint = <&mipi_out_panel>;
254 mali-supply = <&vdd_logic>;
259 clock-frequency = <400000>;
260 i2c-scl-falling-time-ns = <16>;
261 i2c-scl-rising-time-ns = <280>;
267 interrupt-parent = <&gpio0>;
269 clock-output-names = "rk808-clkout1", "xin32k";
270 clock-names = "mclk";
271 clocks = <&cru SCLK_I2S1_OUT>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&pmic_int>, <&i2s1_2ch_mclk>;
274 wakeup-source;
275 #clock-cells = <1>;
276 #sound-dai-cells = <0>;
278 vcc1-supply = <&vccsys>;
279 vcc2-supply = <&vccsys>;
280 vcc3-supply = <&vccsys>;
281 vcc4-supply = <&vccsys>;
282 vcc5-supply = <&vccsys>;
283 vcc6-supply = <&vccsys>;
284 vcc7-supply = <&vccsys>;
285 vcc8-supply = <&vccsys>;
289 regulator-name = "vdd_logic";
290 regulator-min-microvolt = <950000>;
291 regulator-max-microvolt = <1150000>;
292 regulator-ramp-delay = <6001>;
293 regulator-always-on;
294 regulator-boot-on;
296 regulator-state-mem {
297 regulator-on-in-suspend;
298 regulator-suspend-microvolt = <950000>;
303 regulator-name = "vdd_arm";
304 regulator-min-microvolt = <950000>;
305 regulator-max-microvolt = <1350000>;
306 regulator-ramp-delay = <6001>;
307 regulator-always-on;
308 regulator-boot-on;
310 regulator-state-mem {
311 regulator-off-in-suspend;
312 regulator-suspend-microvolt = <950000>;
317 regulator-name = "vcc_ddr";
318 regulator-always-on;
319 regulator-boot-on;
321 regulator-state-mem {
322 regulator-on-in-suspend;
327 regulator-name = "vcc_3v3";
328 regulator-min-microvolt = <3300000>;
329 regulator-max-microvolt = <3300000>;
330 regulator-always-on;
331 regulator-boot-on;
333 regulator-state-mem {
334 regulator-off-in-suspend;
335 regulator-suspend-microvolt = <3300000>;
340 regulator-name = "vcc_1v8";
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <1800000>;
343 regulator-always-on;
344 regulator-boot-on;
346 regulator-state-mem {
347 regulator-on-in-suspend;
348 regulator-suspend-microvolt = <1800000>;
353 regulator-name = "vdd_1v0";
354 regulator-min-microvolt = <1000000>;
355 regulator-max-microvolt = <1000000>;
356 regulator-always-on;
357 regulator-boot-on;
359 regulator-state-mem {
360 regulator-on-in-suspend;
361 regulator-suspend-microvolt = <1000000>;
366 regulator-name = "vcc3v3_pmu";
367 regulator-min-microvolt = <3300000>;
368 regulator-max-microvolt = <3300000>;
369 regulator-always-on;
370 regulator-boot-on;
372 regulator-state-mem {
373 regulator-on-in-suspend;
374 regulator-suspend-microvolt = <3300000>;
379 regulator-name = "vccio_sd";
380 regulator-min-microvolt = <1800000>;
381 regulator-max-microvolt = <3300000>;
382 regulator-always-on;
383 regulator-boot-on;
385 regulator-state-mem {
386 regulator-on-in-suspend;
387 regulator-suspend-microvolt = <3300000>;
392 regulator-name = "vcc_sd";
393 regulator-min-microvolt = <3300000>;
394 regulator-max-microvolt = <3300000>;
395 regulator-boot-on;
397 regulator-state-mem {
398 regulator-on-in-suspend;
399 regulator-suspend-microvolt = <3300000>;
404 regulator-name = "vcc_bl";
405 regulator-min-microvolt = <3300000>;
406 regulator-max-microvolt = <3300000>;
408 regulator-state-mem {
409 regulator-off-in-suspend;
410 regulator-suspend-microvolt = <3300000>;
415 regulator-name = "vcc_lcd";
416 regulator-min-microvolt = <2800000>;
417 regulator-max-microvolt = <2800000>;
419 regulator-state-mem {
420 regulator-off-in-suspend;
421 regulator-suspend-microvolt = <2800000>;
430 regulator-name = "usb_midu";
431 regulator-min-microvolt = <5000000>;
432 regulator-max-microvolt = <5400000>;
433 regulator-always-on;
434 regulator-boot-on;
439 rockchip,resistor-sense-micro-ohms = <10000>;
440 rockchip,sleep-enter-current-microamp = <300000>;
441 rockchip,sleep-filter-current-microamp = <100000>;
445 rockchip,mic-in-differential;
452 clock-frequency = <400000>;
462 vccio1-supply = <&vcc_3v3>;
463 vccio2-supply = <&vccio_sd>;
464 vccio3-supply = <&vcc_3v3>;
465 vccio4-supply = <&vcc_3v3>;
466 vccio5-supply = <&vcc_3v3>;
467 vccio6-supply = <&vcc_3v3>;
472 pmuio1-supply = <&vcc3v3_pmu>;
473 pmuio2-supply = <&vcc3v3_pmu>;
486 vref-supply = <&vcc_1v8>;
491 cap-sd-highspeed;
492 card-detect-delay = <200>;
493 cd-gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_LOW>; /*[> CD GPIO <]*/
494 sd-uhs-sdr12;
495 sd-uhs-sdr25;
496 sd-uhs-sdr50;
497 sd-uhs-sdr104;
498 vmmc-supply = <&vcc_sd>;
499 vqmmc-supply = <&vccio_sd>;
504 pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus2>;
505 pinctrl-names = "default";
506 #address-cells = <1>;
507 #size-cells = <0>;
511 compatible = "jedec,spi-nor";
513 spi-max-frequency = <108000000>;
514 spi-rx-bus-width = <2>;
515 spi-tx-bus-width = <1>;
526 u2phy_host: host-port {
530 u2phy_otg: otg-port {
541 pinctrl-names = "default";
542 pinctrl-0 = <&uart1_xfer &uart1_cts>;
547 pinctrl-names = "default";
548 pinctrl-0 = <&uart2m1_xfer>;
562 btn_pins: btn-pins {
583 hp_det: hp-det {
589 red_led_pin: red-led-pin {
595 dc_det: dc-det {
599 pmic_int: pmic-int {