summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2015-09-03 14:58:55 -0500
committerCorey Minyard <cminyard@mvista.com>2015-09-03 15:00:27 -0500
commit92e847212676bb3c5f9f7e317907367dbb8c504b (patch)
tree6c9da7f8947494f0dd72e8010a5566feeaba908d /Documentation
parentdd5cdb48edfd34401799056a9acf61078d773f90 (diff)
downloadblackbird-obmc-linux-92e847212676bb3c5f9f7e317907367dbb8c504b.tar.gz
blackbird-obmc-linux-92e847212676bb3c5f9f7e317907367dbb8c504b.zip
ipmi: Add device tree bindings information
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/ipmi.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ipmi.txt b/Documentation/devicetree/bindings/ipmi.txt
new file mode 100644
index 000000000000..d5f1a877ed3e
--- /dev/null
+++ b/Documentation/devicetree/bindings/ipmi.txt
@@ -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>;
+};
OpenPOWER on IntegriCloud