]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/socfpga.dtsi
ARM: socfpga: dts: Add ethernet bindings for SOCFPGA
[karo-tx-linux.git] / arch / arm / boot / dts / socfpga.dtsi
index 16a6e13e08b41cc3e876d077acf14d2315a98b22..02bb425719be9b71040c59999643d4bf0f4cf08b 100644 (file)
@@ -23,6 +23,7 @@
 
        aliases {
                ethernet0 = &gmac0;
+               ethernet1 = &gmac1;
                serial0 = &uart0;
                serial1 = &uart1;
                timer0 = &timer0;
                                };
                        };
 
-               gmac0: stmmac@ff700000 {
+               gmac0: ethernet@ff700000 {
                        compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
                        reg = <0xff700000 0x2000>;
                        interrupts = <0 115 4>;
                        interrupt-names = "macirq";
                        mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
-                       phy-mode = "gmii";
+                       clocks = <&emac0_clk>;
+                       clock-names = "stmmaceth";
+                       status = "disabled";
+               };
+
+               gmac1: ethernet@ff702000 {
+                       compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
+                       reg = <0xff702000 0x2000>;
+                       interrupts = <0 120 4>;
+                       interrupt-names = "macirq";
+                       mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
+                       clocks = <&emac1_clk>;
+                       clock-names = "stmmaceth";
+                       status = "disabled";
                };
 
                L2: l2-cache@fffef000 {