mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
16c4c52435
Filenames of devictree binding documentation seems to be arbitrary and for me it is unneeded hazzle to find the corresponding documentation for a specific driver. Naming the description the same as the driver is a lot easier and makes sense to me since the driver defines the binding it understands. Also, remove a reference in one source to the binding documentation, since path information easily gets stale. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de> Cc: Rob Herring <robherring2@gmail.com> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
35 lines
757 B
Plaintext
35 lines
757 B
Plaintext
* Two Wire Serial Interface (TWSI) / I2C
|
|
|
|
- compatible: "cavium,octeon-3860-twsi"
|
|
|
|
Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs.
|
|
|
|
- reg: The base address of the TWSI/I2C bus controller register bank.
|
|
|
|
- #address-cells: Must be <1>.
|
|
|
|
- #size-cells: Must be <0>. I2C addresses have no size component.
|
|
|
|
- interrupts: A single interrupt specifier.
|
|
|
|
- clock-frequency: The I2C bus clock rate in Hz.
|
|
|
|
Example:
|
|
twsi0: i2c@1180000001000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "cavium,octeon-3860-twsi";
|
|
reg = <0x11800 0x00001000 0x0 0x200>;
|
|
interrupts = <0 45>;
|
|
clock-frequency = <100000>;
|
|
|
|
rtc@68 {
|
|
compatible = "dallas,ds1337";
|
|
reg = <0x68>;
|
|
};
|
|
tmp@4c {
|
|
compatible = "ti,tmp421";
|
|
reg = <0x4c>;
|
|
};
|
|
};
|