diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2014-04-25 02:44:12 +0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-04-25 10:26:25 +0900 |
commit | 26b0d2cf73cb5091962c81598a36346d05e9ba83 (patch) | |
tree | 025c8c77de2304ad2cbbc17038c909f8a29784b6 /arch/arm/boot/dts/r8a7791-henninger.dts | |
parent | 4b37ab033e6f8c9750f98fefe9bdc341b6943268 (diff) |
ARM: shmobile: henninger: add Ether DT support
Define the Henninger board dependent part of the Ether device node.
Enable DHCP and NFS root for the kernel booting.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7791-henninger.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a7791-henninger.dts | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/r8a7791-henninger.dts b/arch/arm/boot/dts/r8a7791-henninger.dts index 0053f52bc96..f82f306c074 100644 --- a/arch/arm/boot/dts/r8a7791-henninger.dts +++ b/arch/arm/boot/dts/r8a7791-henninger.dts @@ -21,7 +21,7 @@ }; chosen { - bootargs = "console=ttySC0,38400 ignore_loglevel"; + bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp"; }; memory@40000000 { @@ -40,6 +40,16 @@ renesas,groups = "scif0_data_d"; 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"; + }; }; &scif0 { @@ -48,3 +58,19 @@ status = "okay"; }; + +ðer { + pinctrl-0 = <ðer_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>; + micrel,led-mode = <1>; + }; +}; |