Lines Matching +full:sck +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-anbernic-rgxx3.dtsi"
21 compatible = "spi-gpio";
22 pinctrl-names = "default";
23 pinctrl-0 = <&spi_pins>;
24 #address-cells = <1>;
25 #size-cells = <0>;
27 sck-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
28 mosi-gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
29 cs-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
30 num-chipselects = <0>;
35 button-a {
36 gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_LOW>;
41 button-left {
42 gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
43 label = "DPAD-LEFT";
47 button-right {
48 gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>;
49 label = "DPAD-RIGHT";
53 button-r1 {
54 gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>;
59 button-r2 {
60 gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>;
65 button-right {
66 gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>;
67 label = "DPAD-RIGHT";
71 button-y {
72 gpios = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
79 gpio-spi {
80 spi_pins: spi-pins {