summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt
blob: 1b87b741fa8e49319330992906a46806c35a792a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Broadcom Kona Family I2C
=========================

This I2C controller is used in the following Broadcom SoCs:

  BCM11130
  BCM11140
  BCM11351
  BCM28145
  BCM28155

Required Properties
-------------------
- compatible: "brcm,bcm11351-i2c", "brcm,kona-i2c"
- reg: Physical base address and length of controller registers
- interrupts: The interrupt number used by the controller
- clocks: clock specifier for the kona i2c external clock
- clock-frequency: The I2C bus frequency in Hz
- #address-cells: Should be <1>
- #size-cells: Should be <0>

Refer to clocks/clock-bindings.txt for generic clock consumer
properties.

Example:

i2c@3e016000 {
	compatible = "brcm,bcm11351-i2c","brcm,kona-i2c";
	reg = <0x3e016000 0x80>;
	interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
	clocks = <&bsc1_clk>;
	clock-frequency = <400000>;
	#address-cells = <1>;
	#size-cells = <0>;
};
as per bit mask specified. Only supported for remote temperatures (bit 1..7). If not specified, resistance cancellation will be disabled for all channels. - transistor-ideality For MAX6581 only. Two values; first is bit mask, second is ideality select value as per MAX6581 data sheet. Select bit 1..7 for remote channels. Transistor ideality will be initialized to default (1.008) if not specified. Example: temp-sensor@1a { compatible = "maxim,max6697"; reg = <0x1a>; smbus-timeout-disable; resistance-cancellation; alert-mask = <0x72>; over-temperature-mask = <0x7f>; };