]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
UBUNTU: Ubuntu-5.15.0-39.42
[mirror_ubuntu-jammy-kernel.git] / Documentation / devicetree / bindings / spi / spi-fsl-dspi.txt
CommitLineData
9cbd72e5
CF
1ARM Freescale DSPI controller
2
3Required properties:
50b62071
VO
4- compatible : must be one of:
5 "fsl,vf610-dspi",
6 "fsl,ls1021a-v1.0-dspi",
7 "fsl,ls1012a-dspi" (optionally followed by "fsl,ls1021a-v1.0-dspi"),
8 "fsl,ls1028a-dspi",
9 "fsl,ls1043a-dspi" (optionally followed by "fsl,ls1021a-v1.0-dspi"),
10 "fsl,ls1046a-dspi" (optionally followed by "fsl,ls1021a-v1.0-dspi"),
11 "fsl,ls1088a-dspi" (optionally followed by "fsl,ls1021a-v1.0-dspi"),
12 "fsl,ls2080a-dspi" (optionally followed by "fsl,ls2085a-dspi"),
13 "fsl,ls2085a-dspi",
14 "fsl,lx2160a-dspi",
9cbd72e5
CF
15- reg : Offset and length of the register set for the device
16- interrupts : Should contain SPI controller interrupt
17- clocks: from common clock binding: handle to dspi clock.
18- clock-names: from common clock binding: Shall be "dspi".
19- pinctrl-0: pin control group to be used for this controller.
20- pinctrl-names: must contain a "default" entry.
21- spi-num-chipselects : the number of the chipselect signals.
c99428d0
XL
22
23Optional property:
24- big-endian: If present the dspi device's registers are implemented
c1453447 25 in big endian mode.
29d2daf2 26- bus-num : the slave chip chipselect signal number.
c99428d0 27
c1c14957
AB
28Optional SPI slave node properties:
29- fsl,spi-cs-sck-delay: a delay in nanoseconds between activating chip
30 select and the start of clock signal, at the start of a transfer.
31- fsl,spi-sck-cs-delay: a delay in nanoseconds between stopping the clock
32 signal and deactivating chip select, at the end of a transfer.
33
9cbd72e5
CF
34Example:
35
36dspi0@4002c000 {
37 #address-cells = <1>;
38 #size-cells = <0>;
39 compatible = "fsl,vf610-dspi";
40 reg = <0x4002c000 0x1000>;
41 interrupts = <0 67 0x04>;
42 clocks = <&clks VF610_CLK_DSPI0>;
43 clock-names = "dspi";
44 spi-num-chipselects = <5>;
45 bus-num = <0>;
46 pinctrl-names = "default";
47 pinctrl-0 = <&pinctrl_dspi0_1>;
1acbdeb9 48 big-endian;
9cbd72e5
CF
49
50 sflash: at26df081a@0 {
51 #address-cells = <1>;
52 #size-cells = <1>;
53 compatible = "atmel,at26df081a";
54 spi-max-frequency = <16000000>;
55 spi-cpol;
56 spi-cpha;
57 reg = <0>;
58 linux,modalias = "m25p80";
59 modal = "at26df081a";
c1c14957
AB
60 fsl,spi-cs-sck-delay = <100>;
61 fsl,spi-sck-cs-delay = <50>;
9cbd72e5
CF
62 };
63};
64
65