xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/brcm,bcm2835-i2c.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom BCM2835 I2C controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible : Should be one of:
5*c66ec88fSEmmanuel Vadot	"brcm,bcm2711-i2c"
6*c66ec88fSEmmanuel Vadot	"brcm,bcm2835-i2c"
7*c66ec88fSEmmanuel Vadot- reg: Should contain register location and length.
8*c66ec88fSEmmanuel Vadot- interrupts: Should contain interrupt.
9*c66ec88fSEmmanuel Vadot- clocks : The clock feeding the I2C controller.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotRecommended properties:
12*c66ec88fSEmmanuel Vadot- clock-frequency : desired I2C bus clock frequency in Hz.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadoti2c@7e205000 {
17*c66ec88fSEmmanuel Vadot	compatible = "brcm,bcm2835-i2c";
18*c66ec88fSEmmanuel Vadot	reg = <0x7e205000 0x1000>;
19*c66ec88fSEmmanuel Vadot	interrupts = <2 21>;
20*c66ec88fSEmmanuel Vadot	clocks = <&clk_i2c>;
21*c66ec88fSEmmanuel Vadot	clock-frequency = <100000>;
22*c66ec88fSEmmanuel Vadot};
23