Lines Matching +full:cs +full:- +full:gpio

1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
7 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
17 compatible = "sipeed,maix-go", "canaan,kendryte-k210";
25 stdout-path = "serial0:115200n8";
28 gpio-leds {
29 compatible = "gpio-leds";
50 gpio-keys {
51 compatible = "gpio-keys";
53 key-up {
59 key-press {
65 key-down {
74 pinctrl-0 = <&jtag_pinctrl>;
75 pinctrl-names = "default";
77 jtag_pinctrl: jtag-pinmux {
84 uarths_pinctrl: uarths-pinmux {
89 gpio_pinctrl: gpio-pinmux {
100 gpiohs_pinctrl: gpiohs-pinmux {
114 i2s0_pinctrl: i2s0-pinmux {
120 dvp_pinctrl: dvp-pinmux {
131 spi0_pinctrl: spi0-pinmux {
132 pinmux = <K210_FPIOA(36, K210_PCF_GPIOHS20)>, /* cs */
138 spi1_pinctrl: spi1-pinmux {
142 <K210_FPIOA(29, K210_PCF_GPIOHS13)>; /* cs */
145 i2c1_pinctrl: i2c1-pinmux {
152 pinctrl-0 = <&uarths_pinctrl>;
153 pinctrl-names = "default";
158 pinctrl-0 = <&gpiohs_pinctrl>;
159 pinctrl-names = "default";
164 pinctrl-0 = <&gpio_pinctrl>;
165 pinctrl-names = "default";
170 #sound-dai-cells = <1>;
171 pinctrl-0 = <&i2s0_pinctrl>;
172 pinctrl-names = "default";
177 pinctrl-0 = <&i2c1_pinctrl>;
178 pinctrl-names = "default";
179 clock-frequency = <400000>;
184 pinctrl-0 = <&spi0_pinctrl>;
185 pinctrl-names = "default";
186 num-cs = <1>;
187 cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
193 reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
194 dc-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
195 spi-max-frequency = <15000000>;
201 pinctrl-0 = <&spi1_pinctrl>;
202 pinctrl-names = "default";
203 num-cs = <1>;
204 cs-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
208 compatible = "mmc-spi-slot";
210 voltage-ranges = <3300 3300>;
211 spi-max-frequency = <25000000>;
212 broken-cd;
220 compatible = "jedec,spi-nor";
222 spi-max-frequency = <50000000>;
223 spi-tx-bus-width = <4>;
224 spi-rx-bus-width = <4>;
225 m25p,fast-read;
226 broken-flash-reset;