ARM: dts: r7s72100: add mmcif clock to device tree
authorChris Brandt <chris.brandt@renesas.com>
Thu, 15 Sep 2016 19:34:02 +0000 (15:34 -0400)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 17 Oct 2016 06:20:02 +0000 (08:20 +0200)
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>
arch/arm/boot/dts/r7s72100.dtsi
include/dt-bindings/clock/r7s72100-clock.h

index fb9ef9c..e18d4e6 100644 (file)
                        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 {
                        #clock-cells = <1>;
                        compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
index 3cd8138..5eaf0fb 100644 (file)
@@ -28,6 +28,9 @@
 /* MSTP7 */
 #define R7S72100_CLK_ETHER     4
 
+/* MSTP8 */
+#define R7S72100_CLK_MMCIF     4
+
 /* MSTP9 */
 #define R7S72100_CLK_I2C0      7
 #define R7S72100_CLK_I2C1      6