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)
23 lines
640 B
Plaintext
23 lines
640 B
Plaintext
Device tree configuration for Renesas EMEV2 IIC controller
|
|
|
|
Required properties:
|
|
- compatible : "renesas,iic-emev2"
|
|
- reg : address start and address range size of device
|
|
- interrupts : specifier for the IIC controller interrupt
|
|
- clocks : phandle to the IP core SCLK
|
|
- clock-names : must be "sclk"
|
|
- #address-cells : should be <1>
|
|
- #size-cells : should be <0>
|
|
|
|
Example:
|
|
|
|
iic0: i2c@e0070000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "renesas,iic-emev2";
|
|
reg = <0xe0070000 0x28>;
|
|
interrupts = <0 32 IRQ_TYPE_EDGE_RISING>;
|
|
clocks = <&iic0_sclk>;
|
|
clock-names = "sclk";
|
|
};
|