aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3288.dtsi
diff options
context:
space:
mode:
authorAddy Ke <addy.ke@rock-chips.com>2014-08-19 06:21:08 -0400
committerHeiko Stuebner <heiko@sntech.de>2014-09-03 18:54:04 -0400
commitf1a07231611c9c6f6a9a49c5a0f230b4f594d5b4 (patch)
treeae32308cf8b3f0017afe6e34189c5af840c5a37e /arch/arm/boot/dts/rk3288.dtsi
parentf23a6179d45e9d144bf2eb2bd82b2f1270f85fcf (diff)
ARM: dts: Add sdio0 and sdio1 to the rk3288
This patch requires that <https://patchwork.kernel.org/patch/4701721/> land in order to compile. Reviewed-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Addy Ke <addy.ke@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3288.dtsi')
-rw-r--r--arch/arm/boot/dts/rk3288.dtsi102
1 files changed, 102 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 9eda0973795f..5f866e0837a8 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -88,6 +88,26 @@
88 status = "disabled"; 88 status = "disabled";
89 }; 89 };
90 90
91 sdio0: dwmmc@ff0d0000 {
92 compatible = "rockchip,rk3288-dw-mshc";
93 clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>;
94 clock-names = "biu", "ciu";
95 fifo-depth = <0x100>;
96 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
97 reg = <0xff0d0000 0x4000>;
98 status = "disabled";
99 };
100
101 sdio1: dwmmc@ff0e0000 {
102 compatible = "rockchip,rk3288-dw-mshc";
103 clocks = <&cru HCLK_SDIO1>, <&cru SCLK_SDIO1>;
104 clock-names = "biu", "ciu";
105 fifo-depth = <0x100>;
106 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
107 reg = <0xff0e0000 0x4000>;
108 status = "disabled";
109 };
110
91 emmc: dwmmc@ff0f0000 { 111 emmc: dwmmc@ff0f0000 {
92 compatible = "rockchip,rk3288-dw-mshc"; 112 compatible = "rockchip,rk3288-dw-mshc";
93 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>; 113 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
@@ -562,6 +582,88 @@
562 }; 582 };
563 }; 583 };
564 584
585 sdio0 {
586 sdio0_bus1: sdio0-bus1 {
587 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>;
588 };
589
590 sdio0_bus4: sdio0-bus4 {
591 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>,
592 <4 21 RK_FUNC_1 &pcfg_pull_up>,
593 <4 22 RK_FUNC_1 &pcfg_pull_up>,
594 <4 23 RK_FUNC_1 &pcfg_pull_up>;
595 };
596
597 sdio0_cmd: sdio0-cmd {
598 rockchip,pins = <4 24 RK_FUNC_1 &pcfg_pull_up>;
599 };
600
601 sdio0_clk: sdio0-clk {
602 rockchip,pins = <4 25 RK_FUNC_1 &pcfg_pull_none>;
603 };
604
605 sdio0_cd: sdio0-cd {
606 rockchip,pins = <4 26 RK_FUNC_1 &pcfg_pull_up>;
607 };
608
609 sdio0_wp: sdio0-wp {
610 rockchip,pins = <4 27 RK_FUNC_1 &pcfg_pull_up>;
611 };
612
613 sdio0_pwr: sdio0-pwr {
614 rockchip,pins = <4 28 RK_FUNC_1 &pcfg_pull_up>;
615 };
616
617 sdio0_bkpwr: sdio0-bkpwr {
618 rockchip,pins = <4 29 RK_FUNC_1 &pcfg_pull_up>;
619 };
620
621 sdio0_int: sdio0-int {
622 rockchip,pins = <4 30 RK_FUNC_1 &pcfg_pull_up>;
623 };
624 };
625
626 sdio1 {
627 sdio1_bus1: sdio1-bus1 {
628 rockchip,pins = <3 24 4 &pcfg_pull_up>;
629 };
630
631 sdio1_bus4: sdio1-bus4 {
632 rockchip,pins = <3 24 4 &pcfg_pull_up>,
633 <3 25 4 &pcfg_pull_up>,
634 <3 26 4 &pcfg_pull_up>,
635 <3 27 4 &pcfg_pull_up>;
636 };
637
638 sdio1_cd: sdio1-cd {
639 rockchip,pins = <3 28 4 &pcfg_pull_up>;
640 };
641
642 sdio1_wp: sdio1-wp {
643 rockchip,pins = <3 29 4 &pcfg_pull_up>;
644 };
645
646 sdio1_bkpwr: sdio1-bkpwr {
647 rockchip,pins = <3 30 4 &pcfg_pull_up>;
648 };
649
650 sdio1_int: sdio1-int {
651 rockchip,pins = <3 31 4 &pcfg_pull_up>;
652 };
653
654 sdio1_cmd: sdio1-cmd {
655 rockchip,pins = <4 6 4 &pcfg_pull_up>;
656 };
657
658 sdio1_clk: sdio1-clk {
659 rockchip,pins = <4 7 4 &pcfg_pull_none>;
660 };
661
662 sdio1_pwr: sdio1-pwr {
663 rockchip,pins = <4 9 4 &pcfg_pull_up>;
664 };
665 };
666
565 emmc { 667 emmc {
566 emmc_clk: emmc-clk { 668 emmc_clk: emmc-clk {
567 rockchip,pins = <3 18 RK_FUNC_2 &pcfg_pull_none>; 669 rockchip,pins = <3 18 RK_FUNC_2 &pcfg_pull_none>;