121-dt-sun7i-add-gmac-ctrlnode.patch 1004 B

12345678910111213141516171819202122232425262728293031323334
  1. From 22b9ac16c600694b12479a75461bce031295e4b9 Mon Sep 17 00:00:00 2001
  2. From: Chen-Yu Tsai <wens@csie.org>
  3. Date: Mon, 10 Feb 2014 18:35:49 +0800
  4. Subject: [PATCH] ARM: dts: sun7i: Add GMAC controller node to sun7i DTSI
  5. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
  6. ---
  7. arch/arm/boot/dts/sun7i-a20.dtsi | 15 +++++++++++++++
  8. 1 file changed, 15 insertions(+)
  9. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  10. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  11. @@ -653,6 +653,21 @@
  12. status = "disabled";
  13. };
  14. + gmac: ethernet@01c50000 {
  15. + compatible = "allwinner,sun7i-a20-gmac";
  16. + reg = <0x01c50000 0x10000>;
  17. + interrupts = <0 85 4>;
  18. + interrupt-names = "macirq";
  19. + clocks = <&ahb_gates 49>, <&gmac_tx_clk>;
  20. + clock-names = "stmmaceth", "allwinner_gmac_tx";
  21. + snps,pbl = <2>;
  22. + snps,fixed-burst;
  23. + snps,force_sf_dma_mode;
  24. + status = "disabled";
  25. + #address-cells = <1>;
  26. + #size-cells = <0>;
  27. + };
  28. +
  29. hstimer@01c60000 {
  30. compatible = "allwinner,sun7i-a20-hstimer";
  31. reg = <0x01c60000 0x1000>;