From: Vladimir Barinov Date: Wed, 31 Aug 2016 10:02:59 +0000 (+0300) Subject: arm64: dts: h3ulcb: enable EthernetAVB X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=144bf6ccb13fc661a2d18ae8b13f25e61015331b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git arm64: dts: h3ulcb: enable EthernetAVB This supports Ethernet AVB on H3ULCB board Signed-off-by: Vladimir Barinov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts index 67ce368ff9ee..fb694b8c6f59 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts @@ -19,6 +19,7 @@ aliases { serial0 = &scif2; + ethernet0 = &avb; }; chosen { @@ -49,6 +50,11 @@ groups = "scif_clk_a"; function = "scif_clk"; }; + + avb_pins: avb { + groups = "avb_mdc"; + function = "avb"; + }; }; &scif2 { @@ -62,3 +68,29 @@ clock-frequency = <14745600>; 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>; + }; +};