Lines Matching +full:num +full:- +full:chipselects
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 {
41 button-left {
43 label = "DPAD-LEFT";
47 button-right {
49 label = "DPAD-RIGHT";
53 button-r1 {
59 button-r2 {
65 button-right {
67 label = "DPAD-RIGHT";
71 button-y {
79 gpio-spi {
80 spi_pins: spi-pins {