xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/brcm,kona-i2c.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom Kona Family I2C
2*c66ec88fSEmmanuel Vadot=========================
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThis I2C controller is used in the following Broadcom SoCs:
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel Vadot  BCM11130
7*c66ec88fSEmmanuel Vadot  BCM11140
8*c66ec88fSEmmanuel Vadot  BCM11351
9*c66ec88fSEmmanuel Vadot  BCM28145
10*c66ec88fSEmmanuel Vadot  BCM28155
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotRequired Properties
13*c66ec88fSEmmanuel Vadot-------------------
14*c66ec88fSEmmanuel Vadot- compatible: "brcm,bcm11351-i2c", "brcm,kona-i2c"
15*c66ec88fSEmmanuel Vadot- reg: Physical base address and length of controller registers
16*c66ec88fSEmmanuel Vadot- interrupts: The interrupt number used by the controller
17*c66ec88fSEmmanuel Vadot- clocks: clock specifier for the kona i2c external clock
18*c66ec88fSEmmanuel Vadot- clock-frequency: The I2C bus frequency in Hz
19*c66ec88fSEmmanuel Vadot- #address-cells: Should be <1>
20*c66ec88fSEmmanuel Vadot- #size-cells: Should be <0>
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel VadotRefer to clocks/clock-bindings.txt for generic clock consumer
23*c66ec88fSEmmanuel Vadotproperties.
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel VadotExample:
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadoti2c@3e016000 {
28*c66ec88fSEmmanuel Vadot	compatible = "brcm,bcm11351-i2c","brcm,kona-i2c";
29*c66ec88fSEmmanuel Vadot	reg = <0x3e016000 0x80>;
30*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
31*c66ec88fSEmmanuel Vadot	clocks = <&bsc1_clk>;
32*c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
33*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
34*c66ec88fSEmmanuel Vadot	#size-cells = <0>;
35*c66ec88fSEmmanuel Vadot};
36