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)
21 lines
488 B
Plaintext
21 lines
488 B
Plaintext
Broadcom BCM2835 I2C controller
|
|
|
|
Required properties:
|
|
- compatible : Should be "brcm,bcm2835-i2c".
|
|
- reg: Should contain register location and length.
|
|
- interrupts: Should contain interrupt.
|
|
- clocks : The clock feeding the I2C controller.
|
|
|
|
Recommended properties:
|
|
- clock-frequency : desired I2C bus clock frequency in Hz.
|
|
|
|
Example:
|
|
|
|
i2c@20205000 {
|
|
compatible = "brcm,bcm2835-i2c";
|
|
reg = <0x7e205000 0x1000>;
|
|
interrupts = <2 21>;
|
|
clocks = <&clk_i2c>;
|
|
clock-frequency = <100000>;
|
|
};
|