Lines Matching +full:right +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 /dts-v1/;
7 #include "sun50i-a64.dtsi"
8 #include "sun50i-a64-cpu-opp.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pwm/pwm.h>
17 compatible = "pine64,pinebook", "allwinner,sun50i-a64";
18 chassis-type = "laptop";
26 compatible = "pwm-backlight";
28 brightness-levels = <0 5 10 15 20 30 40 55 70 85 100>;
29 default-brightness-level = <2>;
30 enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* PD23 */
31 power-supply = <®_vbklt>;
35 stdout-path = "serial0:115200n8";
38 gpio-keys {
39 compatible = "gpio-keys";
41 lid-switch {
43 gpios = <&r_pio 0 12 GPIO_ACTIVE_LOW>; /* PL12 */
44 linux,input-type = <EV_SW>;
46 linux,can-disable;
47 wakeup-source;
48 wakeup-event-action = <EV_ACT_DEASSERTED>;
52 panel_edp: panel-edp {
55 power-supply = <®_dc1sw>;
59 remote-endpoint = <&anx6345_out_edp>;
65 compatible = "regulator-fixed";
66 regulator-name = "vbklt";
67 regulator-min-microvolt = <18000000>;
68 regulator-max-microvolt = <18000000>;
70 enable-active-high;
74 compatible = "regulator-fixed";
75 regulator-name = "vcc5v0";
76 regulator-min-microvolt = <5000000>;
77 regulator-max-microvolt = <5000000>;
79 enable-active-high;
83 compatible = "mmc-pwrseq-simple";
84 reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
87 speaker_amp: audio-amplifier {
88 compatible = "simple-audio-amplifier";
89 VCC-supply = <®_vcc5v0>;
90 enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
91 sound-name-prefix = "Speaker Amp";
101 cpvdd-supply = <®_eldo1>;
106 cpu-supply = <®_dcdc2>;
110 cpu-supply = <®_dcdc2>;
114 cpu-supply = <®_dcdc2>;
118 cpu-supply = <®_dcdc2>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&mmc0_pins>;
144 vmmc-supply = <®_dcdc1>;
145 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
146 disable-wp;
147 bus-width = <4>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&mmc1_pins>;
154 vmmc-supply = <®_dldo4>;
155 vqmmc-supply = <®_eldo1>;
156 mmc-pwrseq = <&wifi_pwrseq>;
157 bus-width = <4>;
158 non-removable;
167 pinctrl-names = "default";
168 pinctrl-0 = <&mmc2_pins>, <&mmc2_ds_pin>;
169 vmmc-supply = <®_dcdc1>;
170 vqmmc-supply = <®_eldo1>;
171 max-frequency = <200000000>;
172 bus-width = <8>;
173 non-removable;
174 cap-mmc-hw-reset;
175 mmc-hs200-1_8v;
188 vcc-pc-supply = <®_eldo1>;
189 vcc-pd-supply = <®_dcdc1>;
190 vcc-pe-supply = <®_aldo1>;
191 vcc-pg-supply = <®_eldo1>;
199 clock-frequency = <100000>;
200 pinctrl-names = "default";
201 pinctrl-0 = <&r_i2c_pl89_pins>;
207 reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */
208 dvdd25-supply = <®_dldo2>;
209 dvdd12-supply = <®_fldo1>;
212 #address-cells = <1>;
213 #size-cells = <0>;
218 remote-endpoint = <&tcon0_out_anx6345>;
225 remote-endpoint = <&panel_edp_in>;
238 * vcc-pl-supply = <®_aldo2>;
246 compatible = "x-powers,axp803";
248 interrupt-parent = <&r_intc>;
264 regulator-name = "vcc-pe";
268 regulator-always-on;
269 regulator-min-microvolt = <1800000>;
270 regulator-max-microvolt = <3300000>;
271 regulator-name = "vcc-pl";
275 regulator-always-on;
276 regulator-min-microvolt = <2700000>;
277 regulator-max-microvolt = <3300000>;
278 regulator-name = "vcc-pll-avcc";
282 regulator-name = "vcc-lcd";
286 regulator-always-on;
287 regulator-min-microvolt = <3300000>;
288 regulator-max-microvolt = <3300000>;
289 regulator-name = "vcc-3v3";
293 regulator-always-on;
294 regulator-min-microvolt = <1000000>;
295 regulator-max-microvolt = <1300000>;
296 regulator-name = "vdd-cpux";
302 regulator-always-on;
303 regulator-min-microvolt = <1200000>;
304 regulator-max-microvolt = <1200000>;
305 regulator-name = "vcc-dram";
309 regulator-always-on;
310 regulator-min-microvolt = <1100000>;
311 regulator-max-microvolt = <1100000>;
312 regulator-name = "vdd-sys";
316 regulator-min-microvolt = <3300000>;
317 regulator-max-microvolt = <3300000>;
318 regulator-name = "vcc-hdmi";
322 regulator-min-microvolt = <2500000>;
323 regulator-max-microvolt = <2500000>;
324 regulator-name = "vcc-edp";
328 regulator-min-microvolt = <3300000>;
329 regulator-max-microvolt = <3300000>;
330 regulator-name = "vcc-wifi";
334 regulator-always-on;
335 regulator-min-microvolt = <1800000>;
336 regulator-max-microvolt = <1800000>;
337 regulator-name = "cpvdd";
341 regulator-min-microvolt = <1200000>;
342 regulator-max-microvolt = <1200000>;
343 regulator-name = "vcc-1v2-hsic";
347 regulator-always-on;
348 regulator-min-microvolt = <1100000>;
349 regulator-max-microvolt = <1100000>;
350 regulator-name = "vdd-cpus";
354 regulator-name = "vcc-rtc";
358 panel-supply = <®_dc1sw>;
359 dvdd25-supply = <®_dldo2>;
360 dvdd12-supply = <®_fldo1>;
364 vcc-hdmi-supply = <®_dldo1>;
369 simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>;
370 simple-audio-card,widgets = "Microphone", "Internal Microphone Left",
371 "Microphone", "Internal Microphone Right",
374 simple-audio-card,routing =
376 "Right DAC", "DACR",
383 "ADCR", "Right ADC",
386 "Internal Microphone Right", "HBIAS",
387 "MIC2", "Internal Microphone Right";
391 pinctrl-names = "default";
392 pinctrl-0 = <&lcd_rgb666_pins>;
399 remote-endpoint = <&anx6345_in_tcon0>;
404 pinctrl-names = "default";
405 pinctrl-0 = <&uart0_pb_pins>;
410 pinctrl-names = "default";
411 pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
412 uart-has-rtscts;
416 compatible = "realtek,rtl8723cs-bt";
417 device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
418 enable-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
419 host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
428 usb0_vbus-supply = <®_vcc5v0>;
429 usb1_vbus-supply = <®_vcc5v0>;