summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-04-20 11:50:47 +0200
committerSimon Horman <horms+renesas@verge.net.au>2017-05-22 14:54:33 +0200
commitb04650d40f4b970e67cd78295ec2a3d00d959866 (patch)
treeb1d80bdef4089167fcfe5505ab8195f3ce1fb2a0
parent483a5eb105ac6ee74485e01de86cab2d3fdf3be4 (diff)
arm64: dts: r8a7796: salvator-x: Set drive-strength for ravb pins
The EthernetAVB should not depend on the bootloader to setup correct drive-strength values. Values for drive-strength where found by examining the registers after the bootloader has configured the registers and successfully used the EthernetAVB. Based on commit 7d73a4da2681dc5d ("arm64: dts: r8a7795: salvator-x: Set drive-strength for ravb pins"). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts18
1 files changed, 16 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
index 18b478be484c..31f02219ed2f 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
@@ -110,8 +110,22 @@
pinctrl-names = "default";
avb_pins: avb {
- groups = "avb_mdc";
- function = "avb";
+ mux {
+ groups = "avb_link", "avb_phy_int", "avb_mdc",
+ "avb_mii";
+ function = "avb";
+ };
+
+ pins_mdc {
+ groups = "avb_mdc";
+ drive-strength = <24>;
+ };
+
+ pins_mii_tx {
+ pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0",
+ "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3";
+ drive-strength = <12>;
+ };
};
scif1_pins: scif1 {