ARM: shmobile: r8a7790: Add QSPI module clock in device tree
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 19 Dec 2013 15:51:03 +0000 (16:51 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 24 Dec 2013 14:01:12 +0000 (23:01 +0900)
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790.dtsi
include/dt-bindings/clock/r8a7790-clock.h

index 9c9a9920accede46b8d8574ff5888ccb92c1af9c..a1791250bf4b354148961f867568a5879ff0cd43 100644 (file)
                mstp9_clks: mstp9_clks@e6150994 {
                        compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
                        reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
-                       clocks = <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>;
+                       clocks = <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>,
+                                <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>;
                        #clock-cells = <1>;
                        renesas,clock-indices = <
-                               R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_I2C3
-                               R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0
+                               R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD
+                               R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1
+                               R8A7790_CLK_I2C0
                        >;
-                       clock-output-names = "rcan1", "rcan0", "i2c3", "i2c2", "i2c1", "i2c0";
+                       clock-output-names =
+                               "rcan1", "rcan0", "qspi_mod", "i2c3", "i2c2", "i2c1", "i2c0";
                };
        };
 };
index bbabb8e80113256b8e4f1baf5443c2ef23f68e8e..859e9be511d9251b7e7033a5a9489a9091237b5f 100644 (file)
@@ -97,6 +97,7 @@
 #define R8A7790_CLK_GPIO0              12
 #define R8A7790_CLK_RCAN1              15
 #define R8A7790_CLK_RCAN0              16
+#define R8A7790_CLK_QSPI_MOD           17
 #define R8A7790_CLK_IICDVFS            26
 #define R8A7790_CLK_I2C3               28
 #define R8A7790_CLK_I2C2               29