Add R8A7792 EtherAVB support
cover Add R8A7792 EtherAVB support
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20160704-v4.7-rc6' tag plus the R8A7792 PFC/GPIO patchsets. We're adding the R8A7792 EtherAVB clocks and device nodes. They have been tested on the Blanche board (along with the EtherAVB patches)...
[1/2] ARM: dts: r8a7792: add EtherAVB clocks
[2/2] ARM: dts: r8a7792: add EtherAVB support
WBR, Sergei
PATCH 1/2 ARM: dts: r8a7792: add EtherAVB clocks
Add the EtherAVB clock and its parent, HP clock to the R8A7792 device tree.
--- arch/arm/boot/dts/r8a7792.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm/boot/dts/r8a7792.dtsi +16 -0
@@ -464,6 +464,13 @@ clock-div = <6>; clock-mult = <1>; }; + hp_clk: hp { + compatible = "fixed-factor-clock"; + clocks = <&cpg_clocks R8A7792_CLK_PLL1>; + #clock-cells = <0>; + clock-div = <12>; + clock-mult = <1>; + }; p_clk: p { compatible = "fixed-factor-clock"; clocks = <&cpg_clocks R8A7792_CLK_PLL1>;
@@ -531,6 +538,15 @@ clock-output-names = "hscif1", "hscif0", "scif3", "scif2", "scif1", "scif0"; }; + mstp8_clks: mstp8_clks at e6150990 { + compatible = "renesas,r8a7792-mstp-clocks", + "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>; + clocks = <&hp_clk>; + #clock-cells = <1>; + clock-indices = <R8A7792_CLK_ETHERAVB>; + clock-output-names = "etheravb"; + }; mstp9_clks: mstp9_clks at e6150994 { compatible = "renesas,r8a7792-mstp-clocks", "renesas,cpg-mstp-clocks";
PATCH 2/2 ARM: dts: r8a7792: add EtherAVB support
In reply to Sergei ShtylyovDefine the generic R8A7792 part of the EtherAVB device node.
Based on the commit 89aac8af1a60 ("ARM: dts: r8a7794: add EtherAVB support").
--- arch/arm/boot/dts/r8a7792.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/boot/dts/r8a7792.dtsi +12 -0
@@ -444,6 +444,18 @@ power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; }; + avb: ethernet at e6800000 { + compatible = "renesas,etheravb-r8a7792", + "renesas,etheravb-rcar-gen2"; + reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>; + interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp8_clks R8A7792_CLK_ETHERAVB>; + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + /* Special CPG clocks */ cpg_clocks: cpg_clocks at e6150000 { compatible = "renesas,r8a7792-cpg-clocks",
PATCH 1/2 ARM: dts: r8a7792: add EtherAVB clocks
In reply to Sergei ShtylyovQuoted 3 lines · Sergei Shtylyov
Add the EtherAVB clock and its parent, HP clock to the R8A7792 device tree.
Signed-off-by Sergei Shtylyov <[email protected]>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
PATCH 2/2 ARM: dts: r8a7792: add EtherAVB support
In reply to Sergei ShtylyovQuoted 5 lines · Sergei Shtylyov
Define the generic R8A7792 part of the EtherAVB device node.
Based on the commit
89aac8af1a60("ARM: dts: r8a7794: add EtherAVB support").Signed-off-by Sergei Shtylyov <[email protected]>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
cover Add R8A7792 EtherAVB support
In reply to Sergei ShtylyovQuoted 9 lines · Sergei Shtylyov
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20160704-v4.7-rc6' tag plus the R8A7792 PFC/GPIO patchsets. We're adding the R8A7792 EtherAVB clocks and device nodes. They have been tested on the Blanche board (along with the EtherAVB patches)...[1/2] ARM: dts: r8a7792: add EtherAVB clocks
[2/2] ARM: dts: r8a7792: add EtherAVB support
Thanks, I have queued these up.