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)
32 lines
788 B
Plaintext
32 lines
788 B
Plaintext
* SPEAr SMI
|
|
|
|
Required properties:
|
|
- compatible : "st,spear600-smi"
|
|
- reg : Address range of the mtd chip
|
|
- #address-cells, #size-cells : Must be present if the device has sub-nodes
|
|
representing partitions.
|
|
- interrupt-parent: Should be the phandle for the interrupt controller
|
|
that services interrupts for this device
|
|
- interrupts: Should contain the STMMAC interrupts
|
|
- clock-rate : Functional clock rate of SMI in Hz
|
|
|
|
Optional properties:
|
|
- st,smi-fast-mode : Flash supports read in fast mode
|
|
|
|
Example:
|
|
|
|
smi: flash@fc000000 {
|
|
compatible = "st,spear600-smi";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0xfc000000 0x1000>;
|
|
interrupt-parent = <&vic1>;
|
|
interrupts = <12>;
|
|
clock-rate = <50000000>; /* 50MHz */
|
|
|
|
flash@f8000000 {
|
|
st,smi-fast-mode;
|
|
...
|
|
};
|
|
};
|