Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
41 lines
839 B
Plaintext
41 lines
839 B
Plaintext
* Two Wire Serial Interface (TWSI) / I2C
|
|
|
|
- compatible: "cavium,octeon-3860-twsi"
|
|
|
|
Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs.
|
|
|
|
or
|
|
|
|
compatible: "cavium,octeon-7890-twsi"
|
|
|
|
Compatibility with cn78XX 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>;
|
|
};
|
|
};
|