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)
34 lines
763 B
Plaintext
34 lines
763 B
Plaintext
Cavium, Inc. OCTEON SOC SPI master controller.
|
|
|
|
Required properties:
|
|
- compatible : "cavium,octeon-3010-spi"
|
|
- reg : The register base for the controller.
|
|
- interrupts : One interrupt, used by the controller.
|
|
- #address-cells : <1>, as required by generic SPI binding.
|
|
- #size-cells : <0>, also as required by generic SPI binding.
|
|
|
|
Child nodes as per the generic SPI binding.
|
|
|
|
Example:
|
|
|
|
spi@1070000001000 {
|
|
compatible = "cavium,octeon-3010-spi";
|
|
reg = <0x10700 0x00001000 0x0 0x100>;
|
|
interrupts = <0 58>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
eeprom@0 {
|
|
compatible = "st,m95256", "atmel,at25";
|
|
reg = <0>;
|
|
spi-max-frequency = <5000000>;
|
|
spi-cpha;
|
|
spi-cpol;
|
|
|
|
pagesize = <64>;
|
|
size = <32768>;
|
|
address-width = <16>;
|
|
};
|
|
};
|
|
|