From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 6/9] ARM: berlin: Add BG2 ethernet DT nodes
Date: Wed, 29 Oct 2014 19:38:45 +0100 [thread overview]
Message-ID: <54513435.9050803@gmail.com> (raw)
In-Reply-To: <1414002412-13615-7-git-send-email-sebastian.hesselbarth@gmail.com>
On 22.10.2014 20:26, Sebastian Hesselbarth wrote:
> Marvell BG2 has two fast ethernet controllers with internal PHY,
> add the corresponding nodes to SoC dtsi.
>
> Tested-by: Antoine T?nart <antoine.tenart@free-electrons.com>
> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Applied the four DT patches to berlin/dt.
Sebastian
> ---
> Changelog:
> v1->v2:
> - move phy-connection-type to controller node instead of PHY node
> (Reported by Sergei Shtylyov)
>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: "Antoine T?nart" <antoine.tenart@free-electrons.com>
> Cc: Florian Fainelli <f.fainelli@gmail.com>
> Cc: Eric Miao <eric.y.miao@gmail.com>
> Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: netdev at vger.kernel.org
> Cc: devicetree at vger.kernel.org
> Cc: linux-kernel at vger.kernel.org
> ---
> arch/arm/boot/dts/berlin2.dtsi | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
>
> diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi
> index 9d7c810ebd0b..dc0227dfc691 100644
> --- a/arch/arm/boot/dts/berlin2.dtsi
> +++ b/arch/arm/boot/dts/berlin2.dtsi
> @@ -79,11 +79,47 @@
> clocks = <&chip CLKID_TWD>;
> };
>
> + eth1: ethernet at b90000 {
> + compatible = "marvell,pxa168-eth";
> + reg = <0xb90000 0x10000>;
> + clocks = <&chip CLKID_GETH1>;
> + interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
> + /* set by bootloader */
> + local-mac-address = [00 00 00 00 00 00];
> + #address-cells = <1>;
> + #size-cells = <0>;
> + phy-connection-type = "mii";
> + phy-handle = <ðphy1>;
> + status = "disabled";
> +
> + ethphy1: ethernet-phy at 0 {
> + reg = <0>;
> + };
> + };
> +
> cpu-ctrl at dd0000 {
> compatible = "marvell,berlin-cpu-ctrl";
> reg = <0xdd0000 0x10000>;
> };
>
> + eth0: ethernet at e50000 {
> + compatible = "marvell,pxa168-eth";
> + reg = <0xe50000 0x10000>;
> + clocks = <&chip CLKID_GETH0>;
> + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
> + /* set by bootloader */
> + local-mac-address = [00 00 00 00 00 00];
> + #address-cells = <1>;
> + #size-cells = <0>;
> + phy-connection-type = "mii";
> + phy-handle = <ðphy0>;
> + status = "disabled";
> +
> + ethphy0: ethernet-phy at 0 {
> + reg = <0>;
> + };
> + };
> +
> apb at e80000 {
> compatible = "simple-bus";
> #address-cells = <1>;
>
next prev parent reply other threads:[~2014-10-29 18:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 18:26 [PATCH v2 0/9] Marvell PXA168 libphy handling and Berlin Ethernet Sebastian Hesselbarth
2014-10-22 18:26 ` [PATCH v2 1/9] phy: marvell: Add support for 88E3016 FastEthernet PHY Sebastian Hesselbarth
2014-10-22 18:26 ` [PATCH v2 2/9] net: pxa168_eth: Provide phy_interface mode on platform_data Sebastian Hesselbarth
2014-10-25 10:08 ` [PATCH] fixup! " Sebastian Hesselbarth
2014-10-28 20:49 ` David Miller
2014-10-28 21:11 ` Sebastian Hesselbarth
2014-10-22 18:26 ` [PATCH v2 3/9] net: pxa168_eth: Prepare proper libphy handling Sebastian Hesselbarth
2014-10-22 18:26 ` [PATCH v2 4/9] net: pxa168_eth: Remove HW auto-negotiaion Sebastian Hesselbarth
2014-10-22 18:26 ` [PATCH v2 5/9] net: pxa168_eth: Remove in-driver PHY mangling Sebastian Hesselbarth
2014-10-22 18:26 ` [PATCH v2 6/9] ARM: berlin: Add BG2 ethernet DT nodes Sebastian Hesselbarth
2014-10-29 18:38 ` Sebastian Hesselbarth [this message]
2014-10-22 18:26 ` [PATCH v2 7/9] ARM: berlin: Add BG2CD " Sebastian Hesselbarth
2014-10-22 18:26 ` [PATCH v2 8/9] ARM: berlin: Add phy-connection-type to BG2Q Ethernet Sebastian Hesselbarth
2014-10-22 18:26 ` [PATCH v2 9/9] ARM: berlin: Enable ethernet on Sony NSZ-GS7 Sebastian Hesselbarth
2014-10-24 19:50 ` [PATCH v2 0/9] Marvell PXA168 libphy handling and Berlin Ethernet David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54513435.9050803@gmail.com \
--to=sebastian.hesselbarth@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).