mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
39b2ca6853
We don't have to parse the DT manually to retrieve the bus frequency and we don't have to maintain an own default for the bus frequency. Let the i2c core do this for us. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
27 lines
733 B
Plaintext
27 lines
733 B
Plaintext
Amlogic Meson I2C controller
|
|
|
|
Required properties:
|
|
- compatible: must be "amlogic,meson6-i2c" or "amlogic,meson-gxbb-i2c"
|
|
- reg: physical address and length of the device registers
|
|
- interrupts: a single interrupt specifier
|
|
- clocks: clock for the device
|
|
- #address-cells: should be <1>
|
|
- #size-cells: should be <0>
|
|
|
|
For details regarding the following core I2C bindings see also i2c.txt.
|
|
|
|
Optional properties:
|
|
- clock-frequency: the desired I2C bus clock frequency in Hz; in
|
|
absence of this property the default value is used (100 kHz).
|
|
|
|
Examples:
|
|
|
|
i2c@c8100500 {
|
|
compatible = "amlogic,meson6-i2c";
|
|
reg = <0xc8100500 0x20>;
|
|
interrupts = <0 92 1>;
|
|
clocks = <&clk81>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|