forked from libos-nuse/net-next-nuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from libos-nuse/master
merge master
- Loading branch information
Showing
966 changed files
with
49,726 additions
and
10,161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
* IPQ806x DWMAC Ethernet controller | ||
|
||
The device inherits all the properties of the dwmac/stmmac devices | ||
described in the file net/stmmac.txt with the following changes. | ||
|
||
Required properties: | ||
|
||
- compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac" | ||
and any applicable more detailed version number | ||
described in net/stmmac.txt | ||
|
||
- qcom,nss-common: should contain a phandle to a syscon device mapping the | ||
nss-common registers. | ||
|
||
- qcom,qsgmii-csr: should contain a phandle to a syscon device mapping the | ||
qsgmii-csr registers. | ||
|
||
Example: | ||
|
||
gmac: ethernet@37000000 { | ||
device_type = "network"; | ||
compatible = "qcom,ipq806x-gmac"; | ||
reg = <0x37000000 0x200000>; | ||
interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; | ||
interrupt-names = "macirq"; | ||
|
||
qcom,nss-common = <&nss_common>; | ||
qcom,qsgmii-csr = <&qsgmii_csr>; | ||
|
||
clocks = <&gcc GMAC_CORE1_CLK>; | ||
clock-names = "stmmaceth"; | ||
|
||
resets = <&gcc GMAC_CORE1_RESET>; | ||
reset-names = "stmmaceth"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
* Texas Instruments - dp83867 Giga bit ethernet phy | ||
|
||
Required properties: | ||
- reg - The ID number for the phy, usually a small integer | ||
- ti,rx-internal-delay - RGMII Recieve Clock Delay - see dt-bindings/net/ti-dp83867.h | ||
for applicable values | ||
- ti,tx-internal-delay - RGMII Transmit Clock Delay - see dt-bindings/net/ti-dp83867.h | ||
for applicable values | ||
- ti,fifo-depth - Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h | ||
for applicable values | ||
|
||
Default child nodes are standard Ethernet PHY device | ||
nodes as described in Documentation/devicetree/bindings/net/phy.txt | ||
|
||
Example: | ||
|
||
ethernet-phy@0 { | ||
reg = <0>; | ||
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; | ||
ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>; | ||
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; | ||
}; | ||
|
||
Datasheet can be found: | ||
http://www.ti.com/product/DP83867IR/datasheet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.