Lines Matching +full:ocv +full:- +full:capacity +full:- +full:celsius

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"
20 adc-joystick {
21 compatible = "adc-joystick";
22 io-channels = <&adc_mux 0>,
26 pinctrl-0 = <&joy_mux_en>;
27 pinctrl-names = "default";
28 poll-interval = <60>;
29 #address-cells = <1>;
30 #size-cells = <0>;
34 abs-flat = <32>;
35 abs-fuzz = <32>;
36 abs-range = <1023 15>;
42 abs-flat = <32>;
43 abs-fuzz = <32>;
44 abs-range = <15 1023>;
50 abs-flat = <32>;
51 abs-fuzz = <32>;
52 abs-range = <15 1023>;
58 abs-flat = <32>;
59 abs-fuzz = <32>;
60 abs-range = <1023 15>;
65 adc_mux: adc-mux {
66 compatible = "io-channel-mux";
68 #io-channel-cells = <1>;
69 io-channels = <&saradc 3>;
70 io-channel-names = "parent";
71 mux-controls = <&gpio_mux>;
72 settle-time-us = <100>;
76 compatible = "simple-battery";
77 charge-full-design-microamp-hours = <3472000>;
78 charge-term-current-microamp = <300000>;
79 constant-charge-current-max-microamp = <2000000>;
80 constant-charge-voltage-max-microvolt = <4200000>;
81 factory-internal-resistance-micro-ohms = <117000>;
82 voltage-max-design-microvolt = <4172000>;
83 voltage-min-design-microvolt = <3400000>;
85 ocv-capacity-celsius = <20>;
86 ocv-capacity-table-0 = <4172000 100>, <4054000 95>, <3984000 90>, <3926000 85>,
94 gpio_mux: mux-controller {
95 compatible = "gpio-mux";
96 mux-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>,
98 #mux-control-cells = <0>;
102 compatible = "spi-gpio";
103 pinctrl-names = "default";
104 pinctrl-0 = <&spi_pins>;
105 #address-cells = <1>;
106 #size-cells = <0>;
108 sck-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
109 mosi-gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
110 cs-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
111 num-chipselects = <0>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&lcd_reset>;
118 reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
119 vdd-supply = <&vcc_3v3>;
123 remote-endpoint = <&mipi_out_panel>;
131 compatible = "simple-audio-card";
132 simple-audio-card,name = "rk817_ext";
133 simple-audio-card,aux-devs = <&spk_amp>;
134 simple-audio-card,format = "i2s";
135 simple-audio-card,hp-det-gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
136 simple-audio-card,mclk-fs = <256>;
137 simple-audio-card,widgets =
141 simple-audio-card,routing =
149 simple-audio-card,pin-switches = "Internal Speakers";
151 simple-audio-card,codec {
152 sound-dai = <&rk817>;
155 simple-audio-card,cpu {
156 sound-dai = <&i2s1_8ch>;
160 spk_amp: audio-amplifier {
161 compatible = "simple-audio-amplifier";
162 enable-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
163 pinctrl-0 = <&spk_amp_enable_h>;
164 pinctrl-names = "default";
165 sound-name-prefix = "Speaker Amp";
170 assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
172 assigned-clock-rates = <32768>, <1200000000>,
188 remote-endpoint = <&vp1_out_dsi0>;
196 remote-endpoint = <&mipi_in_panel>;
203 button-a {
209 button-left {
211 label = "DPAD-LEFT";
215 button-right {
217 label = "DPAD-RIGHT";
221 button-r1 {
227 button-r2 {
233 button-right {
235 label = "DPAD-RIGHT";
239 button-thumbl {
245 button-thumbr {
251 button-y {
259 audio-amplifier {
260 spk_amp_enable_h: spk-amp-enable-h {
266 gpio-lcd {
267 lcd_reset: lcd-reset {
273 gpio-spi {
274 spi_pins: spi-pins {
285 monitored-battery = <&battery>;
286 rockchip,resistor-sense-micro-ohms = <10000>;
287 rockchip,sleep-enter-current-microamp = <300000>;
288 rockchip,sleep-filter-current-microamp = <100000>;
295 remote-endpoint = <&dsi0_in_vp1>;