Lines Matching +full:cs +full:- +full:gpios
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>
16 compatible = "sipeed,maixduino", "canaan,kendryte-k210";
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
26 key-boot {
29 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
33 vcc_3v3: regulator-3v3 {
34 compatible = "regulator-fixed";
35 regulator-name = "3v3";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
44 uarths_pinctrl: uarths-pinmux {
49 gpio_pinctrl: gpio-pinmux {
54 gpiohs_pinctrl: gpiohs-pinmux {
70 i2s0_pinctrl: i2s0-pinmux {
76 spi1_pinctrl: spi1-pinmux {
80 <K210_FPIOA(29, K210_PCF_GPIO2)>; /* cs */
83 i2c1_pinctrl: i2c1-pinmux {
88 i2s1_pinctrl: i2s1-pinmux {
94 spi0_pinctrl: spi0-pinmux {
95 pinmux = <K210_FPIOA(36, K210_PCF_GPIOHS20)>, /* cs */
101 dvp_pinctrl: dvp-pinmux {
114 pinctrl-0 = <&uarths_pinctrl>;
115 pinctrl-names = "default";
120 pinctrl-0 = <&gpiohs_pinctrl>;
121 pinctrl-names = "default";
126 pinctrl-0 = <&gpio_pinctrl>;
127 pinctrl-names = "default";
132 #sound-dai-cells = <1>;
133 pinctrl-0 = <&i2s0_pinctrl>;
134 pinctrl-names = "default";
138 pinctrl-0 = <&i2c1_pinctrl>;
139 pinctrl-names = "default";
140 clock-frequency = <400000>;
145 pinctrl-0 = <&spi0_pinctrl>;
146 pinctrl-names = "default";
147 num-cs = <1>;
148 cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
153 reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
154 dc-gpios = <&gpio0 22 0>;
155 spi-max-frequency = <15000000>;
156 power-supply = <&vcc_3v3>;
161 pinctrl-0 = <&spi1_pinctrl>;
162 pinctrl-names = "default";
163 num-cs = <1>;
164 cs-gpios = <&gpio1_0 2 GPIO_ACTIVE_LOW>;
168 compatible = "mmc-spi-slot";
170 voltage-ranges = <3300 3300>;
171 spi-max-frequency = <25000000>;
172 broken-cd;
178 compatible = "jedec,spi-nor";
180 spi-max-frequency = <50000000>;
181 spi-tx-bus-width = <4>;
182 spi-rx-bus-width = <4>;
183 m25p,fast-read;
184 broken-flash-reset;