xref: /freebsd/sys/contrib/device-tree/Bindings/spi/spi-bcm63xx-hsspi.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBinding for Broadcom BCM6328 High Speed SPI controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: must contain of "brcm,bcm6328-hsspi".
5*c66ec88fSEmmanuel Vadot- reg: Base address and size of the controllers memory area.
6*c66ec88fSEmmanuel Vadot- interrupts: Interrupt for the SPI block.
7*c66ec88fSEmmanuel Vadot- clocks: phandles of the SPI clock and the PLL clock.
8*c66ec88fSEmmanuel Vadot- clock-names: must be "hsspi", "pll".
9*c66ec88fSEmmanuel Vadot- #address-cells: <1>, as required by generic SPI binding.
10*c66ec88fSEmmanuel Vadot- #size-cells: <0>, also as required by generic SPI binding.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotOptional properties:
13*c66ec88fSEmmanuel Vadot- num-cs: some controllers have less than 8 cs signals. Defaults to 8
14*c66ec88fSEmmanuel Vadot  if absent.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotChild nodes as per the generic SPI binding.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	spi@10001000 {
21*c66ec88fSEmmanuel Vadot		compatible = "brcm,bcm6328-hsspi";
22*c66ec88fSEmmanuel Vadot		reg = <0x10001000 0x600>;
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot		interrupts = <29>;
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot		clocks = <&clkctl 9>, <&hsspi_pll>;
27*c66ec88fSEmmanuel Vadot		clock-names = "hsspi", "pll";
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot		num-cs = <2>;
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
32*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
33*c66ec88fSEmmanuel Vadot	};
34