Skip to content

Commit

Permalink
ARM: shmobile: henninger: add Ether DT support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sergei Shtylyov authored and Simon Horman committed Apr 25, 2014
1 parent 4b37ab0 commit 26b0d2c
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion arch/arm/boot/dts/r8a7791-henninger.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -48,3 +58,19 @@

status = "okay";
};

&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>;
micrel,led-mode = <1>;
};
};

0 comments on commit 26b0d2c

Please sign in to comment.