mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-29 22:43:10 +00:00
8511a7fc85
Add description for fifo-depth parameter that can be used in the device tree. Signed-off-by: Pei Yue Ho <peiyue.ho@starfivetech.com> Reviewed-by: Wei Liang Lim <weiliang.lim@starfivetech.com> Reviewed-by: Eng Lee Teh <englee.teh@starfivetech.com> Reviewed-by: Heiko Schocher <hs@denx.de>
24 lines
737 B
Text
24 lines
737 B
Text
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).
|
|
|
|
Optional properties:
|
|
- fifo-depth : To specify the FIFO depth of the controller.
|
|
|
|
Example:
|
|
i2c0: i2c@e0004000 {
|
|
compatible = "cdns,i2c-r1p10";
|
|
reg = <0xe0004000 0x1000>;
|
|
clocks = <&clkc 38>;
|
|
interrupts = <0 25 4>;
|
|
interrupt-parent = <&intc>;
|
|
fifo-depth = <32>;
|
|
status = "disabled";
|
|
};
|