Lines Matching +full:codec +full:- +full:gpio3

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 = "simple-battery";
22 charge-full-design-microamp-hours = <3472000>;
23 charge-term-current-microamp = <300000>;
24 constant-charge-current-max-microamp = <2000000>;
25 constant-charge-voltage-max-microvolt = <4200000>;
26 factory-internal-resistance-micro-ohms = <117000>;
27 voltage-max-design-microvolt = <4172000>;
28 voltage-min-design-microvolt = <3400000>;
30 ocv-capacity-celsius = <20>;
31 ocv-capacity-table-0 = <4172000 100>, <4054000 95>, <3984000 90>, <3926000 85>,
40 compatible = "spi-gpio";
41 pinctrl-names = "default";
42 pinctrl-0 = <&spi_pins>;
43 #address-cells = <1>;
44 #size-cells = <0>;
46 sck-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
47 mosi-gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
48 cs-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
49 num-chipselects = <0>;
54 pinctrl-names = "default";
55 pinctrl-0 = <&lcd_reset>;
56 reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
57 vdd-supply = <&vcc_3v3>;
61 remote-endpoint = <&mipi_out_panel>;
69 compatible = "simple-audio-card";
70 simple-audio-card,name = "rk817_ext";
71 simple-audio-card,aux-devs = <&spk_amp>;
72 simple-audio-card,format = "i2s";
73 simple-audio-card,hp-det-gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
74 simple-audio-card,mclk-fs = <256>;
75 simple-audio-card,widgets =
79 simple-audio-card,routing =
87 simple-audio-card,pin-switches = "Internal Speakers";
89 simple-audio-card,codec {
90 sound-dai = <&rk817>;
93 simple-audio-card,cpu {
94 sound-dai = <&i2s1_8ch>;
98 spk_amp: audio-amplifier {
99 compatible = "simple-audio-amplifier";
100 enable-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
101 pinctrl-0 = <&spk_amp_enable_h>;
102 pinctrl-names = "default";
103 sound-name-prefix = "Speaker Amp";
108 assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
110 assigned-clock-rates = <32768>, <1200000000>,
126 remote-endpoint = <&vp1_out_dsi0>;
134 remote-endpoint = <&mipi_in_panel>;
141 button-a {
142 gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_LOW>;
147 button-left {
148 gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
149 label = "DPAD-LEFT";
153 button-right {
154 gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>;
155 label = "DPAD-RIGHT";
159 button-r1 {
160 gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>;
165 button-r2 {
166 gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>;
171 button-right {
172 gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>;
173 label = "DPAD-RIGHT";
177 button-y {
178 gpios = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
185 audio-amplifier {
186 spk_amp_enable_h: spk-amp-enable-h {
192 gpio-lcd {
193 lcd_reset: lcd-reset {
199 gpio-spi {
200 spi_pins: spi-pins {
211 monitored-battery = <&battery>;
212 rockchip,resistor-sense-micro-ohms = <10000>;
213 rockchip,sleep-enter-current-microamp = <300000>;
214 rockchip,sleep-filter-current-microamp = <100000>;
221 remote-endpoint = <&dsi0_in_vp1>;