From: Tomer Maimon <tmaimon77@gmail.com>
To: openbmc@lists.ozlabs.org
Cc: Joel Stanley <joel@jms.id.au>, Tomer Maimon <tmaimon77@gmail.com>
Subject: [PATCH linux dev-4.13 v1 1/2] dt-binding: net: document NPCM7xx EMC DT bindings
Date: Thu, 4 Jan 2018 12:34:05 +0200 [thread overview]
Message-ID: <1515062046-11944-2-git-send-email-tmaimon77@gmail.com> (raw)
In-Reply-To: <1515062046-11944-1-git-send-email-tmaimon77@gmail.com>
Added device tree binding documentation for
Nuvoton NPCM7xx Ethernet MAC Controller (EMC).
Signed-off-by: Tomer Maimon <tmaimon77@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@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
next prev parent reply other threads:[~2018-01-04 10:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 10:34 [PATCH linux dev-4.13 v1 0/2] net: npcm: add NPCM7xx EMC Tomer Maimon
2018-01-04 10:34 ` Tomer Maimon [this message]
2018-01-04 10:34 ` [PATCH linux dev-4.13 v1 2/2] net: npcm: add NPCM7xx Ethernet MAC controller Tomer Maimon
2018-01-11 23:11 ` Joel Stanley
2018-01-12 3:49 ` Benjamin Herrenschmidt
2018-01-25 14:19 ` Avi Fishman
2018-01-25 23:21 ` Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1515062046-11944-2-git-send-email-tmaimon77@gmail.com \
--to=tmaimon77@gmail.com \
--cc=joel@jms.id.au \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.