Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.9 38 lines 1.5 kB view raw
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 9- phy-mode : String, operation mode of the PHY interface. 10 Supported values are: "mii", "gmii", "sgmii", "tbi", "rmii", 11 "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii". 12 13Optional properties: 14- reg-shift : Specify the quantity to shift the register offsets by 15- reg-io-width : Specify the size (in bytes) of the IO accesses that 16 should be performed on the device. Valid value for SMSC LAN is 17 2 or 4. If it's omitted or invalid, the size would be 2. 18- smsc,irq-active-high : Indicates the IRQ polarity is active-high 19- smsc,irq-push-pull : Indicates the IRQ type is push-pull 20- smsc,force-internal-phy : Forces SMSC LAN controller to use 21 internal PHY 22- smsc,force-external-phy : Forces SMSC LAN controller to use 23 external PHY 24- smsc,save-mac-address : Indicates that mac address needs to be saved 25 before resetting the controller 26- local-mac-address : 6 bytes, mac address 27 28Examples: 29 30lan9220@f4000000 { 31 compatible = "smsc,lan9220", "smsc,lan9115"; 32 reg = <0xf4000000 0x2000000>; 33 phy-mode = "mii"; 34 interrupt-parent = <&gpio1>; 35 interrupts = <31>; 36 reg-io-width = <4>; 37 smsc,irq-push-pull; 38};