-
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: 303231 b: refs/heads/master c: 70888a4 h: refs/heads/master i: 303229: 32dcaa9 303227: b401acb 303223: 3014e08 303215: 385d44c 303199: 648532a 303167: 5d7d6cf 303103: 9f474f7 v: v3
- Loading branch information
Arnd Bergmann
authored and
Olof Johansson
committed
May 9, 2012
1 parent
8fc7899
commit 3f8fc7f
Showing
178 changed files
with
7,026 additions
and
3,433 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: c51423fc067b00d8c8bd0e4e7bc861bf9050511d | ||
refs/heads/master: 70888a4b412abd55c1710e2d36a9a00f4d23f474 |
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
38 changes: 38 additions & 0 deletions
38
trunk/Documentation/devicetree/bindings/arm/lpc32xx-mic.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,38 @@ | ||
* NXP LPC32xx Main Interrupt Controller | ||
(MIC, including SIC1 and SIC2 secondary controllers) | ||
|
||
Required properties: | ||
- compatible: Should be "nxp,lpc3220-mic" | ||
- interrupt-controller: Identifies the node as an interrupt controller. | ||
- interrupt-parent: Empty for the interrupt controller itself | ||
- #interrupt-cells: The number of cells to define the interrupts. Should be 2. | ||
The first cell is the IRQ number | ||
The second cell is used to specify mode: | ||
1 = low-to-high edge triggered | ||
2 = high-to-low edge triggered | ||
4 = active high level-sensitive | ||
8 = active low level-sensitive | ||
Default for internal sources should be set to 4 (active high). | ||
- reg: Should contain MIC registers location and length | ||
|
||
Examples: | ||
/* | ||
* MIC | ||
*/ | ||
mic: interrupt-controller@40008000 { | ||
compatible = "nxp,lpc3220-mic"; | ||
interrupt-controller; | ||
interrupt-parent; | ||
#interrupt-cells = <2>; | ||
reg = <0x40008000 0xC000>; | ||
}; | ||
|
||
/* | ||
* ADC | ||
*/ | ||
adc@40048000 { | ||
compatible = "nxp,lpc3220-adc"; | ||
reg = <0x40048000 0x1000>; | ||
interrupt-parent = <&mic>; | ||
interrupts = <39 4>; | ||
}; |
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,8 @@ | ||
NXP LPC32xx Platforms Device Tree Bindings | ||
------------------------------------------ | ||
|
||
Boards with the NXP LPC32xx SoC shall have the following properties: | ||
|
||
Required root node property: | ||
|
||
compatible: must be "nxp,lpc3220", "nxp,lpc3230", "nxp,lpc3240" or "nxp,lpc3250" |
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,36 @@ | ||
* NXP PNX I2C Controller | ||
|
||
Required properties: | ||
|
||
- reg: Offset and length of the register set for the device | ||
- compatible: should be "nxp,pnx-i2c" | ||
- interrupts: configure one interrupt line | ||
- #address-cells: always 1 (for i2c addresses) | ||
- #size-cells: always 0 | ||
- interrupt-parent: the phandle for the interrupt controller that | ||
services interrupts for this device. | ||
|
||
Optional properties: | ||
|
||
- clock-frequency: desired I2C bus clock frequency in Hz, Default: 100000 Hz | ||
|
||
Examples: | ||
|
||
i2c1: i2c@400a0000 { | ||
compatible = "nxp,pnx-i2c"; | ||
reg = <0x400a0000 0x100>; | ||
interrupt-parent = <&mic>; | ||
interrupts = <51 0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; | ||
|
||
i2c2: i2c@400a8000 { | ||
compatible = "nxp,pnx-i2c"; | ||
reg = <0x400a8000 0x100>; | ||
interrupt-parent = <&mic>; | ||
interrupts = <50 0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
clock-frequency = <100000>; | ||
}; |
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,24 @@ | ||
* NXP LPC32xx SoC Ethernet Controller | ||
|
||
Required properties: | ||
- compatible: Should be "nxp,lpc-eth" | ||
- reg: Address and length of the register set for the device | ||
- interrupts: Should contain ethernet controller interrupt | ||
|
||
Optional properties: | ||
- phy-mode: String, operation mode of the PHY interface. | ||
Supported values are: "mii", "rmii" (default) | ||
- use-iram: Use LPC32xx internal SRAM (IRAM) for DMA buffering | ||
- local-mac-address : 6 bytes, mac address | ||
|
||
Example: | ||
|
||
mac: ethernet@31060000 { | ||
compatible = "nxp,lpc-eth"; | ||
reg = <0x31060000 0x1000>; | ||
interrupt-parent = <&mic>; | ||
interrupts = <29 0>; | ||
|
||
phy-mode = "rmii"; | ||
use-iram; | ||
}; |
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.