Merge tag 'nfsd-4.8' of git://linux-nfs.org/~bfields/linux
[deliverable/linux.git] / Documentation / devicetree / bindings / net / smsc911x.txt
CommitLineData
79f88ee9
SG
1* Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller
2
3Required properties:
4- compatible : Should be "smsc,lan<model>", "smsc,lan9115"
5- reg : Address and length of the io space for SMSC LAN
6- interrupts : Should contain SMSC LAN interrupt line
7- interrupt-parent : Should be the phandle for the interrupt controller
8 that services interrupts for this device
e8f08ee0 9- phy-mode : See ethernet.txt file in the same directory
79f88ee9
SG
10
11Optional properties:
12- reg-shift : Specify the quantity to shift the register offsets by
13- reg-io-width : Specify the size (in bytes) of the IO accesses that
14 should be performed on the device. Valid value for SMSC LAN is
15 2 or 4. If it's omitted or invalid, the size would be 2.
16- smsc,irq-active-high : Indicates the IRQ polarity is active-high
17- smsc,irq-push-pull : Indicates the IRQ type is push-pull
18- smsc,force-internal-phy : Forces SMSC LAN controller to use
19 internal PHY
20- smsc,force-external-phy : Forces SMSC LAN controller to use
21 external PHY
22- smsc,save-mac-address : Indicates that mac address needs to be saved
23 before resetting the controller
79f88ee9
SG
24
25Examples:
26
27lan9220@f4000000 {
28 compatible = "smsc,lan9220", "smsc,lan9115";
29 reg = <0xf4000000 0x2000000>;
30 phy-mode = "mii";
31 interrupt-parent = <&gpio1>;
32 interrupts = <31>;
33 reg-io-width = <4>;
34 smsc,irq-push-pull;
35};
This page took 0.32198 seconds and 5 git commands to generate.