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)
25 lines
546 B
Plaintext
25 lines
546 B
Plaintext
Synopsys DesignWare SPI master
|
|
|
|
Required properties:
|
|
- compatible: should be "snps,designware-spi"
|
|
- #address-cells: see spi-bus.txt
|
|
- #size-cells: see spi-bus.txt
|
|
- reg: address and length of the spi master registers
|
|
- interrupts: should contain one interrupt
|
|
- clocks: spi clock phandle
|
|
- num-cs: see spi-bus.txt
|
|
|
|
Optional properties:
|
|
- cs-gpios: see spi-bus.txt
|
|
|
|
Example:
|
|
|
|
spi: spi@4020a000 {
|
|
compatible = "snps,designware-spi";
|
|
interrupts = <11 1>;
|
|
reg = <0x4020a000 0x1000>;
|
|
clocks = <&pclk>;
|
|
num-cs = <2>;
|
|
cs-gpios = <&banka 0 0>;
|
|
};
|