xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/nvidia,tegra186-bpmp-i2c.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunNVIDIA Tegra186 BPMP I2C controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunIn Tegra186, the BPMP (Boot and Power Management Processor) owns certain HW
4*4882a593Smuzhiyundevices, such as the I2C controller for the power management I2C bus. Software
5*4882a593Smuzhiyunrunning on other CPUs must perform IPC to the BPMP in order to execute
6*4882a593Smuzhiyuntransactions on that I2C bus. This binding describes an I2C bus that is
7*4882a593Smuzhiyunaccessed in such a fashion.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunThe BPMP I2C node must be located directly inside the main BPMP node. See
10*4882a593Smuzhiyun../firmware/nvidia,tegra186-bpmp.txt for details of the BPMP binding.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunThis node represents an I2C controller. See ../i2c/i2c.txt for details of the
13*4882a593Smuzhiyuncore I2C binding.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunRequired properties:
16*4882a593Smuzhiyun- compatible:
17*4882a593Smuzhiyun    Array of strings.
18*4882a593Smuzhiyun    One of:
19*4882a593Smuzhiyun    - "nvidia,tegra186-bpmp-i2c".
20*4882a593Smuzhiyun- #address-cells: Address cells for I2C device address.
21*4882a593Smuzhiyun    Single-cell integer.
22*4882a593Smuzhiyun    Must be <1>.
23*4882a593Smuzhiyun- #size-cells:
24*4882a593Smuzhiyun    Single-cell integer.
25*4882a593Smuzhiyun    Must be <0>.
26*4882a593Smuzhiyun- nvidia,bpmp-bus-id:
27*4882a593Smuzhiyun    Single-cell integer.
28*4882a593Smuzhiyun    Indicates the I2C bus number this DT node represent, as defined by the
29*4882a593Smuzhiyun    BPMP firmware.
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunExample:
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunbpmp {
34*4882a593Smuzhiyun	...
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	i2c {
37*4882a593Smuzhiyun		compatible = "nvidia,tegra186-bpmp-i2c";
38*4882a593Smuzhiyun		#address-cells = <1>;
39*4882a593Smuzhiyun		#size-cells = <0>;
40*4882a593Smuzhiyun		nvidia,bpmp-bus-id = <5>;
41*4882a593Smuzhiyun	};
42*4882a593Smuzhiyun};
43