File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Documentation/devicetree/bindings/spi Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ properties:
69
69
Should be generally avoided and be replaced by
70
70
spi-cs-high + ACTIVE_HIGH.
71
71
72
+ The simplest way to obtain an active-high CS signal is to configure the
73
+ controller's cs-gpio property with the ACTIVE_HIGH flag and set the
74
+ peripheral's spi-cs-high property. See example below for a better
75
+ understanding.
76
+
72
77
fifo-depth :
73
78
$ref : /schemas/types.yaml#/definitions/uint32
74
79
description :
@@ -189,3 +194,23 @@ examples:
189
194
stacked-memories = /bits/ 64 <0x10000000 0x10000000>;
190
195
};
191
196
};
197
+
198
+ - |
199
+ #include <dt-bindings/gpio/gpio.h>
200
+
201
+ spi@20204000 {
202
+ #address-cells = <1>;
203
+ #size-cells = <0>;
204
+ compatible = "brcm,bcm2835-spi";
205
+ reg = <0x7e204000 0x1000>;
206
+ interrupts = <2 22>;
207
+ clocks = <&clk_spi>;
208
+ cs-gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
209
+
210
+ display@0 {
211
+ compatible = "lg,lg4573";
212
+ spi-max-frequency = <1000000>;
213
+ reg = <0>;
214
+ spi-cs-high;
215
+ };
216
+ };
You can’t perform that action at this time.
0 commit comments