Documentation/devicetree/bindings/spi/spi-ath79.txt

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/spi/spi-ath79.txt

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/spi/spi-ath79.txt
Extension
.txt
Size
649 bytes
Lines
25
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller

Required properties:
- compatible: has to be "qca,<soc-type>-spi", "qca,ar7100-spi" as fallback.
- reg: Base address and size of the controllers memory area
- clocks: phandle of the AHB clock.
- clock-names: has to be "ahb".
- #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@1f000000 {
		compatible = "qca,ar9132-spi", "qca,ar7100-spi";
		reg = <0x1f000000 0x10>;

		clocks = <&pll 2>;
		clock-names = "ahb";

		#address-cells = <1>;
		#size-cells = <0>;
	};

Annotation

Implementation Notes