xref: /freebsd/sys/contrib/device-tree/Bindings/spi/spi-ath79.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBinding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: has to be "qca,<soc-type>-spi", "qca,ar7100-spi" as fallback.
5*c66ec88fSEmmanuel Vadot- reg: Base address and size of the controllers memory area
6*c66ec88fSEmmanuel Vadot- clocks: phandle of the AHB clock.
7*c66ec88fSEmmanuel Vadot- clock-names: has to be "ahb".
8*c66ec88fSEmmanuel Vadot- #address-cells: <1>, as required by generic SPI binding.
9*c66ec88fSEmmanuel Vadot- #size-cells: <0>, also as required by generic SPI binding.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotChild nodes as per the generic SPI binding.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot	spi@1f000000 {
16*c66ec88fSEmmanuel Vadot		compatible = "qca,ar9132-spi", "qca,ar7100-spi";
17*c66ec88fSEmmanuel Vadot		reg = <0x1f000000 0x10>;
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot		clocks = <&pll 2>;
20*c66ec88fSEmmanuel Vadot		clock-names = "ahb";
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
23*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
24*c66ec88fSEmmanuel Vadot	};
25