aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts23
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi6220.dtsi19
2 files changed, 22 insertions, 20 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index 802f4a4bed30..5132d8ed4664 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -286,8 +286,29 @@
286 286
287 /* GPIO blocks 16 thru 19 do not appear to be routed to pins */ 287 /* GPIO blocks 16 thru 19 do not appear to be routed to pins */
288 288
289 dwmmc_0: dwmmc0@f723d000 {
290 cap-mmc-highspeed;
291 non-removable;
292 bus-width = <0x8>;
293 vmmc-supply = <&ldo19>;
294 };
295
296 dwmmc_1: dwmmc1@f723e000 {
297 card-detect-delay = <200>;
298 cap-sd-highspeed;
299 sd-uhs-sdr12;
300 sd-uhs-sdr25;
301 sd-uhs-sdr50;
302 vqmmc-supply = <&ldo7>;
303 vmmc-supply = <&ldo10>;
304 bus-width = <0x4>;
305 disable-wp;
306 cd-gpios = <&gpio1 0 1>;
307 };
308
289 dwmmc_2: dwmmc2@f723f000 { 309 dwmmc_2: dwmmc2@f723f000 {
290 ti,non-removable; 310 broken-cd;
311 bus-width = <0x4>;
291 non-removable; 312 non-removable;
292 /* WL_EN */ 313 /* WL_EN */
293 vmmc-supply = <&wlan_en_reg>; 314 vmmc-supply = <&wlan_en_reg>;
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 951152d44c02..5013e4b2ea71 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -756,17 +756,12 @@
756 756
757 dwmmc_0: dwmmc0@f723d000 { 757 dwmmc_0: dwmmc0@f723d000 {
758 compatible = "hisilicon,hi6220-dw-mshc"; 758 compatible = "hisilicon,hi6220-dw-mshc";
759 num-slots = <0x1>;
760 cap-mmc-highspeed;
761 non-removable;
762 reg = <0x0 0xf723d000 0x0 0x1000>; 759 reg = <0x0 0xf723d000 0x0 0x1000>;
763 interrupts = <0x0 0x48 0x4>; 760 interrupts = <0x0 0x48 0x4>;
764 clocks = <&sys_ctrl 2>, <&sys_ctrl 1>; 761 clocks = <&sys_ctrl 2>, <&sys_ctrl 1>;
765 clock-names = "ciu", "biu"; 762 clock-names = "ciu", "biu";
766 resets = <&sys_ctrl PERIPH_RSTDIS0_MMC0>; 763 resets = <&sys_ctrl PERIPH_RSTDIS0_MMC0>;
767 reset-names = "reset"; 764 reset-names = "reset";
768 bus-width = <0x8>;
769 vmmc-supply = <&ldo19>;
770 pinctrl-names = "default"; 765 pinctrl-names = "default";
771 pinctrl-0 = <&emmc_pmx_func &emmc_clk_cfg_func 766 pinctrl-0 = <&emmc_pmx_func &emmc_clk_cfg_func
772 &emmc_cfg_func &emmc_rst_cfg_func>; 767 &emmc_cfg_func &emmc_rst_cfg_func>;
@@ -774,13 +769,7 @@
774 769
775 dwmmc_1: dwmmc1@f723e000 { 770 dwmmc_1: dwmmc1@f723e000 {
776 compatible = "hisilicon,hi6220-dw-mshc"; 771 compatible = "hisilicon,hi6220-dw-mshc";
777 num-slots = <0x1>;
778 card-detect-delay = <200>;
779 hisilicon,peripheral-syscon = <&ao_ctrl>; 772 hisilicon,peripheral-syscon = <&ao_ctrl>;
780 cap-sd-highspeed;
781 sd-uhs-sdr12;
782 sd-uhs-sdr25;
783 sd-uhs-sdr50;
784 reg = <0x0 0xf723e000 0x0 0x1000>; 773 reg = <0x0 0xf723e000 0x0 0x1000>;
785 interrupts = <0x0 0x49 0x4>; 774 interrupts = <0x0 0x49 0x4>;
786 #address-cells = <0x1>; 775 #address-cells = <0x1>;
@@ -789,11 +778,6 @@
789 clock-names = "ciu", "biu"; 778 clock-names = "ciu", "biu";
790 resets = <&sys_ctrl PERIPH_RSTDIS0_MMC1>; 779 resets = <&sys_ctrl PERIPH_RSTDIS0_MMC1>;
791 reset-names = "reset"; 780 reset-names = "reset";
792 vqmmc-supply = <&ldo7>;
793 vmmc-supply = <&ldo10>;
794 bus-width = <0x4>;
795 disable-wp;
796 cd-gpios = <&gpio1 0 1>;
797 pinctrl-names = "default", "idle"; 781 pinctrl-names = "default", "idle";
798 pinctrl-0 = <&sd_pmx_func &sd_clk_cfg_func &sd_cfg_func>; 782 pinctrl-0 = <&sd_pmx_func &sd_clk_cfg_func &sd_cfg_func>;
799 pinctrl-1 = <&sd_pmx_idle &sd_clk_cfg_idle &sd_cfg_idle>; 783 pinctrl-1 = <&sd_pmx_idle &sd_clk_cfg_idle &sd_cfg_idle>;
@@ -801,15 +785,12 @@
801 785
802 dwmmc_2: dwmmc2@f723f000 { 786 dwmmc_2: dwmmc2@f723f000 {
803 compatible = "hisilicon,hi6220-dw-mshc"; 787 compatible = "hisilicon,hi6220-dw-mshc";
804 num-slots = <0x1>;
805 reg = <0x0 0xf723f000 0x0 0x1000>; 788 reg = <0x0 0xf723f000 0x0 0x1000>;
806 interrupts = <0x0 0x4a 0x4>; 789 interrupts = <0x0 0x4a 0x4>;
807 clocks = <&sys_ctrl HI6220_MMC2_CIUCLK>, <&sys_ctrl HI6220_MMC2_CLK>; 790 clocks = <&sys_ctrl HI6220_MMC2_CIUCLK>, <&sys_ctrl HI6220_MMC2_CLK>;
808 clock-names = "ciu", "biu"; 791 clock-names = "ciu", "biu";
809 resets = <&sys_ctrl PERIPH_RSTDIS0_MMC2>; 792 resets = <&sys_ctrl PERIPH_RSTDIS0_MMC2>;
810 reset-names = "reset"; 793 reset-names = "reset";
811 bus-width = <0x4>;
812 broken-cd;
813 pinctrl-names = "default", "idle"; 794 pinctrl-names = "default", "idle";
814 pinctrl-0 = <&sdio_pmx_func &sdio_clk_cfg_func &sdio_cfg_func>; 795 pinctrl-0 = <&sdio_pmx_func &sdio_clk_cfg_func &sdio_cfg_func>;
815 pinctrl-1 = <&sdio_pmx_idle &sdio_clk_cfg_idle &sdio_cfg_idle>; 796 pinctrl-1 = <&sdio_pmx_idle &sdio_clk_cfg_idle &sdio_cfg_idle>;