aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishon Vijay Abraham I2017-01-31 06:26:52 -0600
committerKishon Vijay Abraham I2017-05-18 05:57:11 -0500
commita67e7a46d32f79a4e9950c0c3403f15530169954 (patch)
tree9e829c604583cf46cb1daf64677973a89c2814ab
parent2e2fed778c0a0c0b16897ee269d2d704d9dc82ca (diff)
downloadlinux-phy-a67e7a46d32f79a4e9950c0c3403f15530169954.tar.gz
linux-phy-a67e7a46d32f79a4e9950c0c3403f15530169954.tar.xz
linux-phy-a67e7a46d32f79a4e9950c0c3403f15530169954.zip
ARM: dts: dra7: Add "max-frequency" property to MMC dt nodes
Add "max-frequency" property to MMC dt nodes and set the maximum frequency to 192MHz for MMC1/MMC2, 64MHz for MMC3 and 192MHz for MMC4. pdata quirks must be utilized to detect presence of rev 1.1/1.0 of silicon and adjust maximum frequencies as per restrictions documented in i843. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--arch/arm/boot/dts/dra7.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 5a262e1a0313..38fb1828e26a 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -1045,6 +1045,7 @@
1045 dma-names = "tx", "rx"; 1045 dma-names = "tx", "rx";
1046 status = "disabled"; 1046 status = "disabled";
1047 pbias-supply = <&pbias_mmc_reg>; 1047 pbias-supply = <&pbias_mmc_reg>;
1048 max-frequency = <192000000>;
1048 }; 1049 };
1049 1050
1050 mmc2: mmc@480b4000 { 1051 mmc2: mmc@480b4000 {
@@ -1056,6 +1057,7 @@
1056 dmas = <&sdma_xbar 47>, <&sdma_xbar 48>; 1057 dmas = <&sdma_xbar 47>, <&sdma_xbar 48>;
1057 dma-names = "tx", "rx"; 1058 dma-names = "tx", "rx";
1058 status = "disabled"; 1059 status = "disabled";
1060 max-frequency = <192000000>;
1059 }; 1061 };
1060 1062
1061 mmc3: mmc@480ad000 { 1063 mmc3: mmc@480ad000 {
@@ -1067,6 +1069,8 @@
1067 dmas = <&sdma_xbar 77>, <&sdma_xbar 78>; 1069 dmas = <&sdma_xbar 77>, <&sdma_xbar 78>;
1068 dma-names = "tx", "rx"; 1070 dma-names = "tx", "rx";
1069 status = "disabled"; 1071 status = "disabled";
1072 /* Errata i887 limits max-frequency of MMC3 to 64 MHz */
1073 max-frequency = <64000000>;
1070 }; 1074 };
1071 1075
1072 mmc4: mmc@480d1000 { 1076 mmc4: mmc@480d1000 {
@@ -1078,6 +1082,7 @@
1078 dmas = <&sdma_xbar 57>, <&sdma_xbar 58>; 1082 dmas = <&sdma_xbar 57>, <&sdma_xbar 58>;
1079 dma-names = "tx", "rx"; 1083 dma-names = "tx", "rx";
1080 status = "disabled"; 1084 status = "disabled";
1085 max-frequency = <192000000>;
1081 }; 1086 };
1082 1087
1083 mmu0_dsp1: mmu@40d01000 { 1088 mmu0_dsp1: mmu@40d01000 {