blob: 5376de40f10b562ba218651433be71508e4c560b [file] [log] [blame]
Chao Fu9cbd72e2013-08-16 11:08:54 +08001ARM Freescale DSPI controller
2
3Required properties:
4- compatible : "fsl,vf610-dspi"
5- reg : Offset and length of the register set for the device
6- interrupts : Should contain SPI controller interrupt
7- clocks: from common clock binding: handle to dspi clock.
8- clock-names: from common clock binding: Shall be "dspi".
9- pinctrl-0: pin control group to be used for this controller.
10- pinctrl-names: must contain a "default" entry.
11- spi-num-chipselects : the number of the chipselect signals.
12- bus-num : the slave chip chipselect signal number.
Chao Fu1acbdeb2014-02-12 15:29:05 +080013- big-endian : if DSPI modudle is big endian, the bool will be set in node.
Chao Fu9cbd72e2013-08-16 11:08:54 +080014Example:
15
16dspi0@4002c000 {
17 #address-cells = <1>;
18 #size-cells = <0>;
19 compatible = "fsl,vf610-dspi";
20 reg = <0x4002c000 0x1000>;
21 interrupts = <0 67 0x04>;
22 clocks = <&clks VF610_CLK_DSPI0>;
23 clock-names = "dspi";
24 spi-num-chipselects = <5>;
25 bus-num = <0>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_dspi0_1>;
Chao Fu1acbdeb2014-02-12 15:29:05 +080028 big-endian;
Chao Fu9cbd72e2013-08-16 11:08:54 +080029 status = "okay";
30
31 sflash: at26df081a@0 {
32 #address-cells = <1>;
33 #size-cells = <1>;
34 compatible = "atmel,at26df081a";
35 spi-max-frequency = <16000000>;
36 spi-cpol;
37 spi-cpha;
38 reg = <0>;
39 linux,modalias = "m25p80";
40 modal = "at26df081a";
41 };
42};
43
44