Lines Matching +full:gpio +full:- +full:mosi

1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
8 * need to include the CFA-10036 DTS.
10 #include "imx28-cfa10036.dts"
13 model = "Crystalfontz CFA-10049 Board";
17 compatible = "i2c-mux-gpio";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&i2cmux_pins_cfa10049>;
22 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
23 i2c-parent = <&i2c1>;
26 #address-cells = <1>;
27 #size-cells = <0>;
38 #address-cells = <1>;
39 #size-cells = <0>;
50 #address-cells = <1>;
51 #size-cells = <0>;
63 #address-cells = <1>;
64 #size-cells = <0>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&pca_pins_cfa10049>;
70 interrupt-parent = <&gpio2>;
72 gpio-controller;
73 #gpio-cells = <2>;
74 interrupt-controller;
75 #interrupt-cells = <2>;
81 reg_usb1_vbus: regulator-0 {
82 compatible = "regulator-fixed";
83 pinctrl-names = "default";
84 pinctrl-0 = <&usb_pins_cfa10049>;
85 regulator-name = "usb1_vbus";
86 regulator-min-microvolt = <5000000>;
87 regulator-max-microvolt = <5000000>;
88 gpio = <&gpio0 7 1>;
91 spi-2 {
92 compatible = "spi-gpio";
93 pinctrl-names = "default";
94 pinctrl-0 = <&spi2_pins_cfa10049>;
96 sck-gpios = <&gpio2 16 0>;
97 mosi-gpios = <&gpio2 17 0>;
98 miso-gpios = <&gpio2 18 0>;
99 cs-gpios = <&gpio3 5 0>;
100 num-chipselects = <1>;
101 #address-cells = <1>;
102 #size-cells = <0>;
107 spi-max-frequency = <100000>;
108 spi-cpol;
109 spi-cpha;
110 gpios-reset = <&gpio3 30 0>;
111 im-gpios = <&gpio5 4 0 &gpio5 5 0 &gpio5 6 0>;
115 spi-3 {
116 compatible = "spi-gpio";
117 pinctrl-names = "default";
118 pinctrl-0 = <&spi3_pins_cfa10049>;
120 sck-gpios = <&gpio0 24 0>;
121 mosi-gpios = <&gpio0 28 0>;
122 cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
123 num-chipselects = <3>;
124 #address-cells = <1>;
125 #size-cells = <0>;
129 gpio-controller;
130 #gpio-cells = <2>;
132 registers-number = <2>;
133 spi-max-frequency = <100000>;
138 gpio-controller;
139 #gpio-cells = <2>;
141 registers-number = <4>;
142 spi-max-frequency = <100000>;
148 spi-max-frequency = <100000>;
152 gpio-keys {
153 compatible = "gpio-keys";
154 pinctrl-names = "default";
155 pinctrl-0 = <&rotary_btn_pins_cfa10049>;
157 rotary-button {
160 debounce-interval = <10>;
166 compatible = "rotary-encoder";
167 pinctrl-names = "default";
168 pinctrl-0 = <&rotary_pins_cfa10049>;
171 rotary-encoder,relative-axis;
175 compatible = "pwm-backlight";
177 brightness-levels = <0 4 8 16 32 64 128 255>;
178 default-brightness-level = <6>;
183 compatible = "w1-gpio";
184 pinctrl-names = "default";
185 pinctrl-0 = <&w1_gpio_pins>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&i2c1_pins_a>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&lcdif_18bit_pins_cfa10049
206 bits-per-pixel = <32>;
207 bus-width = <18>;
209 display-timings {
210 native-mode = <&timing0>;
212 clock-frequency = <9216000>;
215 hback-porch = <2>;
216 hfront-porch = <2>;
217 vback-porch = <2>;
218 vfront-porch = <2>;
219 hsync-len = <15>;
220 vsync-len = <15>;
221 hsync-active = <0>;
222 vsync-active = <0>;
223 de-active = <1>;
224 pixelclk-active = <1>;
231 fsl,lradc-touchscreen-wires = <4>;
236 phy-mode = "rmii";
237 pinctrl-names = "default";
238 pinctrl-0 = <&mac0_pins_a
240 phy-reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
241 phy-reset-duration = <100>;
246 usb_pins_cfa10049: usb-10049@0 {
248 fsl,pinmux-ids = <
251 fsl,drive-strength = <MXS_DRIVE_4mA>;
253 fsl,pull-up = <MXS_PULL_DISABLE>;
256 i2cmux_pins_cfa10049: i2cmux-10049@0 {
258 fsl,pinmux-ids = <
262 fsl,drive-strength = <MXS_DRIVE_4mA>;
264 fsl,pull-up = <MXS_PULL_DISABLE>;
267 mac0_pins_cfa10049: mac0-10049@0 {
269 fsl,pinmux-ids = <
272 fsl,drive-strength = <MXS_DRIVE_4mA>;
274 fsl,pull-up = <MXS_PULL_DISABLE>;
277 pca_pins_cfa10049: pca-10049@0 {
279 fsl,pinmux-ids = <
282 fsl,drive-strength = <MXS_DRIVE_4mA>;
284 fsl,pull-up = <MXS_PULL_ENABLE>;
287 rotary_pins_cfa10049: rotary-10049@0 {
289 fsl,pinmux-ids = <
293 fsl,drive-strength = <MXS_DRIVE_4mA>;
295 fsl,pull-up = <MXS_PULL_ENABLE>;
298 rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
300 fsl,pinmux-ids = <
303 fsl,drive-strength = <MXS_DRIVE_4mA>;
305 fsl,pull-up = <MXS_PULL_ENABLE>;
308 spi2_pins_cfa10049: spi2-cfa10049@0 {
310 fsl,pinmux-ids = <
316 fsl,drive-strength = <MXS_DRIVE_8mA>;
318 fsl,pull-up = <MXS_PULL_ENABLE>;
321 spi3_pins_cfa10049: spi3-cfa10049@0 {
323 fsl,pinmux-ids = <
330 fsl,drive-strength = <MXS_DRIVE_8mA>;
332 fsl,pull-up = <MXS_PULL_ENABLE>;
335 lcdif_18bit_pins_cfa10049: lcdif-18bit@0 {
337 fsl,pinmux-ids = <
357 fsl,drive-strength = <MXS_DRIVE_4mA>;
359 fsl,pull-up = <MXS_PULL_DISABLE>;
362 lcdif_pins_cfa10049: lcdif-evk@0 {
364 fsl,pinmux-ids = <
370 fsl,drive-strength = <MXS_DRIVE_4mA>;
372 fsl,pull-up = <MXS_PULL_DISABLE>;
375 lcdif_pins_cfa10049_pullup: lcdif-10049-pullup@0 {
377 fsl,pinmux-ids = <
380 fsl,drive-strength = <MXS_DRIVE_4mA>;
382 fsl,pull-up = <MXS_PULL_ENABLE>;
385 w1_gpio_pins: w1-gpio@0 {
387 fsl,pinmux-ids = <
390 fsl,drive-strength = <MXS_DRIVE_8mA>;
392 fsl,pull-up = <MXS_PULL_DISABLE>; /* 0 will enable the keeper */
397 pinctrl-names = "default";
398 pinctrl-0 = <&pwm3_pins_b>;
403 vbus-supply = <&reg_usb1_vbus>;
404 pinctrl-0 = <&usb1_pins_a>;
405 pinctrl-names = "default";