diff options
author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2020-05-25 16:22:08 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-06-15 10:28:46 +0200 |
commit | 8a8c81aa605cec4a086bd46a9b9214b9671f8f42 (patch) | |
tree | b87a6f063e8547771c044f01e1df11b1b8f1337a /arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | |
parent | b3850cd90edc0baad2ec47293f4ec3c929de6f76 (diff) | |
download | lwn-8a8c81aa605cec4a086bd46a9b9214b9671f8f42.tar.gz lwn-8a8c81aa605cec4a086bd46a9b9214b9671f8f42.zip |
ARM: dts: r8a7742-iwg21d-q7: Enable Ethernet AVB
Enable Ethernet AVB on iWave RZ/G1H carrier board.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Link: https://lore.kernel.org/r/1590420129-7531-4-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'arch/arm/boot/dts/r8a7742-iwg21d-q7.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index bb1deb09e41f..c57a5710574a 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -15,6 +15,7 @@ aliases { serial2 = &scifa2; serial4 = &scifb2; + ethernet0 = &avb; }; chosen { @@ -45,7 +46,27 @@ }; }; +&avb { + pinctrl-0 = <&avb_pins>; + pinctrl-names = "default"; + + phy-handle = <&phy3>; + phy-mode = "gmii"; + renesas,no-ether-link; + status = "okay"; + + phy3: ethernet-phy@3 { + reg = <3>; + micrel,led-mode = <1>; + }; +}; + &pfc { + avb_pins: avb { + groups = "avb_mdio", "avb_gmii"; + function = "avb"; + }; + scifa2_pins: scifa2 { groups = "scifa2_data_c"; function = "scifa2"; |