Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * NXP PNX I2C Controller |
| 2 | |
| 3 | Required properties: |
| 4 | |
| 5 | - reg: Offset and length of the register set for the device |
| 6 | - compatible: should be "nxp,pnx-i2c" |
| 7 | - interrupts: configure one interrupt line |
| 8 | - #address-cells: always 1 (for i2c addresses) |
| 9 | - #size-cells: always 0 |
| 10 | |
| 11 | Optional properties: |
| 12 | |
| 13 | - clock-frequency: desired I2C bus clock frequency in Hz, Default: 100000 Hz |
| 14 | |
| 15 | Examples: |
| 16 | |
| 17 | i2c1: i2c@400a0000 { |
| 18 | compatible = "nxp,pnx-i2c"; |
| 19 | reg = <0x400a0000 0x100>; |
| 20 | interrupt-parent = <&mic>; |
| 21 | interrupts = <51 0>; |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | }; |
| 25 | |
| 26 | i2c2: i2c@400a8000 { |
| 27 | compatible = "nxp,pnx-i2c"; |
| 28 | reg = <0x400a8000 0x100>; |
| 29 | interrupt-parent = <&mic>; |
| 30 | interrupts = <50 0>; |
| 31 | #address-cells = <1>; |
| 32 | #size-cells = <0>; |
| 33 | clock-frequency = <100000>; |
| 34 | }; |