xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-mt7621.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotMediaTek MT7621/MT7628 I2C master controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible: Should be one of the following:
6*c66ec88fSEmmanuel Vadot  - "mediatek,mt7621-i2c": for MT7621/MT7628/MT7688 platforms
7*c66ec88fSEmmanuel Vadot- #address-cells: should be 1.
8*c66ec88fSEmmanuel Vadot- #size-cells: should be 0.
9*c66ec88fSEmmanuel Vadot- reg: Address and length of the register set for the device
10*c66ec88fSEmmanuel Vadot- resets: phandle to the reset controller asserting this device in
11*c66ec88fSEmmanuel Vadot          reset
12*c66ec88fSEmmanuel Vadot  See ../reset/reset.txt for details.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotOptional properties :
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadoti2c: i2c@900 {
19*c66ec88fSEmmanuel Vadot	compatible = "mediatek,mt7621-i2c";
20*c66ec88fSEmmanuel Vadot	reg = <0x900 0x100>;
21*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
22*c66ec88fSEmmanuel Vadot	#size-cells = <0>;
23*c66ec88fSEmmanuel Vadot	resets = <&rstctrl 16>;
24*c66ec88fSEmmanuel Vadot	reset-names = "i2c";
25*c66ec88fSEmmanuel Vadot};
26