brintos

brintos / linux-shallow public Read only

0
0
Text · 814 B · b646160 Raw
27 lines · plain
1IMG Serial Control Bus (SCB) I2C Controller2 3Required Properties:4- compatible: "img,scb-i2c"5- reg: Physical base address and length of controller registers6- interrupts: Interrupt number used by the controller7- clocks : Should contain a clock specifier for each entry in clock-names8- 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 Hz12- #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