diff options
author | Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> | 2015-01-15 11:12:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-15 20:08:07 +0100 |
commit | 7994fe55a4a2009d9e9153ded4ac4369d1adaaa3 (patch) | |
tree | f7eaf4cb552146ab52065e5c7d13d63f1aebc8e1 /Documentation/devicetree/bindings/net/davicom-dm9000.txt | |
parent | socket: use iov_length() (diff) | |
download | linux-7994fe55a4a2009d9e9153ded4ac4369d1adaaa3.tar.xz linux-7994fe55a4a2009d9e9153ded4ac4369d1adaaa3.zip |
dm9000: Add regulator and reset support to dm9000
In boards, the dm9000 chip's power and reset can be controlled by gpio.
It makes sense to add them to the dm9000 driver and let dt be used to
enable power and reset the phy.
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/davicom-dm9000.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/davicom-dm9000.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/davicom-dm9000.txt b/Documentation/devicetree/bindings/net/davicom-dm9000.txt index 28767ed7c1bd..5224bf05f6f8 100644 --- a/Documentation/devicetree/bindings/net/davicom-dm9000.txt +++ b/Documentation/devicetree/bindings/net/davicom-dm9000.txt @@ -11,6 +11,8 @@ Required properties: Optional properties: - davicom,no-eeprom : Configuration EEPROM is not available - davicom,ext-phy : Use external PHY +- reset-gpios : phandle of gpio that will be used to reset chip during probe +- vcc-supply : phandle of regulator that will be used to enable power to chip Example: @@ -21,4 +23,6 @@ Example: interrupts = <7 4>; local-mac-address = [00 00 de ad be ef]; davicom,no-eeprom; + reset-gpios = <&gpf 12 GPIO_ACTIVE_LOW>; + vcc-supply = <ð0_power>; }; |