-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: renesas: Add HiHope RZ/G2M sub board support
The HiHope RZ/G2M sub board sits below the HiHope RZ/G2M main board. This patch also adds ethernet support along with a dtsi common to both HiHope RZ/G2M and RZ/G2N sub boards. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
- Loading branch information
Biju Das
authored and
Simon Horman
committed
Jun 6, 2019
1 parent
871c13a
commit 7433f1f
Showing
4 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Device Tree Source for the RZ/G2[MN] HiHope sub board common parts | ||
* | ||
* Copyright (C) 2019 Renesas Electronics Corp. | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
ethernet0 = &avb; | ||
}; | ||
|
||
chosen { | ||
bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; | ||
}; | ||
}; | ||
|
||
&avb { | ||
pinctrl-0 = <&avb_pins>; | ||
pinctrl-names = "default"; | ||
phy-handle = <&phy0>; | ||
phy-mode = "rgmii-txid"; | ||
status = "okay"; | ||
|
||
phy0: ethernet-phy@0 { | ||
rxc-skew-ps = <1500>; | ||
reg = <0>; | ||
interrupt-parent = <&gpio2>; | ||
interrupts = <11 IRQ_TYPE_LEVEL_LOW>; | ||
reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; | ||
|
||
&pfc { | ||
pinctrl-0 = <&scif_clk_pins>; | ||
pinctrl-names = "default"; | ||
|
||
avb_pins: avb { | ||
mux { | ||
groups = "avb_link", "avb_mdio", "avb_mii"; | ||
function = "avb"; | ||
}; | ||
|
||
pins_mdio { | ||
groups = "avb_mdio"; | ||
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>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Device Tree Source for the HiHope RZ/G2M sub board | ||
* | ||
* Copyright (C) 2019 Renesas Electronics Corp. | ||
*/ | ||
|
||
#include "r8a774a1-hihope-rzg2m.dts" | ||
#include "hihope-rzg2-ex.dtsi" | ||
|
||
/ { | ||
model = "HopeRun HiHope RZ/G2M with sub board"; | ||
compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2m", | ||
"renesas,r8a774a1"; | ||
}; |