Linux-libre 5.4.47-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / i2c / brcm,bcm2835-i2c.txt
1 Broadcom BCM2835 I2C controller
2
3 Required properties:
4 - compatible : Should be one of:
5         "brcm,bcm2711-i2c"
6         "brcm,bcm2835-i2c"
7 - reg: Should contain register location and length.
8 - interrupts: Should contain interrupt.
9 - clocks : The clock feeding the I2C controller.
10
11 Recommended properties:
12 - clock-frequency : desired I2C bus clock frequency in Hz.
13
14 Example:
15
16 i2c@20205000 {
17         compatible = "brcm,bcm2835-i2c";
18         reg = <0x7e205000 0x1000>;
19         interrupts = <2 21>;
20         clocks = <&clk_i2c>;
21         clock-frequency = <100000>;
22 };