Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: stmmac: ipq806x: document device tree bindings

Add the device tree bindings documentation for the QCA IPQ806x
variant of the Synopsys DesignWare MAC.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Mathieu Olivari and committed by
David S. Miller
95e130af b1c17215

+35
+35
Documentation/devicetree/bindings/net/ipq806x-dwmac.txt
··· 1 + * IPQ806x DWMAC Ethernet controller 2 + 3 + The device inherits all the properties of the dwmac/stmmac devices 4 + described in the file net/stmmac.txt with the following changes. 5 + 6 + Required properties: 7 + 8 + - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac" 9 + and any applicable more detailed version number 10 + described in net/stmmac.txt 11 + 12 + - qcom,nss-common: should contain a phandle to a syscon device mapping the 13 + nss-common registers. 14 + 15 + - qcom,qsgmii-csr: should contain a phandle to a syscon device mapping the 16 + qsgmii-csr registers. 17 + 18 + Example: 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 + };