Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 lines
855 B
Plaintext
31 lines
855 B
Plaintext
LSI Axxia I2C
|
|
|
|
Required properties :
|
|
- compatible : Must be "lsi,api2c"
|
|
- reg : Offset and length of the register set for the device
|
|
- interrupts : the interrupt specifier
|
|
- #address-cells : Must be <1>;
|
|
- #size-cells : Must be <0>;
|
|
- clock-names : Must contain "i2c".
|
|
- clocks: Must contain an entry for each name in clock-names. See the common
|
|
clock bindings.
|
|
|
|
Optional properties :
|
|
- clock-frequency : Desired I2C bus clock frequency in Hz. If not specified,
|
|
the default 100 kHz frequency will be used. As only Normal and Fast modes
|
|
are supported, possible values are 100000 and 400000.
|
|
|
|
Example :
|
|
|
|
i2c@2010084000 {
|
|
compatible = "lsi,api2c";
|
|
device_type = "i2c";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0x20 0x10084000 0x00 0x1000>;
|
|
interrupts = <0 19 4>;
|
|
clocks = <&clk_per>;
|
|
clock-names = "i2c";
|
|
clock-frequency = <400000>;
|
|
};
|