xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-owl.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotActions Semiconductor Owl I2C controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible        : Should be one of the following:
6*c66ec88fSEmmanuel Vadot		      - "actions,s700-i2c" for S700 SoC
7*c66ec88fSEmmanuel Vadot		      - "actions,s900-i2c" for S900 SoC
8*c66ec88fSEmmanuel Vadot- reg               : Offset and length of the register set for the device.
9*c66ec88fSEmmanuel Vadot- #address-cells    : Should be 1.
10*c66ec88fSEmmanuel Vadot- #size-cells       : Should be 0.
11*c66ec88fSEmmanuel Vadot- interrupts        : A single interrupt specifier.
12*c66ec88fSEmmanuel Vadot- clocks            : Phandle of the clock feeding the I2C controller.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotOptional properties:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot- clock-frequency   : Desired I2C bus clock frequency in Hz. As only Normal and
17*c66ec88fSEmmanuel Vadot                      Fast modes are supported, possible values are 100000 and
18*c66ec88fSEmmanuel Vadot                      400000.
19*c66ec88fSEmmanuel VadotExamples:
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot        i2c0: i2c@e0170000 {
22*c66ec88fSEmmanuel Vadot                compatible = "actions,s900-i2c";
23*c66ec88fSEmmanuel Vadot                reg = <0 0xe0170000 0 0x1000>;
24*c66ec88fSEmmanuel Vadot                #address-cells = <1>;
25*c66ec88fSEmmanuel Vadot                #size-cells = <0>;
26*c66ec88fSEmmanuel Vadot                interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
27*c66ec88fSEmmanuel Vadot                clocks = <&clock CLK_I2C0>;
28*c66ec88fSEmmanuel Vadot                clock-frequency = <100000>;
29*c66ec88fSEmmanuel Vadot        };
30