mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
48c926cd34
Improve the binding example by removing all the leading zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following command: perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings "*.txt"` Some unnecessary changes were manually fixed. Signed-off-by: Marco Franchi <marco.franchi@nxp.com> Signed-off-by: Rob Herring <robh@kernel.org>
28 lines
815 B
Plaintext
28 lines
815 B
Plaintext
* Allwinner GMAC ethernet controller
|
|
|
|
This device is a platform glue layer for stmmac.
|
|
Please see stmmac.txt for the other unchanged properties.
|
|
|
|
Required properties:
|
|
- compatible: Should be "allwinner,sun7i-a20-gmac"
|
|
- clocks: Should contain the GMAC main clock, and tx clock
|
|
The tx clock type should be "allwinner,sun7i-a20-gmac-clk"
|
|
- clock-names: Should contain the clock names "stmmaceth",
|
|
and "allwinner_gmac_tx"
|
|
|
|
Optional properties:
|
|
- phy-supply: phandle to a regulator if the PHY needs one
|
|
|
|
Examples:
|
|
|
|
gmac: ethernet@1c50000 {
|
|
compatible = "allwinner,sun7i-a20-gmac";
|
|
reg = <0x01c50000 0x10000>,
|
|
<0x01c20164 0x4>;
|
|
interrupts = <0 85 1>;
|
|
interrupt-names = "macirq";
|
|
clocks = <&ahb_gates 49>, <&gmac_tx>;
|
|
clock-names = "stmmaceth", "allwinner_gmac_tx";
|
|
phy-mode = "mii";
|
|
};
|