Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/i2c/brcm,bcm2835-i2c.txt
48375 views
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@7e205000 {
17
compatible = "brcm,bcm2835-i2c";
18
reg = <0x7e205000 0x1000>;
19
interrupts = <2 21>;
20
clocks = <&clk_i2c>;
21
clock-frequency = <100000>;
22
};
23
24