Skip to content

Commit 5344cbf

Browse files
Mani-SadhasivamWolfram Sang
authored and
Wolfram Sang
committed
dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller
Add devicetree binding for Actions Semiconductor Owl I2C controller Signed-off-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 37692de commit 5344cbf

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Actions Semiconductor Owl I2C controller
2+
3+
Required properties:
4+
5+
- compatible : Should be "actions,s900-i2c".
6+
- reg : Offset and length of the register set for the device.
7+
- #address-cells : Should be 1.
8+
- #size-cells : Should be 0.
9+
- interrupts : A single interrupt specifier.
10+
- clocks : Phandle of the clock feeding the I2C controller.
11+
12+
Optional properties:
13+
14+
- clock-frequency : Desired I2C bus clock frequency in Hz. As only Normal and
15+
Fast modes are supported, possible values are 100000 and
16+
400000.
17+
Examples:
18+
19+
i2c0: i2c@e0170000 {
20+
compatible = "actions,s900-i2c";
21+
reg = <0 0xe0170000 0 0x1000>;
22+
#address-cells = <1>;
23+
#size-cells = <0>;
24+
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
25+
clocks = <&clock CLK_I2C0>;
26+
clock-frequency = <100000>;
27+
};

0 commit comments

Comments
 (0)