Skip to content

Commit

Permalink
ARM: shmobile: lager: add Ether DT support
Browse files Browse the repository at this point in the history
Define the Lager board dependent part of the Ether device node.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Sergei Shtylyov authored and Simon Horman committed Feb 25, 2014
1 parent d8913c6 commit da4ea95
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion arch/arm/boot/dts/r8a7790-lager.dts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Device Tree Source for the Lager board
*
* Copyright (C) 2013 Renesas Solutions Corp.
* Copyright (C) 2013-2014 Renesas Solutions Corp.
* Copyright (C) 2014 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
Expand Down Expand Up @@ -124,6 +125,16 @@
renesas,function = "scif0";
};

ether_pins: ether {
renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
renesas,function = "eth";
};

phy1_pins: phy1 {
renesas,groups = "intc_irq0";
renesas,function = "intc";
};

scif1_pins: serial1 {
renesas,groups = "scif1_data";
renesas,function = "scif1";
Expand All @@ -150,6 +161,21 @@
};
};

&ether {
pinctrl-0 = <&ether_pins &phy1_pins>;
pinctrl-names = "default";

phy-handle = <&phy1>;
renesas,ether-link-active-low;
status = "ok";

phy1: ethernet-phy@1 {
reg = <1>;
interrupt-parent = <&irqc0>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
};
};

&mmcif1 {
pinctrl-0 = <&mmc1_pins>;
pinctrl-names = "default";
Expand Down

0 comments on commit da4ea95

Please sign in to comment.