diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2017-05-02 06:30:24 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-05-22 08:54:55 -0400 |
commit | 133ace3f38045968b971b3ac62da495c54de49a6 (patch) | |
tree | f7a6961176ab1ada15f474f8f0f67dd4a2176a16 | |
parent | 428154de8d668bb9e8cb73793c51cea361fa4ad8 (diff) |
arm64: dts: ulcb: 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 7d73a4da2681 ("arm64: dts: r8a7795: salvator-x: Set drive-strength
for ravb pins")
* commit 4903987033be ("arm64: dts: r8a7796: salvator-x: Set drive-strength
for ravb pins")
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
-rw-r--r-- | arch/arm64/boot/dts/renesas/ulcb.dtsi | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi index 2bc7ceb2efa4..41e83c8530f7 100644 --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi | |||
@@ -198,8 +198,22 @@ | |||
198 | pinctrl-names = "default"; | 198 | pinctrl-names = "default"; |
199 | 199 | ||
200 | avb_pins: avb { | 200 | avb_pins: avb { |
201 | groups = "avb_mdc"; | 201 | mux { |
202 | function = "avb"; | 202 | groups = "avb_link", "avb_phy_int", "avb_mdc", |
203 | "avb_mii"; | ||
204 | function = "avb"; | ||
205 | }; | ||
206 | |||
207 | pins_mdc { | ||
208 | groups = "avb_mdc"; | ||
209 | drive-strength = <24>; | ||
210 | }; | ||
211 | |||
212 | pins_mii_tx { | ||
213 | pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0", | ||
214 | "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3"; | ||
215 | drive-strength = <12>; | ||
216 | }; | ||
203 | }; | 217 | }; |
204 | 218 | ||
205 | i2c2_pins: i2c2 { | 219 | i2c2_pins: i2c2 { |