Corey Minyard | 92e8472 | 2015-09-03 14:58:55 -0500 | [diff] [blame] | 1 | IPMI device |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: should be one of ipmi-kcs, ipmi-smic, or ipmi-bt |
| 5 | - device_type: should be ipmi |
| 6 | - reg: Address and length of the register set for the device |
| 7 | |
| 8 | Optional properties: |
| 9 | - interrupts: The interrupt for the device. Without this the interface |
| 10 | is polled. |
| 11 | - reg-size - The size of the register. Defaults to 1 |
| 12 | - reg-spacing - The number of bytes between register starts. Defaults to 1 |
| 13 | - reg-shift - The amount to shift the registers to the right to get the data |
| 14 | into bit zero. |
| 15 | |
| 16 | Example: |
| 17 | |
| 18 | smic@fff3a000 { |
| 19 | compatible = "ipmi-smic"; |
| 20 | device_type = "ipmi"; |
| 21 | reg = <0xfff3a000 0x1000>; |
| 22 | interrupts = <0 24 4>; |
| 23 | reg-size = <4>; |
| 24 | reg-spacing = <4>; |
| 25 | }; |