Thread (25 messages) flat view 25 messages, 6 authors, 2016-06-30

[RFC 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

From: Jon Mason <hidden>
Date: 2016-06-28 19:35:29
Also in: lkml
Subsystem: networking drivers, open firmware and flattened device tree bindings, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

Signed-off-by: Jon Mason <redacted>
---
 .../devicetree/bindings/net/brcm,bgmac-enet.txt     | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-enet.txt
diff --git a/Documentation/devicetree/bindings/net/brcm,bgmac-enet.txt b/Documentation/devicetree/bindings/net/brcm,bgmac-enet.txt
new file mode 100644
index 0000000..efd36d5
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/brcm,bgmac-enet.txt
@@ -0,0 +1,21 @@
+Broadcom GMAC Ethernet Controller Device Tree Bindings
+-------------------------------------------------------------
+
+Required properties:
+ - compatible:	"brcm,bgmac-enet"
+ - reg:		Address and length of the GMAC registers,
+		Address and length of the GMAC IDM registers
+ - interrupts:	Interrupt number
+
+Optional properties:
+- mac-address:	mac address to be assigned to the device
+
+Examples:
+
+gmac0: enet@18022000 {
+	compatible = "brcm,bgmac-enet";
+	reg = <0x18022000 0x1000>,
+	      <0x18110000 0x1000>;
+	interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
+	status = "disabled";
+};
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help