194-dt-sun7i-add-gmac-ctrler.patch 954 B

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