mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
af71100c7a
Add of_match_table and DT style i2c registration to designware i2c driver. Refactored for pci/plat split by Dirk Brandewie. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
23 lines
493 B
Plaintext
23 lines
493 B
Plaintext
* Synopsys DesignWare I2C
|
|
|
|
Required properties :
|
|
|
|
- compatible : should be "snps,designware-i2c"
|
|
- reg : Offset and length of the register set for the device
|
|
- interrupts : <IRQ> where IRQ is the interrupt number.
|
|
|
|
Recommended properties :
|
|
|
|
- clock-frequency : desired I2C bus clock frequency in Hz.
|
|
|
|
Example :
|
|
|
|
i2c@f0000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "snps,designware-i2c";
|
|
reg = <0xf0000 0x1000>;
|
|
interrupts = <11>;
|
|
clock-frequency = <400000>;
|
|
};
|