Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Device-tree bindings for I2C-based On-Chip Controller hwmon device |
| 2 | ------------------------------------------------------------------ |
| 3 | |
| 4 | Required properties: |
| 5 | - compatible = "ibm,p8-occ-hwmon"; |
| 6 | - reg = <I2C address>; : I2C bus address |
| 7 | |
| 8 | Examples: |
| 9 | |
| 10 | i2c-bus@100 { |
| 11 | #address-cells = <1>; |
| 12 | #size-cells = <0>; |
| 13 | clock-frequency = <100000>; |
| 14 | < more properties > |
| 15 | |
| 16 | occ-hwmon@1 { |
| 17 | compatible = "ibm,p8-occ-hwmon"; |
| 18 | reg = <0x50>; |
| 19 | }; |
| 20 | |
| 21 | occ-hwmon@2 { |
| 22 | compatible = "ibm,p8-occ-hwmon"; |
| 23 | reg = <0x51>; |
| 24 | }; |
| 25 | }; |