arm64: dts: r8a7795: enable EthernetAVB on Salvator-X
authorKazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Mon, 2 Nov 2015 04:31:45 +0000 (13:31 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 20 Nov 2015 17:43:06 +0000 (09:43 -0800)
Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts

index a3db98384e53d036ccfe09c8719a1e7c69aa2b31..afdf53874da128a11353415e355d752a51e61784 100644 (file)
                renesas,groups = "scif2_data_a";
                renesas,function = "scif2";
        };
+
+       avb_pins: avb {
+               renesas,groups = "avb_mdc";
+               renesas,function = "avb";
+       };
 };
 
 &scif1 {
 
        status = "okay";
 };
+
+&avb {
+       pinctrl-0 = <&avb_pins>;
+       pinctrl-names = "default";
+       renesas,no-ether-link;
+       phy-handle = <&phy0>;
+       status = "okay";
+
+       phy0: ethernet-phy@0 {
+               rxc-skew-ps = <900>;
+               rxdv-skew-ps = <0>;
+               rxd0-skew-ps = <0>;
+               rxd1-skew-ps = <0>;
+               rxd2-skew-ps = <0>;
+               rxd3-skew-ps = <0>;
+               txc-skew-ps = <900>;
+               txen-skew-ps = <0>;
+               txd0-skew-ps = <0>;
+               txd1-skew-ps = <0>;
+               txd2-skew-ps = <0>;
+               txd3-skew-ps = <0>;
+               reg = <0>;
+               interrupt-parent = <&gpio2>;
+               interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+       };
+};