Lines Matching +full:gpio +full:- +full:charger
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 #include <dt-bindings/clock/rockchip,rk808.h>
10 #include <dt-bindings/input/input.h>
11 #include "rk3288-veyron.dtsi"
12 #include "rk3288-veyron-analog-audio.dtsi"
13 #include "rk3288-veyron-edp.dtsi"
14 #include "rk3288-veyron-sdmmc.dtsi"
22 gpio-charger {
23 compatible = "gpio-charger";
24 charger-type = "mains";
26 pinctrl-names = "default";
27 pinctrl-0 = <&ac_present_ap>;
30 lid_switch: lid-switch {
31 compatible = "gpio-keys";
32 pinctrl-names = "default";
33 pinctrl-0 = <&ap_lid_int_l>;
38 wakeup-source;
40 linux,input-type = <EV_SW>;
41 debounce-interval = <1>;
45 /* A non-regulated voltage from power supply or battery */
47 compatible = "regulator-fixed";
48 regulator-name = "vccsys";
49 regulator-boot-on;
50 regulator-always-on;
53 vcc33_sys: vcc33-sys {
54 vin-supply = <&vccsys>;
57 vcc_5v: vcc-5v {
58 vin-supply = <&vccsys>;
62 vcc5_host1: vcc5-host1-regulator {
63 compatible = "regulator-fixed";
64 enable-active-high;
65 gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&host1_pwr_en>;
68 regulator-name = "vcc5_host1";
69 regulator-always-on;
70 regulator-boot-on;
74 vcc5v_otg: vcc5v-otg-regulator {
75 compatible = "regulator-fixed";
76 enable-active-high;
77 gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&usbotg_pwren_h>;
80 regulator-name = "vcc5_host2";
81 regulator-always-on;
82 regulator-boot-on;
87 vcc11-supply = <&vcc_5v>;
91 regulator-name = "vcc33_ccd";
92 regulator-always-on;
93 regulator-boot-on;
94 regulator-min-microvolt = <3300000>;
95 regulator-max-microvolt = <3300000>;
96 regulator-state-mem {
97 regulator-off-in-suspend;
107 compatible = "google,cros-ec-spi";
109 google,cros-ec-spi-pre-delay = <30>;
110 interrupt-parent = <&gpio7>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&ec_int>;
114 spi-max-frequency = <3000000>;
116 i2c_tunnel: i2c-tunnel {
117 compatible = "google,cros-ec-i2c-tunnel";
118 google,remote-bus = <0>;
119 #address-cells = <1>;
120 #size-cells = <0>;
129 interrupt-parent = <&gpio7>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&trackpad_int>;
133 vcc-supply = <&vcc33_io>;
134 wakeup-source;
140 ap_lid_int_l: ap-lid-int-l {
145 charger {
146 ac_present_ap: ac-present-ap {
151 cros-ec {
152 ec_int: ec-int {
158 suspend_l_wake: suspend-l-wake {
162 suspend_l_sleep: suspend-l-sleep {
168 trackpad_int: trackpad-int {
173 usb-host {
174 host1_pwr_en: host1-pwr-en {
178 usbotg_pwren_h: usbotg-pwren-h {
184 #include "cros-ec-keyboard.dtsi"