[PATCH linux dev-4.13 v1 1/2] dt-binding: net: document NPCM7xx EMC DT bindings

Tomer Maimon tmaimon77 at gmail.com
Thu Jan 4 21:34:05 AEDT 2018


Added device tree binding documentation for
Nuvoton NPCM7xx Ethernet MAC Controller (EMC).

Signed-off-by: Tomer Maimon <tmaimon77 at gmail.com>
---
 .../bindings/net/nuvoton,npcm7xx-emc.txt           | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/nuvoton,npcm7xx-emc.txt

diff --git a/Documentation/devicetree/bindings/net/nuvoton,npcm7xx-emc.txt b/Documentation/devicetree/bindings/net/nuvoton,npcm7xx-emc.txt
new file mode 100644
index 000000000000..812d8481a6fb
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/nuvoton,npcm7xx-emc.txt
@@ -0,0 +1,24 @@
+Nuvoton NPCM7XX 10/100 Ethernet MAC Controller (EMC)
+
+The NPCM750x provides two identical Ethernet MAC Controllers
+for WAN/LAN applications
+
+Required properties:
+- compatible      : "nuvoton,npcm750-emc" for Poleg NPCM750.
+- reg             : Offset and length of the register set for the device.
+- interrupts      : Contain the emc interrupts with flags for falling edge.
+					first interrupt dedicated to Txirq
+					second interrupt dedicated to Rxirq
+- clocks          : phandle of emc reference clock.
+- device_type	  : Should be "network"
+
+Example:
+
+emc0: eth at f0825000 {
+	device_type = "network";
+	compatible = "nuvoton,npcm750-emc";
+	reg = <0xf0825000 0x1000>;
+	interrupts = <0 16 4>, <0 15 4>;
+	clocks = <&clk NPCM7XX_CLK_EMC>;
+};
+
-- 
2.14.1



More information about the openbmc mailing list