aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/socfpga.dtsi
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@altera.com>2013-06-05 11:02:53 -0400
committerOlof Johansson <olof@lixom.net>2013-06-11 19:34:57 -0400
commit3d954cf1518f37edc0d5912d619bd0f644a27d7e (patch)
tree28d95bdbeee0160f8007689584afee337a1cc783 /arch/arm/boot/dts/socfpga.dtsi
parent6cd26ecedfa258369c2cd725cb33b0477ab2819b (diff)
ARM: socfpga: dts: Add ethernet bindings for SOCFPGA
Add entry for 2nd GMAC controller. Add the correct clocks for the GMAC. Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Reviewed-by: Pavel Machek <pavel@denx.de> CC: Arnd Bergmann <arnd@arndb.de> CC: Olof Johansson <olof@lixom.net> Cc: Pavel Machek <pavel@denx.de> CC: <linux@arm.linux.org.uk> v2: - Moved "disabled" status to dtsi file Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/socfpga.dtsi')
-rw-r--r--arch/arm/boot/dts/socfpga.dtsi18
1 files changed, 16 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 16a6e13e08b4..02bb425719be 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -23,6 +23,7 @@
23 23
24 aliases { 24 aliases {
25 ethernet0 = &gmac0; 25 ethernet0 = &gmac0;
26 ethernet1 = &gmac1;
26 serial0 = &uart0; 27 serial0 = &uart0;
27 serial1 = &uart1; 28 serial1 = &uart1;
28 timer0 = &timer0; 29 timer0 = &timer0;
@@ -238,13 +239,26 @@
238 }; 239 };
239 }; 240 };
240 241
241 gmac0: stmmac@ff700000 { 242 gmac0: ethernet@ff700000 {
242 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; 243 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
243 reg = <0xff700000 0x2000>; 244 reg = <0xff700000 0x2000>;
244 interrupts = <0 115 4>; 245 interrupts = <0 115 4>;
245 interrupt-names = "macirq"; 246 interrupt-names = "macirq";
246 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */ 247 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
247 phy-mode = "gmii"; 248 clocks = <&emac0_clk>;
249 clock-names = "stmmaceth";
250 status = "disabled";
251 };
252
253 gmac1: ethernet@ff702000 {
254 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
255 reg = <0xff702000 0x2000>;
256 interrupts = <0 120 4>;
257 interrupt-names = "macirq";
258 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
259 clocks = <&emac1_clk>;
260 clock-names = "stmmaceth";
261 status = "disabled";
248 }; 262 };
249 263
250 L2: l2-cache@fffef000 { 264 L2: l2-cache@fffef000 {