Skip to content

Commit

Permalink
dt-bindings: i2c: i2c-mt7621: Add bindings for MediaTek MT7621/28/88 I2C
Browse files Browse the repository at this point in the history
Add bindings for the I2C controller that can be found in the MediaTek
MT7621/7628/7688 SoCs.

Signed-off-by: Stefan Roese <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
stroese authored and Wolfram Sang committed Jun 26, 2019
1 parent a8023e6 commit 71731e1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Documentation/devicetree/bindings/i2c/i2c-mt7621.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
MediaTek MT7621/MT7628 I2C master controller

Required properties:

- compatible: Should be one of the following:
- "mediatek,mt7621-i2c": for MT7621/MT7628/MT7688 platforms
- #address-cells: should be 1.
- #size-cells: should be 0.
- reg: Address and length of the register set for the device
- resets: phandle to the reset controller asserting this device in
reset
See ../reset/reset.txt for details.

Optional properties :

Example:

i2c: i2c@900 {
compatible = "mediatek,mt7621-i2c";
reg = <0x900 0x100>;
#address-cells = <1>;
#size-cells = <0>;
resets = <&rstctrl 16>;
reset-names = "i2c";
};

0 comments on commit 71731e1

Please sign in to comment.