diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2014-02-19 18:28:59 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-02-24 20:55:44 -0500 |
commit | 08e8f0f35522bad37556a80c6df0578374f5091c (patch) | |
tree | dc24f85532eb00df1c88ff3ffb13eb9033006fd2 /arch/arm/boot/dts/r8a7791-koelsch.dts | |
parent | 2e5d55ce8910afe136e0f4aa6ada6932e949c1ff (diff) |
ARM: shmobile: koelsch: add Ether DT support
Define the Koelsch 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>
Diffstat (limited to 'arch/arm/boot/dts/r8a7791-koelsch.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a7791-koelsch.dts | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index bf6ba0c7faa0..603af8caae5b 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts | |||
@@ -2,7 +2,8 @@ | |||
2 | * Device Tree Source for the Koelsch board | 2 | * Device Tree Source for the Koelsch board |
3 | * | 3 | * |
4 | * Copyright (C) 2013 Renesas Electronics Corporation | 4 | * Copyright (C) 2013 Renesas Electronics Corporation |
5 | * Copyright (C) 2013 Renesas Solutions Corp. | 5 | * Copyright (C) 2013-2014 Renesas Solutions Corp. |
6 | * Copyright (C) 2014 Cogent Embedded, Inc. | ||
6 | * | 7 | * |
7 | * This file is licensed under the terms of the GNU General Public License | 8 | * This file is licensed under the terms of the GNU General Public License |
8 | * version 2. This program is licensed "as is" without any warranty of any | 9 | * version 2. This program is licensed "as is" without any warranty of any |
@@ -146,12 +147,37 @@ | |||
146 | renesas,function = "scif1"; | 147 | renesas,function = "scif1"; |
147 | }; | 148 | }; |
148 | 149 | ||
150 | ether_pins: ether { | ||
151 | renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; | ||
152 | renesas,function = "eth"; | ||
153 | }; | ||
154 | |||
155 | phy1_pins: phy1 { | ||
156 | renesas,groups = "intc_irq0"; | ||
157 | renesas,function = "intc"; | ||
158 | }; | ||
159 | |||
149 | qspi_pins: spi { | 160 | qspi_pins: spi { |
150 | renesas,groups = "qspi_ctrl", "qspi_data4"; | 161 | renesas,groups = "qspi_ctrl", "qspi_data4"; |
151 | renesas,function = "qspi"; | 162 | renesas,function = "qspi"; |
152 | }; | 163 | }; |
153 | }; | 164 | }; |
154 | 165 | ||
166 | ðer { | ||
167 | pinctrl-0 = <ðer_pins &phy1_pins>; | ||
168 | pinctrl-names = "default"; | ||
169 | |||
170 | phy-handle = <&phy1>; | ||
171 | renesas,ether-link-active-low; | ||
172 | status = "ok"; | ||
173 | |||
174 | phy1: ethernet-phy@1 { | ||
175 | reg = <1>; | ||
176 | interrupt-parent = <&irqc0>; | ||
177 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | ||
178 | }; | ||
179 | }; | ||
180 | |||
155 | &sata0 { | 181 | &sata0 { |
156 | status = "okay"; | 182 | status = "okay"; |
157 | }; | 183 | }; |