xref: /openbmc/u-boot/doc/device-tree-bindings/i2c/nvidia,tegra186-bpmp-i2c.txt (revision 7edb17670cdca0ee5de8b8eb61753ad6b7fc33e6)
1*6e7a11e6SStephen WarrenNVIDIA Tegra186 BPMP I2C controller
2*6e7a11e6SStephen Warren
3*6e7a11e6SStephen WarrenIn Tegra186, the BPMP (Boot and Power Management Processor) owns certain HW
4*6e7a11e6SStephen Warrendevices, such as the I2C controller for the power management I2C bus. Software
5*6e7a11e6SStephen Warrenrunning on other CPUs must perform IPC to the BPMP in order to execute
6*6e7a11e6SStephen Warrentransactions on that I2C bus. This binding describes an I2C bus that is
7*6e7a11e6SStephen Warrenaccessed in such a fashion.
8*6e7a11e6SStephen Warren
9*6e7a11e6SStephen WarrenThe BPMP I2C node must be located directly inside the main BPMP node. See
10*6e7a11e6SStephen Warren../firmware/nvidia,tegra186-bpmp.txt for details of the BPMP binding.
11*6e7a11e6SStephen Warren
12*6e7a11e6SStephen WarrenThis node represents an I2C controller. See ../i2c/i2c.txt for details of the
13*6e7a11e6SStephen Warrencore I2C binding.
14*6e7a11e6SStephen Warren
15*6e7a11e6SStephen WarrenRequired properties:
16*6e7a11e6SStephen Warren- compatible:
17*6e7a11e6SStephen Warren    Array of strings.
18*6e7a11e6SStephen Warren    One of:
19*6e7a11e6SStephen Warren    - "nvidia,tegra186-bpmp-i2c".
20*6e7a11e6SStephen Warren- #address-cells: Address cells for I2C device address.
21*6e7a11e6SStephen Warren    Single-cell integer.
22*6e7a11e6SStephen Warren    Must be <1>.
23*6e7a11e6SStephen Warren- #size-cells:
24*6e7a11e6SStephen Warren    Single-cell integer.
25*6e7a11e6SStephen Warren    Must be <0>.
26*6e7a11e6SStephen Warren- nvidia,bpmp-bus-id:
27*6e7a11e6SStephen Warren    Single-cell integer.
28*6e7a11e6SStephen Warren    Indicates the I2C bus number this DT node represent, as defined by the
29*6e7a11e6SStephen Warren    BPMP firmware.
30*6e7a11e6SStephen Warren
31*6e7a11e6SStephen WarrenExample:
32*6e7a11e6SStephen Warren
33*6e7a11e6SStephen Warrenbpmp {
34*6e7a11e6SStephen Warren	...
35*6e7a11e6SStephen Warren
36*6e7a11e6SStephen Warren	i2c {
37*6e7a11e6SStephen Warren		compatible = "nvidia,tegra186-bpmp-i2c";
38*6e7a11e6SStephen Warren		#address-cells = <1>;
39*6e7a11e6SStephen Warren		#size-cells = <0>;
40*6e7a11e6SStephen Warren		nvidia,bpmp-bus-id = <5>;
41*6e7a11e6SStephen Warren	};
42*6e7a11e6SStephen Warren};
43