소스 검색

ARM: ux500: Enable SDI4 port on the u9540 when booting with Device Tree

Here we add the device node for the SDI4 (MMC) port to the u9540
Device Tree source file. This will allow successful probing of
the internal MMC storage device when booting with DT enabled.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Lee Jones 13 년 전
부모
커밋
80c70c6821
1개의 변경된 파일11개의 추가작업 그리고 1개의 파일을 삭제
  1. 11 1
      arch/arm/boot/dts/u9540.dts

+ 11 - 1
arch/arm/boot/dts/u9540.dts

@@ -21,7 +21,6 @@
 	};
 	};
 
 
 	soc-u9500 {
 	soc-u9500 {
-
 		uart@80120000 {
 		uart@80120000 {
 			status = "okay";
 			status = "okay";
 		};
 		};
@@ -33,5 +32,16 @@
 		uart@80007000 {
 		uart@80007000 {
 			status = "okay";
 			status = "okay";
 		};
 		};
+
+		// On-board eMMC
+		sdi4_per2@80114000 {
+			arm,primecell-periphid = <0x10480180>;
+		        max-frequency = <50000000>;
+			bus-width = <8>;
+			mmc-cap-mmc-highspeed;
+			vmmc-supply = <&ab8500_ldo_aux2_reg>;
+
+			status = "okay";
+		};
 	};
 	};
 };
 };