mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
i2c: Describe Cadence I2C devicetree bindings
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
ff9bd8e9ca
commit
17573c2791
1 changed files with 20 additions and 0 deletions
20
doc/device-tree-bindings/i2c/i2c-cdns.txt
Normal file
20
doc/device-tree-bindings/i2c/i2c-cdns.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
Cadence I2C controller Device Tree Bindings
|
||||
-------------------------------------------
|
||||
|
||||
Required properties:
|
||||
- compatible : Should be "cdns,i2c-r1p10" or "xlnx,zynq-spi-r1p10".
|
||||
- reg : Physical base address and size of I2C registers map.
|
||||
- interrupts : Property with a value describing the interrupt
|
||||
number.
|
||||
- interrupt-parent : Must be core interrupt controller
|
||||
- clocks : Clock phandles (see clock bindings for details).
|
||||
|
||||
Example:
|
||||
i2c0: i2c@e0004000 {
|
||||
compatible = "cdns,i2c-r1p10";
|
||||
reg = <0xe0004000 0x1000>;
|
||||
clocks = <&clkc 38>;
|
||||
interrupts = <0 25 4>;
|
||||
interrupt-parent = <&intc>;
|
||||
status = "disabled";
|
||||
};
|
Loading…
Reference in a new issue