Browse Source

ARM: dts: r7s72100: add mmcif clock to device tree

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Chris Brandt 9 years ago
parent
commit
6c35a66656
2 changed files with 12 additions and 0 deletions
  1. 9 0
      arch/arm/boot/dts/r7s72100.dtsi
  2. 3 0
      include/dt-bindings/clock/r7s72100-clock.h

+ 9 - 0
arch/arm/boot/dts/r7s72100.dtsi

@@ -117,6 +117,15 @@
 			clock-output-names = "ether";
 			clock-output-names = "ether";
 		};
 		};
 
 
+		mstp8_clks: mstp8_clks@fcfe0434 {
+			#clock-cells = <1>;
+			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
+			reg = <0xfcfe0434 4>;
+			clocks = <&p1_clk>;
+			clock-indices = <R7S72100_CLK_MMCIF>;
+			clock-output-names = "mmcif";
+		};
+
 		mstp9_clks: mstp9_clks@fcfe0438 {
 		mstp9_clks: mstp9_clks@fcfe0438 {
 			#clock-cells = <1>;
 			#clock-cells = <1>;
 			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
 			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";

+ 3 - 0
include/dt-bindings/clock/r7s72100-clock.h

@@ -28,6 +28,9 @@
 /* MSTP7 */
 /* MSTP7 */
 #define R7S72100_CLK_ETHER	4
 #define R7S72100_CLK_ETHER	4
 
 
+/* MSTP8 */
+#define R7S72100_CLK_MMCIF	4
+
 /* MSTP9 */
 /* MSTP9 */
 #define R7S72100_CLK_I2C0	7
 #define R7S72100_CLK_I2C0	7
 #define R7S72100_CLK_I2C1	6
 #define R7S72100_CLK_I2C1	6