ipq806x-dwmac.txt 973 B

1234567891011121314151617181920212223242526272829303132333435
  1. * IPQ806x DWMAC Ethernet controller
  2. The device inherits all the properties of the dwmac/stmmac devices
  3. described in the file net/stmmac.txt with the following changes.
  4. Required properties:
  5. - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac"
  6. and any applicable more detailed version number
  7. described in net/stmmac.txt
  8. - qcom,nss-common: should contain a phandle to a syscon device mapping the
  9. nss-common registers.
  10. - qcom,qsgmii-csr: should contain a phandle to a syscon device mapping the
  11. qsgmii-csr registers.
  12. Example:
  13. gmac: ethernet@37000000 {
  14. device_type = "network";
  15. compatible = "qcom,ipq806x-gmac";
  16. reg = <0x37000000 0x200000>;
  17. interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
  18. interrupt-names = "macirq";
  19. qcom,nss-common = <&nss_common>;
  20. qcom,qsgmii-csr = <&qsgmii_csr>;
  21. clocks = <&gcc GMAC_CORE1_CLK>;
  22. clock-names = "stmmaceth";
  23. resets = <&gcc GMAC_CORE1_RESET>;
  24. reset-names = "stmmaceth";
  25. };