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

dt-bindings: net-next: Add DT bindings documentation for Allwinner V3s EMAC

Allwinner V3s SoC has a Ethernet MAC like the one in Allwinner H3, but
have no external MII capability. That means that it can only use the
EPHY and cannot do Gbps transmission.

Add binding for it.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Icenowy Zheng and committed by
David S. Miller
e29602b0 708d32e4

+8 -2
+8 -2
Documentation/devicetree/bindings/net/dwmac-sun8i.txt
··· 7 7 - compatible: should be one of the following string: 8 8 "allwinner,sun8i-a83t-emac" 9 9 "allwinner,sun8i-h3-emac" 10 + "allwinner,sun8i-v3s-emac" 10 11 "allwinner,sun50i-a64-emac" 11 12 - reg: address and length of the register for the device. 12 13 - interrupts: interrupt for the device ··· 23 22 - syscon: A phandle to the syscon of the SoC with one of the following 24 23 compatible string: 25 24 - allwinner,sun8i-h3-system-controller 25 + - allwinner,sun8i-v3s-system-controller 26 26 - allwinner,sun50i-a64-system-controller 27 27 - allwinner,sun8i-a83t-system-controller 28 28 ··· 33 31 Both delay properties need to be a multiple of 100. They control the delay for 34 32 external PHY. 35 33 36 - Optional properties for "allwinner,sun8i-h3-emac": 34 + Optional properties for the following compatibles: 35 + - "allwinner,sun8i-h3-emac", 36 + - "allwinner,sun8i-v3s-emac": 37 37 - allwinner,leds-active-low: EPHY LEDs are active low 38 38 39 39 Required child node of emac: ··· 48 44 The device node referenced by "phy" or "phy-handle" should be a child node 49 45 of the mdio node. See phy.txt for the generic PHY bindings. 50 46 51 - Required properties of the phy node with "allwinner,sun8i-h3-emac": 47 + Required properties of the phy node with the following compatibles: 48 + - "allwinner,sun8i-h3-emac", 49 + - "allwinner,sun8i-v3s-emac": 52 50 - clocks: a phandle to the reference clock for the EPHY 53 51 - resets: a phandle to the reset control for the EPHY 54 52