xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-img-scb.txt (revision 02e9120893770924227138ba49df1edb3896112a)
1IMG Serial Control Bus (SCB) I2C Controller
2
3Required Properties:
4- compatible: "img,scb-i2c"
5- reg: Physical base address and length of controller registers
6- interrupts: Interrupt number used by the controller
7- clocks : Should contain a clock specifier for each entry in clock-names
8- clock-names : Should contain the following entries:
9                "scb", for the SCB core clock.
10                "sys", for the system clock.
11- clock-frequency: The I2C bus frequency in Hz
12- #address-cells: Should be <1>
13- #size-cells: Should be <0>
14
15Example:
16
17i2c@18100000 {
18	compatible = "img,scb-i2c";
19	reg = <0x18100000 0x200>;
20	interrupts = <GIC_SHARED 2 IRQ_TYPE_LEVEL_HIGH>;
21	clocks = <&i2c0_clk>, <&system_clk>;
22	clock-names = "scb", "sys";
23	clock-frequency = <400000>;
24	#address-cells = <1>;
25	#size-cells = <0>;
26};
27