xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/renesas,iic-emev2.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDevice tree configuration for Renesas EMEV2 IIC controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible      : "renesas,iic-emev2"
5*c66ec88fSEmmanuel Vadot- reg             : address start and address range size of device
6*c66ec88fSEmmanuel Vadot- interrupts      : specifier for the IIC controller interrupt
7*c66ec88fSEmmanuel Vadot- clocks          : phandle to the IP core SCLK
8*c66ec88fSEmmanuel Vadot- clock-names     : must be "sclk"
9*c66ec88fSEmmanuel Vadot- #address-cells  : should be <1>
10*c66ec88fSEmmanuel Vadot- #size-cells     : should be <0>
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotExample:
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot	iic0: i2c@e0070000 {
15*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
16*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
17*c66ec88fSEmmanuel Vadot		compatible = "renesas,iic-emev2";
18*c66ec88fSEmmanuel Vadot		reg = <0xe0070000 0x28>;
19*c66ec88fSEmmanuel Vadot		interrupts = <0 32 IRQ_TYPE_EDGE_RISING>;
20*c66ec88fSEmmanuel Vadot		clocks = <&iic0_sclk>;
21*c66ec88fSEmmanuel Vadot		clock-names = "sclk";
22*c66ec88fSEmmanuel Vadot	};
23