aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2013-05-20 05:16:58 -0400
committerDavid S. Miller <davem@davemloft.net>2013-05-20 17:03:51 -0400
commit0b8bf1baabe56f721d541953f083560d0660d78f (patch)
tree38953bf7cf973921fa2ab9c696450aba2476d170 /Documentation/devicetree
parentaafc787e41fd8a4d3a4378b028d8d8f8d38d9bb6 (diff)
net: dm9000: Allow instantiation using device tree
This patch adds Device Tree support to dm9000 driver. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> Reviewed-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/net/davicom-dm9000.txt26
-rw-r--r--Documentation/devicetree/bindings/vendor-prefixes.txt1
2 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/davicom-dm9000.txt b/Documentation/devicetree/bindings/net/davicom-dm9000.txt
new file mode 100644
index 000000000000..2d39c990e641
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/davicom-dm9000.txt
@@ -0,0 +1,26 @@
1Davicom DM9000 Fast Ethernet controller
2
3Required properties:
4- compatible = "davicom,dm9000";
5- reg : physical addresses and sizes of registers, must contain 2 entries:
6 first entry : address register,
7 second entry : data register.
8- interrupt-parent : interrupt controller to which the device is connected
9- interrupts : interrupt specifier specific to interrupt controller
10
11Optional properties:
12- local-mac-address : A bytestring of 6 bytes specifying Ethernet MAC address
13 to use (from firmware or bootloader)
14- davicom,no-eeprom : Configuration EEPROM is not available
15- davicom,ext-phy : Use external PHY
16
17Example:
18
19 ethernet@18000000 {
20 compatible = "davicom,dm9000";
21 reg = <0x18000000 0x2 0x18000004 0x2>;
22 interrupt-parent = <&gpn>;
23 interrupts = <7 4>;
24 local-mac-address = [00 00 de ad be ef];
25 davicom,no-eeprom;
26 };
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 6931c4348d24..2fe74e6ec209 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -18,6 +18,7 @@ chrp Common Hardware Reference Platform
18cirrus Cirrus Logic, Inc. 18cirrus Cirrus Logic, Inc.
19cortina Cortina Systems, Inc. 19cortina Cortina Systems, Inc.
20dallas Maxim Integrated Products (formerly Dallas Semiconductor) 20dallas Maxim Integrated Products (formerly Dallas Semiconductor)
21davicom DAVICOM Semiconductor, Inc.
21denx Denx Software Engineering 22denx Denx Software Engineering
22emmicro EM Microelectronic 23emmicro EM Microelectronic
23epson Seiko Epson Corp. 24epson Seiko Epson Corp.