ARM: dts: r7s72100: add ostm clock to device tree
authorChris Brandt <chris.brandt@renesas.com>
Mon, 23 Jan 2017 13:55:18 +0000 (08:55 -0500)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 24 Jan 2017 12:25:04 +0000 (13:25 +0100)
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 3dd427d..d5946df 100644 (file)
                        clock-output-names = "scif0", "scif1", "scif2", "scif3", "scif4", "scif5", "scif6", "scif7";
                };
 
+               mstp5_clks: mstp5_clks@fcfe0428 {
+                       #clock-cells = <1>;
+                       compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
+                       reg = <0xfcfe0428 4>;
+                       clocks = <&p0_clk>, <&p0_clk>;
+                       clock-indices = <R7S72100_CLK_OSTM0 R7S72100_CLK_OSTM1>;
+                       clock-output-names = "ostm0", "ostm1";
+               };
+
                mstp7_clks: mstp7_clks@fcfe0430 {
                        #clock-cells = <1>;
                        compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
index 29e01ed..ce09915 100644 (file)
 #define R7S72100_CLK_SCIF6     1
 #define R7S72100_CLK_SCIF7     0
 
+/* MSTP5 */
+#define R7S72100_CLK_OSTM0     1
+#define R7S72100_CLK_OSTM1     0
+
 /* MSTP7 */
 #define R7S72100_CLK_ETHER     4