mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 09:46:46 +07:00
6a62974b66
Add support for on-chip I2C controller used on newer UniPhier SoCs such as PH1-Pro4, PH1-Pro5, etc. This adapter is equipped with 8-depth TX/RX FIFOs. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
26 lines
698 B
Plaintext
26 lines
698 B
Plaintext
UniPhier I2C controller (FIFO-builtin)
|
|
|
|
Required properties:
|
|
- compatible: should be "socionext,uniphier-fi2c".
|
|
- #address-cells: should be 1.
|
|
- #size-cells: should be 0.
|
|
- reg: offset and length of the register set for the device.
|
|
- interrupts: a single interrupt specifier.
|
|
- clocks: phandle to the input clock.
|
|
|
|
Optional properties:
|
|
- clock-frequency: desired I2C bus frequency in Hz. The maximum supported
|
|
value is 400000. Defaults to 100000 if not specified.
|
|
|
|
Examples:
|
|
|
|
i2c0: i2c@58780000 {
|
|
compatible = "socionext,uniphier-fi2c";
|
|
reg = <0x58780000 0x80>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
interrupts = <0 41 4>;
|
|
clocks = <&i2c_clk>;
|
|
clock-frequency = <100000>;
|
|
};
|