aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/socfpga.dtsi
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@altera.com>2014-02-06 17:48:43 -0500
committerDinh Nguyen <dinguyen@altera.com>2014-03-02 15:57:57 -0500
commit7e0b4cd06201ee9dbdf2d13bfd7b8a021b414e42 (patch)
tree6038d7dc6e2fa04a9b1430cb036809f1fadad78a /arch/arm/boot/dts/socfpga.dtsi
parent2d237c06a4161767fe1da598d15291914a7bbeed (diff)
dts: socfpga: Add DTS entry for adding the stmmac glue layer for stmmac.
This patch adds the dts bindings documenation for the Altera SOCFPGA glue layer for the Synopsys STMMAC ethernet driver. Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Acked-by: David S. Miller <davem@davemloft.net> --- v3: Remove stray empty line at end of socfpga_cyclone5_socdk.dts v2: Use the dwmac-sti as an example for a glue layer and split patch up to have dts as a separate patch. Also cc dts maintainers since there is a new binding.
Diffstat (limited to 'arch/arm/boot/dts/socfpga.dtsi')
-rw-r--r--arch/arm/boot/dts/socfpga.dtsi49
1 files changed, 33 insertions, 16 deletions
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 537f1a5c07f5..3796141fb8bd 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -441,26 +441,43 @@
441 }; 441 };
442 }; 442 };
443 443
444 gmac0: ethernet@ff700000 { 444 ethernet0: ethernet0 {
445 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; 445 #address-cells = <1>;
446 reg = <0xff700000 0x2000>; 446 #size-cells = <1>;
447 interrupts = <0 115 4>; 447 compatible = "altr,socfpga-stmmac";
448 interrupt-names = "macirq"; 448 altr,sysmgr-syscon = <&sysmgr 0x60>;
449 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
450 clocks = <&emac0_clk>;
451 clock-names = "stmmaceth";
452 status = "disabled"; 449 status = "disabled";
450 ranges;
451
452 gmac0: gmac0@ff700000 {
453 compatible = "snps,dwmac-3.70a", "snps,dwmac";
454 reg = <0xff700000 0x2000>;
455 interrupts = <0 115 4>;
456 interrupt-names = "macirq";
457 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
458 clocks = <&emac0_clk>;
459 clock-names = "stmmaceth";
460 };
453 }; 461 };
454 462
455 gmac1: ethernet@ff702000 { 463 ethernet1: ethernet1 {
456 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; 464 #address-cells = <1>;
457 reg = <0xff702000 0x2000>; 465 #size-cells = <1>;
458 interrupts = <0 120 4>; 466 compatible = "altr,socfpga-stmmac";
459 interrupt-names = "macirq"; 467 altr,sysmgr-syscon = <&sysmgr 0x60>;
460 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
461 clocks = <&emac1_clk>;
462 clock-names = "stmmaceth";
463 status = "disabled"; 468 status = "disabled";
469 ranges;
470
471 gmac1: gmac1@ff702000 {
472 device_type = "network";
473 compatible = "snps,dwmac-3.70a", "snps,dwmac";
474 reg = <0xff702000 0x2000>;
475 interrupts = <0 120 4>;
476 interrupt-names = "macirq";
477 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
478 clocks = <&emac1_clk>;
479 clock-names = "stmmaceth";
480 };
464 }; 481 };
465 482
466 L2: l2-cache@fffef000 { 483 L2: l2-cache@fffef000 {