2 * dts file for Hisilicon Hi6220 SoC
4 * Copyright (C) 2015, Hisilicon Ltd.
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/clock/hi6220-clock.h>
9 #include <dt-bindings/pinctrl/hisi.h>
12 compatible = "hisilicon,hi6220";
13 interrupt-parent = <&gic>;
18 compatible = "arm,psci-0.2";
58 entry-method = "psci";
60 CPU_SLEEP: cpu-sleep {
61 compatible = "arm,idle-state";
63 arm,psci-suspend-param = <0x0010000>;
64 entry-latency-us = <700>;
65 exit-latency-us = <250>;
66 min-residency-us = <1000>;
69 CLUSTER_SLEEP: cluster-sleep {
70 compatible = "arm,idle-state";
72 arm,psci-suspend-param = <0x1010000>;
73 entry-latency-us = <1000>;
74 exit-latency-us = <700>;
75 min-residency-us = <2700>;
76 wakeup-latency-us = <1500>;
81 compatible = "arm,cortex-a53", "arm,armv8";
84 enable-method = "psci";
85 clocks = <&stub_clock 0>;
86 operating-points-v2 = <&cpu_opp_table>;
87 cooling-min-level = <4>;
88 cooling-max-level = <0>;
89 #cooling-cells = <2>; /* min followed by max */
90 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
94 compatible = "arm,cortex-a53", "arm,armv8";
97 enable-method = "psci";
98 operating-points-v2 = <&cpu_opp_table>;
99 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
103 compatible = "arm,cortex-a53", "arm,armv8";
106 enable-method = "psci";
107 operating-points-v2 = <&cpu_opp_table>;
108 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
112 compatible = "arm,cortex-a53", "arm,armv8";
115 enable-method = "psci";
116 operating-points-v2 = <&cpu_opp_table>;
117 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
121 compatible = "arm,cortex-a53", "arm,armv8";
124 enable-method = "psci";
125 operating-points-v2 = <&cpu_opp_table>;
126 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
130 compatible = "arm,cortex-a53", "arm,armv8";
133 enable-method = "psci";
134 operating-points-v2 = <&cpu_opp_table>;
135 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
139 compatible = "arm,cortex-a53", "arm,armv8";
142 enable-method = "psci";
143 operating-points-v2 = <&cpu_opp_table>;
144 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
148 compatible = "arm,cortex-a53", "arm,armv8";
151 enable-method = "psci";
152 operating-points-v2 = <&cpu_opp_table>;
153 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
157 cpu_opp_table: cpu_opp_table {
158 compatible = "operating-points-v2";
162 opp-hz = /bits/ 64 <208000000>;
163 opp-microvolt = <1040000>;
164 clock-latency-ns = <500000>;
167 opp-hz = /bits/ 64 <432000000>;
168 opp-microvolt = <1040000>;
169 clock-latency-ns = <500000>;
172 opp-hz = /bits/ 64 <729000000>;
173 opp-microvolt = <1090000>;
174 clock-latency-ns = <500000>;
177 opp-hz = /bits/ 64 <960000000>;
178 opp-microvolt = <1180000>;
179 clock-latency-ns = <500000>;
182 opp-hz = /bits/ 64 <1200000000>;
183 opp-microvolt = <1330000>;
184 clock-latency-ns = <500000>;
188 gic: interrupt-controller@f6801000 {
189 compatible = "arm,gic-400";
190 reg = <0x0 0xf6801000 0 0x1000>, /* GICD */
191 <0x0 0xf6802000 0 0x2000>, /* GICC */
192 <0x0 0xf6804000 0 0x2000>, /* GICH */
193 <0x0 0xf6806000 0 0x2000>; /* GICV */
194 #address-cells = <0>;
195 #interrupt-cells = <3>;
196 interrupt-controller;
197 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
201 compatible = "arm,armv8-timer";
202 interrupt-parent = <&gic>;
203 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
204 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
205 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
206 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
210 compatible = "simple-bus";
211 #address-cells = <2>;
215 sram: sram@fff80000 {
216 compatible = "hisilicon,hi6220-sramctrl", "syscon";
217 reg = <0x0 0xfff80000 0x0 0x12000>;
220 ao_ctrl: ao_ctrl@f7800000 {
221 compatible = "hisilicon,hi6220-aoctrl", "syscon";
222 reg = <0x0 0xf7800000 0x0 0x2000>;
226 sys_ctrl: sys_ctrl@f7030000 {
227 compatible = "hisilicon,hi6220-sysctrl", "syscon";
228 reg = <0x0 0xf7030000 0x0 0x2000>;
233 media_ctrl: media_ctrl@f4410000 {
234 compatible = "hisilicon,hi6220-mediactrl", "syscon";
235 reg = <0x0 0xf4410000 0x0 0x1000>;
239 pm_ctrl: pm_ctrl@f7032000 {
240 compatible = "hisilicon,hi6220-pmctrl", "syscon";
241 reg = <0x0 0xf7032000 0x0 0x1000>;
245 stub_clock: stub_clock {
246 compatible = "hisilicon,hi6220-stub-clk";
247 hisilicon,hi6220-clk-sram = <&sram>;
249 mbox-names = "mbox-tx";
250 mboxes = <&mailbox 1 0 11>;
253 uart0: uart@f8015000 { /* console */
254 compatible = "arm,pl011", "arm,primecell";
255 reg = <0x0 0xf8015000 0x0 0x1000>;
256 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
257 clocks = <&ao_ctrl HI6220_UART0_PCLK>,
258 <&ao_ctrl HI6220_UART0_PCLK>;
259 clock-names = "uartclk", "apb_pclk";
262 uart1: uart@f7111000 {
263 compatible = "arm,pl011", "arm,primecell";
264 reg = <0x0 0xf7111000 0x0 0x1000>;
265 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
266 clocks = <&sys_ctrl HI6220_UART1_PCLK>,
267 <&sys_ctrl HI6220_UART1_PCLK>;
268 clock-names = "uartclk", "apb_pclk";
269 pinctrl-names = "default";
270 pinctrl-0 = <&uart1_pmx_func &uart1_cfg_func1 &uart1_cfg_func2>;
274 uart2: uart@f7112000 {
275 compatible = "arm,pl011", "arm,primecell";
276 reg = <0x0 0xf7112000 0x0 0x1000>;
277 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
278 clocks = <&sys_ctrl HI6220_UART2_PCLK>,
279 <&sys_ctrl HI6220_UART2_PCLK>;
280 clock-names = "uartclk", "apb_pclk";
281 pinctrl-names = "default";
282 pinctrl-0 = <&uart2_pmx_func &uart2_cfg_func>;
286 uart3: uart@f7113000 {
287 compatible = "arm,pl011", "arm,primecell";
288 reg = <0x0 0xf7113000 0x0 0x1000>;
289 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
290 clocks = <&sys_ctrl HI6220_UART3_PCLK>,
291 <&sys_ctrl HI6220_UART3_PCLK>;
292 clock-names = "uartclk", "apb_pclk";
293 pinctrl-names = "default";
294 pinctrl-0 = <&uart3_pmx_func &uart3_cfg_func>;
298 uart4: uart@f7114000 {
299 compatible = "arm,pl011", "arm,primecell";
300 reg = <0x0 0xf7114000 0x0 0x1000>;
301 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
302 clocks = <&sys_ctrl HI6220_UART4_PCLK>,
303 <&sys_ctrl HI6220_UART4_PCLK>;
304 clock-names = "uartclk", "apb_pclk";
305 pinctrl-names = "default";
306 pinctrl-0 = <&uart4_pmx_func &uart4_cfg_func>;
310 dual_timer0: timer@f8008000 {
311 compatible = "arm,sp804", "arm,primecell";
312 reg = <0x0 0xf8008000 0x0 0x1000>;
313 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
314 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
315 clocks = <&ao_ctrl HI6220_TIMER0_PCLK>,
316 <&ao_ctrl HI6220_TIMER0_PCLK>,
317 <&ao_ctrl HI6220_TIMER0_PCLK>;
318 clock-names = "timer1", "timer2", "apb_pclk";
321 pmx0: pinmux@f7010000 {
322 compatible = "pinctrl-single";
323 reg = <0x0 0xf7010000 0x0 0x27c>;
324 #address-cells = <1>;
326 #gpio-range-cells = <3>;
327 pinctrl-single,register-width = <32>;
328 pinctrl-single,function-mask = <7>;
329 pinctrl-single,gpio-range = <
330 &range 80 8 MUX_M0 /* gpio 3: [0..7] */
331 &range 88 8 MUX_M0 /* gpio 4: [0..7] */
332 &range 96 8 MUX_M0 /* gpio 5: [0..7] */
333 &range 104 8 MUX_M0 /* gpio 6: [0..7] */
334 &range 112 8 MUX_M0 /* gpio 7: [0..7] */
335 &range 120 2 MUX_M0 /* gpio 8: [0..1] */
336 &range 2 6 MUX_M1 /* gpio 8: [2..7] */
337 &range 8 8 MUX_M1 /* gpio 9: [0..7] */
338 &range 0 1 MUX_M1 /* gpio 10: [0] */
339 &range 16 7 MUX_M1 /* gpio 10: [1..7] */
340 &range 23 3 MUX_M1 /* gpio 11: [0..2] */
341 &range 28 5 MUX_M1 /* gpio 11: [3..7] */
342 &range 33 3 MUX_M1 /* gpio 12: [0..2] */
343 &range 43 5 MUX_M1 /* gpio 12: [3..7] */
344 &range 48 8 MUX_M1 /* gpio 13: [0..7] */
345 &range 56 8 MUX_M1 /* gpio 14: [0..7] */
346 &range 74 6 MUX_M1 /* gpio 15: [0..5] */
347 &range 122 1 MUX_M1 /* gpio 15: [6] */
348 &range 126 1 MUX_M1 /* gpio 15: [7] */
349 &range 127 8 MUX_M1 /* gpio 16: [0..7] */
350 &range 135 8 MUX_M1 /* gpio 17: [0..7] */
351 &range 143 8 MUX_M1 /* gpio 18: [0..7] */
352 &range 151 8 MUX_M1 /* gpio 19: [0..7] */
355 #pinctrl-single,gpio-range-cells = <3>;
359 pmx1: pinmux@f7010800 {
360 compatible = "pinconf-single";
361 reg = <0x0 0xf7010800 0x0 0x28c>;
362 #address-cells = <1>;
364 pinctrl-single,register-width = <32>;
367 pmx2: pinmux@f8001800 {
368 compatible = "pinconf-single";
369 reg = <0x0 0xf8001800 0x0 0x78>;
370 #address-cells = <1>;
372 pinctrl-single,register-width = <32>;
375 gpio0: gpio@f8011000 {
376 compatible = "arm,pl061", "arm,primecell";
377 reg = <0x0 0xf8011000 0x0 0x1000>;
378 interrupts = <0 52 0x4>;
381 interrupt-controller;
382 #interrupt-cells = <2>;
383 clocks = <&ao_ctrl 2>;
384 clock-names = "apb_pclk";
387 gpio1: gpio@f8012000 {
388 compatible = "arm,pl061", "arm,primecell";
389 reg = <0x0 0xf8012000 0x0 0x1000>;
390 interrupts = <0 53 0x4>;
393 interrupt-controller;
394 #interrupt-cells = <2>;
395 clocks = <&ao_ctrl 2>;
396 clock-names = "apb_pclk";
399 gpio2: gpio@f8013000 {
400 compatible = "arm,pl061", "arm,primecell";
401 reg = <0x0 0xf8013000 0x0 0x1000>;
402 interrupts = <0 54 0x4>;
405 interrupt-controller;
406 #interrupt-cells = <2>;
407 clocks = <&ao_ctrl 2>;
408 clock-names = "apb_pclk";
411 gpio3: gpio@f8014000 {
412 compatible = "arm,pl061", "arm,primecell";
413 reg = <0x0 0xf8014000 0x0 0x1000>;
414 interrupts = <0 55 0x4>;
417 gpio-ranges = <&pmx0 0 80 8>;
418 interrupt-controller;
419 #interrupt-cells = <2>;
420 clocks = <&ao_ctrl 2>;
421 clock-names = "apb_pclk";
424 gpio4: gpio@f7020000 {
425 compatible = "arm,pl061", "arm,primecell";
426 reg = <0x0 0xf7020000 0x0 0x1000>;
427 interrupts = <0 56 0x4>;
430 gpio-ranges = <&pmx0 0 88 8>;
431 interrupt-controller;
432 #interrupt-cells = <2>;
433 clocks = <&ao_ctrl 2>;
434 clock-names = "apb_pclk";
437 gpio5: gpio@f7021000 {
438 compatible = "arm,pl061", "arm,primecell";
439 reg = <0x0 0xf7021000 0x0 0x1000>;
440 interrupts = <0 57 0x4>;
443 gpio-ranges = <&pmx0 0 96 8>;
444 interrupt-controller;
445 #interrupt-cells = <2>;
446 clocks = <&ao_ctrl 2>;
447 clock-names = "apb_pclk";
450 gpio6: gpio@f7022000 {
451 compatible = "arm,pl061", "arm,primecell";
452 reg = <0x0 0xf7022000 0x0 0x1000>;
453 interrupts = <0 58 0x4>;
456 gpio-ranges = <&pmx0 0 104 8>;
457 interrupt-controller;
458 #interrupt-cells = <2>;
459 clocks = <&ao_ctrl 2>;
460 clock-names = "apb_pclk";
463 gpio7: gpio@f7023000 {
464 compatible = "arm,pl061", "arm,primecell";
465 reg = <0x0 0xf7023000 0x0 0x1000>;
466 interrupts = <0 59 0x4>;
469 gpio-ranges = <&pmx0 0 112 8>;
470 interrupt-controller;
471 #interrupt-cells = <2>;
472 clocks = <&ao_ctrl 2>;
473 clock-names = "apb_pclk";
476 gpio8: gpio@f7024000 {
477 compatible = "arm,pl061", "arm,primecell";
478 reg = <0x0 0xf7024000 0x0 0x1000>;
479 interrupts = <0 60 0x4>;
482 gpio-ranges = <&pmx0 0 120 2 &pmx0 2 2 6>;
483 interrupt-controller;
484 #interrupt-cells = <2>;
485 clocks = <&ao_ctrl 2>;
486 clock-names = "apb_pclk";
489 gpio9: gpio@f7025000 {
490 compatible = "arm,pl061", "arm,primecell";
491 reg = <0x0 0xf7025000 0x0 0x1000>;
492 interrupts = <0 61 0x4>;
495 gpio-ranges = <&pmx0 0 8 8>;
496 interrupt-controller;
497 #interrupt-cells = <2>;
498 clocks = <&ao_ctrl 2>;
499 clock-names = "apb_pclk";
502 gpio10: gpio@f7026000 {
503 compatible = "arm,pl061", "arm,primecell";
504 reg = <0x0 0xf7026000 0x0 0x1000>;
505 interrupts = <0 62 0x4>;
508 gpio-ranges = <&pmx0 0 0 1 &pmx0 1 16 7>;
509 interrupt-controller;
510 #interrupt-cells = <2>;
511 clocks = <&ao_ctrl 2>;
512 clock-names = "apb_pclk";
515 gpio11: gpio@f7027000 {
516 compatible = "arm,pl061", "arm,primecell";
517 reg = <0x0 0xf7027000 0x0 0x1000>;
518 interrupts = <0 63 0x4>;
521 gpio-ranges = <&pmx0 0 23 3 &pmx0 3 28 5>;
522 interrupt-controller;
523 #interrupt-cells = <2>;
524 clocks = <&ao_ctrl 2>;
525 clock-names = "apb_pclk";
528 gpio12: gpio@f7028000 {
529 compatible = "arm,pl061", "arm,primecell";
530 reg = <0x0 0xf7028000 0x0 0x1000>;
531 interrupts = <0 64 0x4>;
534 gpio-ranges = <&pmx0 0 33 3 &pmx0 3 43 5>;
535 interrupt-controller;
536 #interrupt-cells = <2>;
537 clocks = <&ao_ctrl 2>;
538 clock-names = "apb_pclk";
541 gpio13: gpio@f7029000 {
542 compatible = "arm,pl061", "arm,primecell";
543 reg = <0x0 0xf7029000 0x0 0x1000>;
544 interrupts = <0 65 0x4>;
547 gpio-ranges = <&pmx0 0 48 8>;
548 interrupt-controller;
549 #interrupt-cells = <2>;
550 clocks = <&ao_ctrl 2>;
551 clock-names = "apb_pclk";
554 gpio14: gpio@f702a000 {
555 compatible = "arm,pl061", "arm,primecell";
556 reg = <0x0 0xf702a000 0x0 0x1000>;
557 interrupts = <0 66 0x4>;
560 gpio-ranges = <&pmx0 0 56 8>;
561 interrupt-controller;
562 #interrupt-cells = <2>;
563 clocks = <&ao_ctrl 2>;
564 clock-names = "apb_pclk";
567 gpio15: gpio@f702b000 {
568 compatible = "arm,pl061", "arm,primecell";
569 reg = <0x0 0xf702b000 0x0 0x1000>;
570 interrupts = <0 67 0x4>;
578 interrupt-controller;
579 #interrupt-cells = <2>;
580 clocks = <&ao_ctrl 2>;
581 clock-names = "apb_pclk";
584 gpio16: gpio@f702c000 {
585 compatible = "arm,pl061", "arm,primecell";
586 reg = <0x0 0xf702c000 0x0 0x1000>;
587 interrupts = <0 68 0x4>;
590 gpio-ranges = <&pmx0 0 127 8>;
591 interrupt-controller;
592 #interrupt-cells = <2>;
593 clocks = <&ao_ctrl 2>;
594 clock-names = "apb_pclk";
597 gpio17: gpio@f702d000 {
598 compatible = "arm,pl061", "arm,primecell";
599 reg = <0x0 0xf702d000 0x0 0x1000>;
600 interrupts = <0 69 0x4>;
603 gpio-ranges = <&pmx0 0 135 8>;
604 interrupt-controller;
605 #interrupt-cells = <2>;
606 clocks = <&ao_ctrl 2>;
607 clock-names = "apb_pclk";
610 gpio18: gpio@f702e000 {
611 compatible = "arm,pl061", "arm,primecell";
612 reg = <0x0 0xf702e000 0x0 0x1000>;
613 interrupts = <0 70 0x4>;
616 gpio-ranges = <&pmx0 0 143 8>;
617 interrupt-controller;
618 #interrupt-cells = <2>;
619 clocks = <&ao_ctrl 2>;
620 clock-names = "apb_pclk";
623 gpio19: gpio@f702f000 {
624 compatible = "arm,pl061", "arm,primecell";
625 reg = <0x0 0xf702f000 0x0 0x1000>;
626 interrupts = <0 71 0x4>;
629 gpio-ranges = <&pmx0 0 151 8>;
630 interrupt-controller;
631 #interrupt-cells = <2>;
632 clocks = <&ao_ctrl 2>;
633 clock-names = "apb_pclk";
637 compatible = "arm,pl022", "arm,primecell";
638 reg = <0x0 0xf7106000 0x0 0x1000>;
639 interrupts = <0 50 4>;
642 clocks = <&sys_ctrl HI6220_SPI_CLK>;
643 clock-names = "apb_pclk";
644 pinctrl-names = "default";
645 pinctrl-0 = <&spi0_pmx_func &spi0_cfg_func>;
647 cs-gpios = <&gpio6 2 0>;
652 compatible = "snps,designware-i2c";
653 reg = <0x0 0xf7100000 0x0 0x1000>;
654 interrupts = <0 44 4>;
655 clocks = <&sys_ctrl HI6220_I2C0_CLK>;
656 i2c-sda-hold-time-ns = <300>;
657 pinctrl-names = "default";
658 pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>;
663 compatible = "snps,designware-i2c";
664 reg = <0x0 0xf7101000 0x0 0x1000>;
665 clocks = <&sys_ctrl HI6220_I2C1_CLK>;
666 interrupts = <0 45 4>;
667 i2c-sda-hold-time-ns = <300>;
668 pinctrl-names = "default";
669 pinctrl-0 = <&i2c1_pmx_func &i2c1_cfg_func>;
674 compatible = "snps,designware-i2c";
675 reg = <0x0 0xf7102000 0x0 0x1000>;
676 clocks = <&sys_ctrl HI6220_I2C2_CLK>;
677 interrupts = <0 46 4>;
678 i2c-sda-hold-time-ns = <300>;
679 pinctrl-names = "default";
680 pinctrl-0 = <&i2c2_pmx_func &i2c2_cfg_func>;
684 fixed_5v_hub: regulator@0 {
685 compatible = "regulator-fixed";
686 regulator-name = "fixed_5v_hub";
687 regulator-min-microvolt = <5000000>;
688 regulator-max-microvolt = <5000000>;
695 compatible = "hisilicon,hi6220-usb-phy";
697 phy-supply = <&fixed_5v_hub>;
698 hisilicon,peripheral-syscon = <&sys_ctrl>;
702 compatible = "hisilicon,hi6220-usb";
703 reg = <0x0 0xf72c0000 0x0 0x40000>;
705 phy-names = "usb2-phy";
706 clocks = <&sys_ctrl HI6220_USBOTG_HCLK>;
710 g-rx-fifo-size = <512>;
711 g-np-tx-fifo-size = <128>;
712 g-tx-fifo-size = <128 128 128 128 128 128>;
713 interrupts = <0 77 0x4>;
716 mailbox: mailbox@f7510000 {
717 compatible = "hisilicon,hi6220-mbox";
718 reg = <0x0 0xf7510000 0x0 0x1000>, /* IPC_S */
719 <0x0 0x06dff800 0x0 0x0800>; /* Mailbox buffer */
720 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
724 dwmmc_0: dwmmc0@f723d000 {
725 compatible = "hisilicon,hi6220-dw-mshc";
729 reg = <0x0 0xf723d000 0x0 0x1000>;
730 interrupts = <0x0 0x48 0x4>;
731 clocks = <&sys_ctrl 2>, <&sys_ctrl 1>;
732 clock-names = "ciu", "biu";
734 vmmc-supply = <&ldo19>;
735 pinctrl-names = "default";
736 pinctrl-0 = <&emmc_pmx_func &emmc_clk_cfg_func
737 &emmc_cfg_func &emmc_rst_cfg_func>;
740 dwmmc_1: dwmmc1@f723e000 {
741 compatible = "hisilicon,hi6220-dw-mshc";
743 card-detect-delay = <200>;
744 hisilicon,peripheral-syscon = <&ao_ctrl>;
746 reg = <0x0 0xf723e000 0x0 0x1000>;
747 interrupts = <0x0 0x49 0x4>;
748 #address-cells = <0x1>;
750 clocks = <&sys_ctrl 4>, <&sys_ctrl 3>;
751 clock-names = "ciu", "biu";
752 vqmmc-supply = <&ldo7>;
753 vmmc-supply = <&ldo10>;
756 cd-gpios = <&gpio1 0 1>;
757 pinctrl-names = "default", "idle";
758 pinctrl-0 = <&sd_pmx_func &sd_clk_cfg_func &sd_cfg_func>;
759 pinctrl-1 = <&sd_pmx_idle &sd_clk_cfg_idle &sd_cfg_idle>;
762 dwmmc_2: dwmmc2@f723f000 {
763 compatible = "hisilicon,hi6220-dw-mshc";
765 reg = <0x0 0xf723f000 0x0 0x1000>;
766 interrupts = <0x0 0x4a 0x4>;
767 clocks = <&sys_ctrl HI6220_MMC2_CIUCLK>, <&sys_ctrl HI6220_MMC2_CLK>;
768 clock-names = "ciu", "biu";
771 pinctrl-names = "default", "idle";
772 pinctrl-0 = <&sdio_pmx_func &sdio_clk_cfg_func &sdio_cfg_func>;
773 pinctrl-1 = <&sdio_pmx_idle &sdio_clk_cfg_idle &sdio_cfg_idle>;
776 tsensor: tsensor@0,f7030700 {
777 compatible = "hisilicon,tsensor";
778 reg = <0x0 0xf7030700 0x0 0x1000>;
779 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
780 clocks = <&sys_ctrl 22>;
781 clock-names = "thermal_clk";
782 #thermal-sensor-cells = <1>;