mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 03:55:09 +08:00
15ef27756b
I2C drivers for hix5hd2 soc series, including following chipset Hi3716CV200, Hi3719CV100, Hi3718CV100, Hi3719MV100, Hi3718MV100. Signed-off-by: Wei Yan <sledge.yanwei@huawei.com> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> [wsa: folded dt docs into this patch] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
25 lines
670 B
Plaintext
25 lines
670 B
Plaintext
I2C for Hisilicon hix5hd2 chipset platform
|
|
|
|
Required properties:
|
|
- compatible: Must be "hisilicon,hix5hd2-i2c"
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
region.
|
|
- interrupts: interrupt number to the cpu.
|
|
- #address-cells = <1>;
|
|
- #size-cells = <0>;
|
|
- clocks: phandles to input clocks.
|
|
|
|
Optional properties:
|
|
- clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000
|
|
- Child nodes conforming to i2c bus binding
|
|
|
|
Examples:
|
|
I2C0@f8b10000 {
|
|
compatible = "hisilicon,hix5hd2-i2c";
|
|
reg = <0xf8b10000 0x1000>;
|
|
interrupts = <0 38 4>;
|
|
clocks = <&clock HIX5HD2_I2C0_RST>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
}
|