arm64: dts: r8a7795: salvator-x: Set drive-strength for ravb pins
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 5 Dec 2016 17:43:10 +0000 (18:43 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 7 Mar 2017 06:51:09 +0000 (07:51 +0100)
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.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts

index 5158ba3f9ce3f6d2f932f6927170343bc52c9b19..277ab8484e0cca2f97b578ae58e4d93f540acde9 100644 (file)
        };
 
        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>;
+               };
        };
 
        du_pins: du {