Path: blob/main/sys/contrib/device-tree/Bindings/i2c/brcm,iproc-i2c.txt
48375 views
Broadcom iProc I2C controller12Required properties:34- compatible:5Must be "brcm,iproc-i2c" or "brcm,iproc-nic-i2c"67- reg:8Define the base and range of the I/O address space that contain the iProc9I2C controller registers1011- clock-frequency:12This is the I2C bus clock. Need to be either 100000 or 4000001314- #address-cells:15Always 1 (for I2C addresses)1617- #size-cells:18Always 01920Optional properties:2122- interrupts:23Should contain the I2C interrupt. For certain revisions of the I2C24controller, I2C interrupt is unwired to the interrupt controller. In such25case, this property should be left unspecified, and driver will fall back26to polling mode2728- brcm,ape-hsls-addr-mask:29Required for "brcm,iproc-nic-i2c". Host view of address mask into the30'APE' co-processor. Value must be unsigned, 32-bit3132Example:33i2c0: i2c@18008000 {34compatible = "brcm,iproc-i2c";35reg = <0x18008000 0x100>;36#address-cells = <1>;37#size-cells = <0>;38interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>;39clock-frequency = <100000>;4041codec: wm8750@1a {42compatible = "wlf,wm8750";43reg = <0x1a>;44};45};464748