Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Device tree configuration for Renesas EMEV2 IIC controller
2
3Required properties:
4- compatible : "renesas,iic-emev2"
5- reg : address start and address range size of device
6- interrupts : specifier for the IIC controller interrupt
7- clocks : phandle to the IP core SCLK
8- clock-names : must be "sclk"
9- #address-cells : should be <1>
10- #size-cells : should be <0>
11
12Example:
13
14 iic0: i2c@e0070000 {
15 #address-cells = <1>;
16 #size-cells = <0>;
17 compatible = "renesas,iic-emev2";
18 reg = <0xe0070000 0x28>;
19 interrupts = <0 32 IRQ_TYPE_EDGE_RISING>;
20 clocks = <&iic0_sclk>;
21 clock-names = "sclk";
22 };