xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/i2c-mt7621.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMediaTek MT7621/MT7628 I2C master controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible: Should be one of the following:
6*4882a593Smuzhiyun  - "mediatek,mt7621-i2c": for MT7621/MT7628/MT7688 platforms
7*4882a593Smuzhiyun- #address-cells: should be 1.
8*4882a593Smuzhiyun- #size-cells: should be 0.
9*4882a593Smuzhiyun- reg: Address and length of the register set for the device
10*4882a593Smuzhiyun- resets: phandle to the reset controller asserting this device in
11*4882a593Smuzhiyun          reset
12*4882a593Smuzhiyun  See ../reset/reset.txt for details.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunOptional properties :
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunExample:
17*4882a593Smuzhiyun
18*4882a593Smuzhiyuni2c: i2c@900 {
19*4882a593Smuzhiyun	compatible = "mediatek,mt7621-i2c";
20*4882a593Smuzhiyun	reg = <0x900 0x100>;
21*4882a593Smuzhiyun	#address-cells = <1>;
22*4882a593Smuzhiyun	#size-cells = <0>;
23*4882a593Smuzhiyun	resets = <&rstctrl 16>;
24*4882a593Smuzhiyun	reset-names = "i2c";
25*4882a593Smuzhiyun};
26