-
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.
ipmi: Add device tree bindings information
Signed-off-by: Corey Minyard <cminyard@mvista.com>
- Loading branch information
Corey Minyard
committed
Sep 3, 2015
1 parent
dd5cdb4
commit 92e8472
Showing
1 changed file
with
25 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
IPMI device | ||
|
||
Required properties: | ||
- compatible: should be one of ipmi-kcs, ipmi-smic, or ipmi-bt | ||
- device_type: should be ipmi | ||
- reg: Address and length of the register set for the device | ||
|
||
Optional properties: | ||
- interrupts: The interrupt for the device. Without this the interface | ||
is polled. | ||
- reg-size - The size of the register. Defaults to 1 | ||
- reg-spacing - The number of bytes between register starts. Defaults to 1 | ||
- reg-shift - The amount to shift the registers to the right to get the data | ||
into bit zero. | ||
|
||
Example: | ||
|
||
smic@fff3a000 { | ||
compatible = "ipmi-smic"; | ||
device_type = "ipmi"; | ||
reg = <0xfff3a000 0x1000>; | ||
interrupts = <0 24 4>; | ||
reg-size = <4>; | ||
reg-spacing = <4>; | ||
}; |