36 lines · plain
1* IPQ806x DWMAC Ethernet controller2 3The device inherits all the properties of the dwmac/stmmac devices4described in the file net/stmmac.txt with the following changes.5 6Required properties:7 8- compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac"9 and any applicable more detailed version number10 described in net/stmmac.txt11 12- qcom,nss-common: should contain a phandle to a syscon device mapping the13 nss-common registers.14 15- qcom,qsgmii-csr: should contain a phandle to a syscon device mapping the16 qsgmii-csr registers.17 18Example:19 20 gmac: ethernet@37000000 {21 device_type = "network";22 compatible = "qcom,ipq806x-gmac";23 reg = <0x37000000 0x200000>;24 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;25 interrupt-names = "macirq";26 27 qcom,nss-common = <&nss_common>;28 qcom,qsgmii-csr = <&qsgmii_csr>;29 30 clocks = <&gcc GMAC_CORE1_CLK>;31 clock-names = "stmmaceth";32 33 resets = <&gcc GMAC_CORE1_RESET>;34 reset-names = "stmmaceth";35 };36