summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c/i2c-emev2.txt
blob: 5ed1ea1c7e14a9cd0795303d2b9355fe6f262bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Device tree configuration for Renesas EMEV2 IIC controller

Required properties:
- compatible      : "renesas,iic-emev2"
- reg             : address start and address range size of device
- interrupts      : specifier for the IIC controller interrupt
- clocks          : phandle to the IP core SCLK
- clock-names     : must be "sclk"
- #address-cells  : should be <1>
- #size-cells     : should be <0>

Example:

	iic0: i2c@e0070000 {
		#address-cells = <1>;
		#size-cells = <0>;
		compatible = "renesas,iic-emev2";
		reg = <0xe0070000 0x28>;
		interrupts = <0 32 IRQ_TYPE_EDGE_RISING>;
		clocks = <&iic0_sclk>;
		clock-names = "sclk";
	};