| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | Amlogic Meson I2C controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: must be: |
| 5 | "amlogic,meson6-i2c" for Meson8 and compatible SoCs |
| 6 | "amlogic,meson-gxbb-i2c" for GXBB and compatible SoCs |
| 7 | "amlogic,meson-axg-i2c"for AXG and compatible SoCs |
| 8 | |
| 9 | - reg: physical address and length of the device registers |
| 10 | - interrupts: a single interrupt specifier |
| 11 | - clocks: clock for the device |
| 12 | - #address-cells: should be <1> |
| 13 | - #size-cells: should be <0> |
| 14 | |
| 15 | For details regarding the following core I2C bindings see also i2c.txt. |
| 16 | |
| 17 | Optional properties: |
| 18 | - clock-frequency: the desired I2C bus clock frequency in Hz; in |
| 19 | absence of this property the default value is used (100 kHz). |
| 20 | |
| 21 | Examples: |
| 22 | |
| 23 | i2c@c8100500 { |
| 24 | compatible = "amlogic,meson6-i2c"; |
| 25 | reg = <0xc8100500 0x20>; |
| 26 | interrupts = <0 92 1>; |
| 27 | clocks = <&clk81>; |
| 28 | #address-cells = <1>; |
| 29 | #size-cells = <0>; |
| 30 | }; |