]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
ARM: zynq: Use MACB driver instead of emacps
authorMichal Simek <michal.simek@xilinx.com>
Mon, 25 May 2015 13:14:09 +0000 (15:14 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 29 May 2015 07:14:59 +0000 (09:14 +0200)
Switch to macb driver which should be done long time ago.
There are two unsupported features which will be ported to mainline macb
driver in future. GMII2RGMII and support for multiple PHYs on the same
MDIO bus.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
arch/arm/boot/dts/zynq-7000.dtsi

index 2914a60e0eea22d4762575c1e6ec210efd32930a..425597d663877e4c78265027d1e1c5a14daf5a63 100644 (file)
                };
 
                gem0: ethernet@e000b000 {
-                       compatible = "xlnx,ps7-ethernet-1.00.a";
+                       compatible = "cdns,gem";
                        reg = <0xe000b000 0x1000>;
                        status = "disabled";
                        interrupts = <0 22 4>;
-                       clocks = <&clkc 13>, <&clkc 30>;
-                       clock-names = "ref_clk", "aper_clk";
-                       local-mac-address = [00 0a 35 00 00 00];
-                       xlnx,has-mdio = <0x1>;
+                       clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
+                       clock-names = "pclk", "hclk", "tx_clk";
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
 
                gem1: ethernet@e000c000 {
-                       compatible = "xlnx,ps7-ethernet-1.00.a";
+                       compatible = "cdns,gem";
                        reg = <0xe000c000 0x1000>;
                        status = "disabled";
                        interrupts = <0 45 4>;
-                       clocks = <&clkc 14>, <&clkc 31>;
-                       clock-names = "ref_clk", "aper_clk";
-                       local-mac-address = [00 0a 35 00 00 00];
-                       xlnx,has-mdio = <0x1>;
+                       clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>;
+                       clock-names = "pclk", "hclk", "tx_clk";
                        #address-cells = <1>;
                        #size-cells = <0>;
                };