Message ID | 1443593787-21224-2-git-send-email-horms+renesas@verge.net.au (mailing list archive) |
---|---|
State | RFC |
Delegated to: | Simon Horman |
Headers | show |
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index d7e70f57d165..60d64c51b510 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -274,6 +274,17 @@ #clock-cells = <1>; clock-indices = <R8A7795_CLK_SCIF2>; }; + + mstp8_clks: mstp8_clks@e6150990 { + compatible = "renesas,r8a7795-mstp-clocks", + "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>; + clocks = <&s3d2_clk>; + #clock-cells = <1>; + clock-indices = <R8A7795_CLK_ETHERAVB>; + clock-output-names = "etheravb"; + }; + }; }; @@ -364,4 +375,5 @@ status = "disabled"; }; }; + }; diff --git a/include/dt-bindings/clock/r8a7795-clock.h b/include/dt-bindings/clock/r8a7795-clock.h index d661602cb164..fd2514b5d7cc 100644 --- a/include/dt-bindings/clock/r8a7795-clock.h +++ b/include/dt-bindings/clock/r8a7795-clock.h @@ -36,6 +36,7 @@ /* MSTP7 */ /* MSTP8 */ +#define R8A7795_CLK_ETHERAVB 12 /* MSTP9 */