-
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.
yaml --- r: 327975 b: refs/heads/master c: 9316f0e h: refs/heads/master i: 327973: 14201fc 327971: 12b9857 327967: 5584619 v: v3
- Loading branch information
John W. Linville
committed
Sep 14, 2012
1 parent
a5cdf6c
commit ea26676
Showing
1,408 changed files
with
29,975 additions
and
18,116 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 7a5f799becc51c842ec1a3aeb8dd82651aea7036 | ||
refs/heads/master: 9316f0e3c6ba524d8fa14bfded048b252891931a |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
* Marvell Orion SATA | ||
|
||
Required Properties: | ||
- compatibility : "marvell,orion-sata" | ||
- reg : Address range of controller | ||
- interrupts : Interrupt controller is using | ||
- nr-ports : Number of SATA ports in use. | ||
|
||
Example: | ||
|
||
sata@80000 { | ||
compatible = "marvell,orion-sata"; | ||
reg = <0x80000 0x5000>; | ||
interrupts = <21>; | ||
nr-ports = <2>; | ||
} |
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,109 @@ | ||
TI SoC Ethernet Switch Controller Device Tree Bindings | ||
------------------------------------------------------ | ||
|
||
Required properties: | ||
- compatible : Should be "ti,cpsw" | ||
- reg : physical base address and size of the cpsw | ||
registers map | ||
- interrupts : property with a value describing the interrupt | ||
number | ||
- interrupt-parent : The parent interrupt controller | ||
- cpdma_channels : Specifies number of channels in CPDMA | ||
- host_port_no : Specifies host port shift | ||
- cpdma_reg_ofs : Specifies CPDMA submodule register offset | ||
- cpdma_sram_ofs : Specifies CPDMA SRAM offset | ||
- ale_reg_ofs : Specifies ALE submodule register offset | ||
- ale_entries : Specifies No of entries ALE can hold | ||
- host_port_reg_ofs : Specifies host port register offset | ||
- hw_stats_reg_ofs : Specifies hardware statistics register offset | ||
- bd_ram_ofs : Specifies internal desciptor RAM offset | ||
- bd_ram_size : Specifies internal descriptor RAM size | ||
- rx_descs : Specifies number of Rx descriptors | ||
- mac_control : Specifies Default MAC control register content | ||
for the specific platform | ||
- slaves : Specifies number for slaves | ||
- slave_reg_ofs : Specifies slave register offset | ||
- sliver_reg_ofs : Specifies slave sliver register offset | ||
- phy_id : Specifies slave phy id | ||
- mac-address : Specifies slave MAC address | ||
|
||
Optional properties: | ||
- ti,hwmods : Must be "cpgmac0" | ||
- no_bd_ram : Must be 0 or 1 | ||
|
||
Note: "ti,hwmods" field is used to fetch the base address and irq | ||
resources from TI, omap hwmod data base during device registration. | ||
Future plan is to migrate hwmod data base contents into device tree | ||
blob so that, all the required data will be used from device tree dts | ||
file. | ||
|
||
Examples: | ||
|
||
mac: ethernet@4A100000 { | ||
compatible = "ti,cpsw"; | ||
reg = <0x4A100000 0x1000>; | ||
interrupts = <55 0x4>; | ||
interrupt-parent = <&intc>; | ||
cpdma_channels = <8>; | ||
host_port_no = <0>; | ||
cpdma_reg_ofs = <0x800>; | ||
cpdma_sram_ofs = <0xa00>; | ||
ale_reg_ofs = <0xd00>; | ||
ale_entries = <1024>; | ||
host_port_reg_ofs = <0x108>; | ||
hw_stats_reg_ofs = <0x900>; | ||
bd_ram_ofs = <0x2000>; | ||
bd_ram_size = <0x2000>; | ||
no_bd_ram = <0>; | ||
rx_descs = <64>; | ||
mac_control = <0x20>; | ||
slaves = <2>; | ||
cpsw_emac0: slave@0 { | ||
slave_reg_ofs = <0x208>; | ||
sliver_reg_ofs = <0xd80>; | ||
phy_id = "davinci_mdio.16:00"; | ||
/* Filled in by U-Boot */ | ||
mac-address = [ 00 00 00 00 00 00 ]; | ||
}; | ||
cpsw_emac1: slave@1 { | ||
slave_reg_ofs = <0x308>; | ||
sliver_reg_ofs = <0xdc0>; | ||
phy_id = "davinci_mdio.16:01"; | ||
/* Filled in by U-Boot */ | ||
mac-address = [ 00 00 00 00 00 00 ]; | ||
}; | ||
}; | ||
|
||
(or) | ||
mac: ethernet@4A100000 { | ||
compatible = "ti,cpsw"; | ||
ti,hwmods = "cpgmac0"; | ||
cpdma_channels = <8>; | ||
host_port_no = <0>; | ||
cpdma_reg_ofs = <0x800>; | ||
cpdma_sram_ofs = <0xa00>; | ||
ale_reg_ofs = <0xd00>; | ||
ale_entries = <1024>; | ||
host_port_reg_ofs = <0x108>; | ||
hw_stats_reg_ofs = <0x900>; | ||
bd_ram_ofs = <0x2000>; | ||
bd_ram_size = <0x2000>; | ||
no_bd_ram = <0>; | ||
rx_descs = <64>; | ||
mac_control = <0x20>; | ||
slaves = <2>; | ||
cpsw_emac0: slave@0 { | ||
slave_reg_ofs = <0x208>; | ||
sliver_reg_ofs = <0xd80>; | ||
phy_id = "davinci_mdio.16:00"; | ||
/* Filled in by U-Boot */ | ||
mac-address = [ 00 00 00 00 00 00 ]; | ||
}; | ||
cpsw_emac1: slave@1 { | ||
slave_reg_ofs = <0x308>; | ||
sliver_reg_ofs = <0xdc0>; | ||
phy_id = "davinci_mdio.16:01"; | ||
/* Filled in by U-Boot */ | ||
mac-address = [ 00 00 00 00 00 00 ]; | ||
}; | ||
}; |
33 changes: 33 additions & 0 deletions
33
trunk/Documentation/devicetree/bindings/net/davinci-mdio.txt
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,33 @@ | ||
TI SoC Davinci MDIO Controller Device Tree Bindings | ||
--------------------------------------------------- | ||
|
||
Required properties: | ||
- compatible : Should be "ti,davinci_mdio" | ||
- reg : physical base address and size of the davinci mdio | ||
registers map | ||
- bus_freq : Mdio Bus frequency | ||
|
||
Optional properties: | ||
- ti,hwmods : Must be "davinci_mdio" | ||
|
||
Note: "ti,hwmods" field is used to fetch the base address and irq | ||
resources from TI, omap hwmod data base during device registration. | ||
Future plan is to migrate hwmod data base contents into device tree | ||
blob so that, all the required data will be used from device tree dts | ||
file. | ||
|
||
Examples: | ||
|
||
mdio: davinci_mdio@4A101000 { | ||
compatible = "ti,cpsw"; | ||
reg = <0x4A101000 0x1000>; | ||
bus_freq = <1000000>; | ||
}; | ||
|
||
(or) | ||
|
||
mdio: davinci_mdio@4A101000 { | ||
compatible = "ti,cpsw"; | ||
ti,hwmods = "davinci_mdio"; | ||
bus_freq = <1000000>; | ||
}; |
75 changes: 75 additions & 0 deletions
75
trunk/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.txt
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,75 @@ | ||
Properties for an MDIO bus multiplexer controlled by a memory-mapped device | ||
|
||
This is a special case of a MDIO bus multiplexer. A memory-mapped device, | ||
like an FPGA, is used to control which child bus is connected. The mdio-mux | ||
node must be a child of the memory-mapped device. The driver currently only | ||
supports devices with eight-bit registers. | ||
|
||
Required properties in addition to the generic multiplexer properties: | ||
|
||
- compatible : string, must contain "mdio-mux-mmioreg" | ||
|
||
- reg : integer, contains the offset of the register that controls the bus | ||
multiplexer. The size field in the 'reg' property is the size of | ||
register, and must therefore be 1. | ||
|
||
- mux-mask : integer, contains an eight-bit mask that specifies which | ||
bits in the register control the actual bus multiplexer. The | ||
'reg' property of each child mdio-mux node must be constrained by | ||
this mask. | ||
|
||
Example: | ||
|
||
The FPGA node defines a memory-mapped FPGA with a register space of 0x30 bytes. | ||
For the "EMI2" MDIO bus, register 9 (BRDCFG1) controls the mux on that bus. | ||
A bitmask of 0x6 means that bits 1 and 2 (bit 0 is lsb) are the bits on | ||
BRDCFG1 that control the actual mux. | ||
|
||
/* The FPGA node */ | ||
fpga: board-control@3,0 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "fsl,p5020ds-fpga", "fsl,fpga-ngpixis"; | ||
reg = <3 0 0x30>; | ||
ranges = <0 3 0 0x30>; | ||
|
||
mdio-mux-emi2 { | ||
compatible = "mdio-mux-mmioreg", "mdio-mux"; | ||
mdio-parent-bus = <&xmdio0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <9 1>; // BRDCFG1 | ||
mux-mask = <0x6>; // EMI2 | ||
|
||
emi2_slot1: mdio@0 { // Slot 1 XAUI (FM2) | ||
reg = <0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
phy_xgmii_slot1: ethernet-phy@0 { | ||
compatible = "ethernet-phy-ieee802.3-c45"; | ||
reg = <4>; | ||
}; | ||
}; | ||
|
||
emi2_slot2: mdio@2 { // Slot 2 XAUI (FM1) | ||
reg = <2>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
phy_xgmii_slot2: ethernet-phy@4 { | ||
compatible = "ethernet-phy-ieee802.3-c45"; | ||
reg = <0>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
/* The parent MDIO bus. */ | ||
xmdio0: mdio@f1000 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
compatible = "fsl,fman-xmdio"; | ||
reg = <0xf1000 0x1000>; | ||
interrupts = <100 1 0 0>; | ||
}; |
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
14 changes: 14 additions & 0 deletions
14
trunk/Documentation/devicetree/bindings/watchdog/marvel.txt
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,14 @@ | ||
* Marvell Orion Watchdog Time | ||
|
||
Required Properties: | ||
|
||
- Compatibility : "marvell,orion-wdt" | ||
- reg : Address of the timer registers | ||
|
||
Example: | ||
|
||
wdt@20300 { | ||
compatible = "marvell,orion-wdt"; | ||
reg = <0x20300 0x28>; | ||
status = "okay"; | ||
}; |
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.