Lines Matching +full:right +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"
12 compatible = "pwm-backlight";
13 power-supply = <&vcc_sys>;
18 compatible = "simple-battery";
19 charge-full-design-microamp-hours = <3472000>;
20 charge-term-current-microamp = <300000>;
21 constant-charge-current-max-microamp = <2000000>;
22 constant-charge-voltage-max-microvolt = <4200000>;
23 factory-internal-resistance-micro-ohms = <117000>;
24 voltage-max-design-microvolt = <4172000>;
25 voltage-min-design-microvolt = <3400000>;
27 ocv-capacity-celsius = <20>;
28 ocv-capacity-table-0 = <4172000 100>, <4054000 95>, <3984000 90>, <3926000 85>,
38 compatible = "simple-audio-card";
39 pinctrl-0 = <&hp_det>;
40 pinctrl-names = "default";
41 simple-audio-card,name = "rk817_ext";
42 simple-audio-card,aux-devs = <&spk_amp>;
43 simple-audio-card,format = "i2s";
44 simple-audio-card,hp-det-gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
45 simple-audio-card,mclk-fs = <256>;
46 simple-audio-card,widgets =
50 simple-audio-card,routing =
58 simple-audio-card,pin-switches = "Internal Speakers";
60 simple-audio-card,codec {
61 sound-dai = <&rk817>;
64 simple-audio-card,cpu {
65 sound-dai = <&i2s1_8ch>;
69 spk_amp: audio-amplifier {
70 compatible = "simple-audio-amplifier";
71 enable-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
72 pinctrl-0 = <&spk_amp_enable_h>;
73 pinctrl-names = "default";
74 sound-name-prefix = "Speaker Amp";
79 assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
81 assigned-clock-rates = <32768>, <1200000000>,
91 #address-cells = <1>;
92 #size-cells = <0>;
98 remote-endpoint = <&vp1_out_dsi0>;
105 remote-endpoint = <&mipi_in_panel>;
111 compatible = "anbernic,rg-arc-panel", "sitronix,st7701";
114 IOVCC-supply = <&vcc3v3_lcd0_n>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&lcd_rst>;
117 reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
119 VCC-supply = <&vcc3v3_lcd0_n>;
123 remote-endpoint = <&mipi_out_panel>;
130 * Device uses a non-standard six button layout for a gamepad with X,
135 button-a {
136 gpios = <&gpio3 RK_PC3 GPIO_ACTIVE_LOW>;
141 button-b {
142 gpios = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
147 button-c {
148 gpios = <&gpio3 RK_PA2 GPIO_ACTIVE_LOW>;
153 button-left {
154 gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>;
155 label = "DPAD-LEFT";
159 button-r1 {
160 gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>;
165 button-r2 {
166 gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>;
171 button-right {
172 gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
173 label = "DPAD-RIGHT";
177 button-x {
178 gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>;
183 button-y {
184 gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_LOW>;
189 button-z {
190 gpios = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>;
197 audio-amplifier {
198 spk_amp_enable_h: spk-amp-enable-h {
204 gpio-lcd {
205 lcd_rst: lcd-rst {
212 hp_det: hp-det {
225 monitored-battery = <&battery>;
226 rockchip,resistor-sense-micro-ohms = <10000>;
227 rockchip,sleep-enter-current-microamp = <300000>;
228 rockchip,sleep-filter-current-microamp = <100000>;
235 remote-endpoint = <&dsi0_in_vp1>;