xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-synquacer.txt (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
1Socionext SynQuacer I2C
2
3Required properties:
4- compatible      : Must be "socionext,synquacer-i2c"
5- reg             : Offset and length of the register set for the device
6- interrupts      : A single interrupt specifier
7- #address-cells  : Must be <1>;
8- #size-cells     : Must be <0>;
9- clock-names     : Must contain "pclk".
10- clocks          : Must contain an entry for each name in clock-names.
11                    (See the common clock bindings.)
12
13Optional properties:
14- clock-frequency : Desired I2C bus clock frequency in Hz. As only Normal and
15                    Fast modes are supported, possible values are 100000 and
16                    400000.
17
18Example :
19
20    i2c@51210000 {
21        compatible = "socionext,synquacer-i2c";
22        reg = <0x51210000 0x1000>;
23        interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
24        #address-cells = <1>;
25        #size-cells = <0>;
26        clock-names = "pclk";
27        clocks = <&clk_i2c>;
28        clock-frequency = <400000>;
29    };
30