ARM: shmobile: r8a7790: add EtherAVB DT support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 15 Jun 2015 23:43:51 +0000 (02:43 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 6 Jul 2015 00:33:33 +0000 (09:33 +0900)
Define the generic R8A7790 part of the EtherAVB device node.

Based on original patch by Mitsuhiro Kimura <mitsuhiro.kimura.kc@renesas.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790.dtsi

index feb4652ed4b2d479aa0ad0f97d1c6b5bdb21e1be..c9aae06319c07bf4c28cb01d718443935f3323f5 100644 (file)
                status = "disabled";
        };
 
+       avb: ethernet@e6800000 {
+               compatible = "renesas,etheravb-r8a7790";
+               reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
+               interrupts = <0 163 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&mstp8_clks R8A7790_CLK_ETHERAVB>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
        sata0: sata@ee300000 {
                compatible = "renesas,sata-r8a7790";
                reg = <0 0xee300000 0 0x2000>;