xref: /freebsd/sys/contrib/device-tree/Bindings/spi/spi-armada-3700.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Marvell Armada 3700 SPI Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired Properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible: should be "marvell,armada-3700-spi"
6*c66ec88fSEmmanuel Vadot- reg: physical base address of the controller and length of memory mapped
7*c66ec88fSEmmanuel Vadot       region.
8*c66ec88fSEmmanuel Vadot- interrupts: The interrupt number. The interrupt specifier format depends on
9*c66ec88fSEmmanuel Vadot	      the interrupt controller and of its driver.
10*c66ec88fSEmmanuel Vadot- clocks: Must contain the clock source, usually from the North Bridge clocks.
11*c66ec88fSEmmanuel Vadot- num-cs: The number of chip selects that is supported by this SPI Controller
12*c66ec88fSEmmanuel Vadot- #address-cells: should be 1.
13*c66ec88fSEmmanuel Vadot- #size-cells: should be 0.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot	spi0: spi@10600 {
18*c66ec88fSEmmanuel Vadot		compatible = "marvell,armada-3700-spi";
19*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
20*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
21*c66ec88fSEmmanuel Vadot		reg = <0x10600 0x5d>;
22*c66ec88fSEmmanuel Vadot		clocks = <&nb_perih_clk 7>;
23*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
24*c66ec88fSEmmanuel Vadot		num-cs = <4>;
25*c66ec88fSEmmanuel Vadot	};
26