OSDN Git Service

ARM: shmobile: r8a7794: alt: Enable ethernet controller
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 27 Jan 2015 08:45:56 +0000 (10:45 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 21:30:47 +0000 (06:30 +0900)
Enable the ethernet controller for the Alt board. Pin muxing entries are
currently left out as r8a7794 pin control support isn't available yet.
We thus rely on the boot loader to configure ethernet pins for now.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7794-alt.dts

index 0d848e6..25bf434 100644 (file)
        status = "okay";
 };
 
+&ether {
+       phy-handle = <&phy1>;
+       renesas,ether-link-active-low;
+       status = "okay";
+
+       phy1: ethernet-phy@1 {
+               reg = <1>;
+               interrupt-parent = <&irqc0>;
+               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               micrel,led-mode = <1>;
+       };
+};
+
 &scif2 {
        status = "okay";
 };