Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Device tree configuration for the I2C Interrupt Controller on the AST24XX and |
| 2 | AST25XX SoCs. |
| 3 | |
| 4 | Required Properties: |
| 5 | - #address-cells : should be 1 |
| 6 | - #size-cells : should be 1 |
| 7 | - #interrupt-cells : should be 1 |
| 8 | - compatible : should be "aspeed,ast2400-i2c-ic" |
| 9 | or "aspeed,ast2500-i2c-ic" |
| 10 | - reg : address start and range of controller |
| 11 | - interrupts : interrupt number |
| 12 | - interrupt-controller : denotes that the controller receives and fires |
| 13 | new interrupts for child busses |
| 14 | |
| 15 | Example: |
| 16 | |
| 17 | i2c_ic: interrupt-controller@0 { |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
| 20 | #interrupt-cells = <1>; |
| 21 | compatible = "aspeed,ast2400-i2c-ic"; |
| 22 | reg = <0x0 0x40>; |
| 23 | interrupts = <12>; |
| 24 | interrupt-controller; |
| 25 | }; |