1 * IPQ806x DWMAC Ethernet controller 1 * IPQ806x DWMAC Ethernet controller 2 2 3 The device inherits all the properties of the 3 The device inherits all the properties of the dwmac/stmmac devices 4 described in the file net/stmmac.txt with the 4 described in the file net/stmmac.txt with the following changes. 5 5 6 Required properties: 6 Required properties: 7 7 8 - compatible: should be "qcom,ipq806x-gmac" al 8 - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac" 9 and any applicable more detailed 9 and any applicable more detailed version number 10 described in net/stmmac.txt 10 described in net/stmmac.txt 11 11 12 - qcom,nss-common: should contain a phandle to 12 - qcom,nss-common: should contain a phandle to a syscon device mapping the 13 nss-common registers. 13 nss-common registers. 14 14 15 - qcom,qsgmii-csr: should contain a phandle to 15 - qcom,qsgmii-csr: should contain a phandle to a syscon device mapping the 16 qsgmii-csr registers. 16 qsgmii-csr registers. 17 17 18 Example: 18 Example: 19 19 20 gmac: ethernet@37000000 { 20 gmac: ethernet@37000000 { 21 device_type = "network"; 21 device_type = "network"; 22 compatible = "qcom,ipq806x-gma 22 compatible = "qcom,ipq806x-gmac"; 23 reg = <0x37000000 0x200000>; 23 reg = <0x37000000 0x200000>; 24 interrupts = <GIC_SPI 220 IRQ_ 24 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; 25 interrupt-names = "macirq"; 25 interrupt-names = "macirq"; 26 26 27 qcom,nss-common = <&nss_common 27 qcom,nss-common = <&nss_common>; 28 qcom,qsgmii-csr = <&qsgmii_csr 28 qcom,qsgmii-csr = <&qsgmii_csr>; 29 29 30 clocks = <&gcc GMAC_CORE1_CLK> 30 clocks = <&gcc GMAC_CORE1_CLK>; 31 clock-names = "stmmaceth"; 31 clock-names = "stmmaceth"; 32 32 33 resets = <&gcc GMAC_CORE1_RESE 33 resets = <&gcc GMAC_CORE1_RESET>; 34 reset-names = "stmmaceth"; 34 reset-names = "stmmaceth"; 35 }; 35 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.