Lines Matching +full:spi +full:- +full:num +full:- +full:cs
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/samsung,spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S3C/S5P/Exynos SoC SPI controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 All the SPI controller nodes should be represented in the aliases node using
14 the following format 'spi{n}' where n is a unique number for the alias.
19 - enum:
20 - google,gs101-spi
21 - samsung,s3c2443-spi # for S3C2443, S3C2416 and S3C2450
22 - samsung,s3c6410-spi
23 - samsung,s5pv210-spi # for S5PV210 and S5PC110
24 - samsung,exynos4210-spi
25 - samsung,exynos5433-spi
26 - samsung,exynos850-spi
27 - samsung,exynosautov9-spi
28 - tesla,fsd-spi
29 - items:
30 - enum:
31 - samsung,exynos8895-spi
32 - samsung,exynosautov920-spi
33 - const: samsung,exynos850-spi
34 - const: samsung,exynos7-spi
41 clock-names:
49 dma-names:
51 - const: tx
52 - const: rx
57 no-cs-readback:
59 The CS line is disconnected, therefore the device should not operate
60 based on CS signalling.
63 num-cs:
68 samsung,spi-src-clk:
70 If the spi controller includes a internal clock mux to select the clock
71 source for the spi bus clock, this property can be used to indicate the
72 clock to be used for driving the spi bus clock. If not specified, the
81 - compatible
82 - clocks
83 - clock-names
84 - interrupts
85 - reg
88 - $ref: spi-controller.yaml#
89 - if:
94 - samsung,exynos5433-spi
95 - samsung,exynosautov9-spi
101 clock-names:
103 - const: spi
104 - enum:
105 - spi_busclk0
106 - spi_busclk1
107 - spi_busclk2
108 - spi_busclk3
109 - const: spi_ioclk
115 clock-names:
117 - const: spi
118 - enum:
119 - spi_busclk0
120 - spi_busclk1
121 - spi_busclk2
122 - spi_busclk3
127 - |
128 #include <dt-bindings/clock/exynos5433.h>
129 #include <dt-bindings/clock/samsung,s2mps11.h>
130 #include <dt-bindings/interrupt-controller/arm-gic.h>
131 #include <dt-bindings/gpio/gpio.h>
133 spi@14d30000 {
134 compatible = "samsung,exynos5433-spi";
138 dma-names = "tx", "rx";
139 #address-cells = <1>;
140 #size-cells = <0>;
144 clock-names = "spi",
147 samsung,spi-src-clk = <0>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&spi1_bus>;
150 num-cs = <1>;
152 cs-gpios = <&gpd6 3 GPIO_ACTIVE_HIGH>;
154 audio-codec@0 {
157 spi-max-frequency = <20000000>;
158 interrupt-parent = <&gpa0>;
162 clock-names = "mclk1", "mclk2";
164 gpio-controller;
165 #gpio-cells = <2>;
166 interrupt-controller;
167 #interrupt-cells = <2>;
169 wlf,micd-detect-debounce = <300>;
170 wlf,micd-bias-start-time = <0x1>;
171 wlf,micd-rate = <0x7>;
172 wlf,micd-dbtime = <0x2>;
173 wlf,micd-force-micbias;
174 wlf,micd-configs = <0x0 1 0>;
175 wlf,hpdet-channel = <1>;
183 AVDD-supply = <&ldo18_reg>;
184 DBVDD1-supply = <&ldo18_reg>;
185 CPVDD-supply = <&ldo18_reg>;
186 DBVDD2-supply = <&ldo18_reg>;
187 DBVDD3-supply = <&ldo18_reg>;
188 SPKVDDL-supply = <&ldo18_reg>;
189 SPKVDDR-supply = <&ldo18_reg>;
191 controller-data {
192 samsung,spi-feedback-delay = <0>;