xref: /src/sys/contrib/device-tree/Bindings/i2c/i2c-mt7621.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
101e5ca17SEmmanuel VadotMediaTek MT7621/MT7628 I2C master controller
201e5ca17SEmmanuel Vadot
301e5ca17SEmmanuel VadotRequired properties:
401e5ca17SEmmanuel Vadot
501e5ca17SEmmanuel Vadot- compatible: Should be one of the following:
601e5ca17SEmmanuel Vadot  - "mediatek,mt7621-i2c": for MT7621/MT7628/MT7688 platforms
701e5ca17SEmmanuel Vadot- #address-cells: should be 1.
801e5ca17SEmmanuel Vadot- #size-cells: should be 0.
901e5ca17SEmmanuel Vadot- reg: Address and length of the register set for the device
1001e5ca17SEmmanuel Vadot- resets: phandle to the reset controller asserting this device in
1101e5ca17SEmmanuel Vadot          reset
1201e5ca17SEmmanuel Vadot  See ../reset/reset.txt for details.
1301e5ca17SEmmanuel Vadot
1401e5ca17SEmmanuel VadotOptional properties :
1501e5ca17SEmmanuel Vadot
1601e5ca17SEmmanuel VadotExample:
1701e5ca17SEmmanuel Vadot
1801e5ca17SEmmanuel Vadoti2c: i2c@900 {
1901e5ca17SEmmanuel Vadot	compatible = "mediatek,mt7621-i2c";
2001e5ca17SEmmanuel Vadot	reg = <0x900 0x100>;
2101e5ca17SEmmanuel Vadot	#address-cells = <1>;
2201e5ca17SEmmanuel Vadot	#size-cells = <0>;
2301e5ca17SEmmanuel Vadot	resets = <&rstctrl 16>;
2401e5ca17SEmmanuel Vadot	reset-names = "i2c";
2501e5ca17SEmmanuel Vadot};
26