Skip to content

Commit

Permalink
ARM: shmobile: r8a7794: Add VIN clock to device tree
Browse files Browse the repository at this point in the history
Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Koji Matsuoka authored and Simon Horman committed Nov 4, 2014
1 parent 25af9c8 commit 148ebf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/boot/dts/r8a7794.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -517,13 +517,13 @@
mstp8_clks: mstp8_clks@e6150990 {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
clocks = <&p_clk>;
clocks = <&zg_clk>, <&zg_clk>, <&p_clk>;
#clock-cells = <1>;
renesas,clock-indices = <
R8A7794_CLK_ETHER
R8A7794_CLK_VIN1 R8A7794_CLK_VIN0 R8A7794_CLK_ETHER
>;
clock-output-names =
"ether";
"vin1", "vin0", "ether";
};
mstp11_clks: mstp11_clks@e615099c {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
Expand Down
2 changes: 2 additions & 0 deletions include/dt-bindings/clock/r8a7794-clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
#define R8A7794_CLK_SCIF0 21

/* MSTP8 */
#define R8A7794_CLK_VIN1 10
#define R8A7794_CLK_VIN0 11
#define R8A7794_CLK_ETHER 13

/* MSTP9 */
Expand Down

0 comments on commit 148ebf4

Please sign in to comment.