hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/spi/fsl-spi.txt
....@@ -15,9 +15,13 @@
1515 - clock-frequency : input clock frequency to non FSL_SOC cores
1616
1717 Optional properties:
18
-- gpios : specifies the gpio pins to be used for chipselects.
18
+- cs-gpios : specifies the gpio pins to be used for chipselects.
1919 The gpios will be referred to as reg = <index> in the SPI child nodes.
2020 If unspecified, a single SPI device without a chip select can be used.
21
+- fsl,spisel_boot : for the MPC8306 and MPC8309, specifies that the
22
+ SPISEL_BOOT signal is used as chip select for a slave device. Use
23
+ reg = <number of gpios> in the corresponding child node, i.e. 0 if
24
+ the cs-gpios property is not present.
2125
2226 Example:
2327 spi@4c0 {
....@@ -27,8 +31,8 @@
2731 interrupts = <82 0>;
2832 interrupt-parent = <700>;
2933 mode = "cpu";
30
- gpios = <&gpio 18 1 // device reg=<0>
31
- &gpio 19 1>; // device reg=<1>
34
+ cs-gpios = <&gpio 18 1 // device reg=<0>
35
+ &gpio 19 1>; // device reg=<1>
3236 };
3337
3438