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