Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/i2c/i2c-hix5hd2.txt
26307 views
1
I2C for Hisilicon hix5hd2 chipset platform
2
3
Required properties:
4
- compatible: Must be "hisilicon,hix5hd2-i2c"
5
- reg: physical base address of the controller and length of memory mapped
6
region.
7
- interrupts: interrupt number to the cpu.
8
- #address-cells = <1>;
9
- #size-cells = <0>;
10
- clocks: phandles to input clocks.
11
12
Optional properties:
13
- clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000
14
- Child nodes conforming to i2c bus binding
15
16
Examples:
17
I2C0@f8b10000 {
18
compatible = "hisilicon,hix5hd2-i2c";
19
reg = <0xf8b10000 0x1000>;
20
interrupts = <0 38 4>;
21
clocks = <&clock HIX5HD2_I2C0_RST>;
22
#address-cells = <1>;
23
#size-cells = <0>;
24
}
25
26