Lines Matching +full:precharge +full:- +full:current +full:- +full:microamp

1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2020 Purism SPC
6 /dts-v1/;
8 #include "dt-bindings/input/input.h"
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dt-bindings/pwm/pwm.h"
11 #include "dt-bindings/usb/pd.h"
18 backlight_dsi: backlight-dsi {
19 compatible = "led-backlight";
23 pmic_osc: clock-pmic {
24 compatible = "fixed-clock";
25 #clock-cells = <0>;
26 clock-frequency = <32768>;
27 clock-output-names = "pmic_osc";
31 stdout-path = &uart1;
34 gpio-keys {
35 compatible = "gpio-keys";
36 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_keys>;
39 vol-down {
45 vol-up {
52 reg_aud_1v8: regulator-audio-1v8 {
53 compatible = "regulator-fixed";
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_audiopwr>;
56 regulator-name = "AUDIO_PWR_EN";
57 regulator-min-microvolt = <1800000>;
58 regulator-max-microvolt = <1800000>;
60 enable-active-high;
63 reg_gnss: regulator-gnss {
64 compatible = "regulator-fixed";
65 pinctrl-names = "default";
66 pinctrl-0 = <&pinctrl_gnsspwr>;
67 regulator-name = "GNSS";
68 regulator-min-microvolt = <3300000>;
69 regulator-max-microvolt = <3300000>;
71 enable-active-high;
74 reg_hub: regulator-hub {
75 compatible = "regulator-fixed";
76 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_hub_pwr>;
78 regulator-name = "HUB";
79 regulator-min-microvolt = <3300000>;
80 regulator-max-microvolt = <3300000>;
82 enable-active-high;
85 reg_lcd_1v8: regulator-lcd-1v8 {
86 compatible = "regulator-fixed";
87 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_dsien>;
89 regulator-name = "LCD_1V8";
90 regulator-min-microvolt = <1800000>;
91 regulator-max-microvolt = <1800000>;
92 vin-supply = <&reg_vdd_1v8>;
94 enable-active-high;
96 regulator-always-on;
99 reg_lcd_3v4: regulator-lcd-3v4 {
100 compatible = "regulator-fixed";
101 regulator-name = "LCD_3V4";
102 pinctrl-names = "default";
103 pinctrl-0 = <&pinctrl_dsibiasen>;
104 vin-supply = <&reg_vsys_3v4>;
106 enable-active-high;
109 reg_vdd_sen: regulator-vdd-sen {
110 compatible = "regulator-fixed";
111 regulator-name = "VDD_SEN";
112 regulator-min-microvolt = <3300000>;
113 regulator-max-microvolt = <3300000>;
116 reg_vdd_1v8: regulator-vdd-1v8 {
117 compatible = "regulator-fixed";
118 regulator-name = "VDD_1V8";
119 regulator-min-microvolt = <1800000>;
120 regulator-max-microvolt = <1800000>;
121 vin-supply = <&buck7_reg>;
124 reg_vdd_3v3: regulator-vdd-3v3 {
125 compatible = "regulator-fixed";
126 regulator-name = "VDD_3V3";
127 regulator-min-microvolt = <3300000>;
128 regulator-max-microvolt = <3300000>;
131 reg_vsys_3v4: regulator-vsys-3v4 {
132 compatible = "regulator-fixed";
133 regulator-name = "VSYS_3V4";
134 regulator-min-microvolt = <3400000>;
135 regulator-max-microvolt = <3400000>;
136 regulator-always-on;
139 reg_wifi_3v3: regulator-wifi-3v3 {
140 compatible = "regulator-fixed";
141 regulator-name = "3V3_WIFI";
142 regulator-min-microvolt = <3300000>;
143 regulator-max-microvolt = <3300000>;
147 compatible = "simple-audio-card";
148 pinctrl-names = "default";
149 pinctrl-0 = <&pinctrl_hp>;
150 simple-audio-card,name = "Librem 5";
151 simple-audio-card,format = "i2s";
152 simple-audio-card,widgets =
157 simple-audio-card,routing =
165 simple-audio-card,hp-det-gpio = <&gpio3 9 GPIO_ACTIVE_HIGH>;
167 simple-audio-card,cpu {
168 sound-dai = <&sai2>;
171 simple-audio-card,codec {
172 sound-dai = <&codec>;
174 frame-master;
175 bitclock-master;
179 sound-wwan {
180 compatible = "simple-audio-card";
181 simple-audio-card,name = "Modem";
182 simple-audio-card,format = "i2s";
184 simple-audio-card,cpu {
185 sound-dai = <&sai6>;
186 frame-inversion;
189 simple-audio-card,codec {
190 sound-dai = <&bm818_codec>;
191 frame-master;
192 bitclock-master;
196 bm818_codec: sound-wwan-codec {
198 #sound-dai-cells = <0>;
202 compatible = "pwm-vibrator";
204 pwm-names = "enable";
205 vcc-supply = <&reg_vdd_3v3>;
210 cpu-supply = <&buck2_reg>;
214 cpu-supply = <&buck2_reg>;
218 cpu-supply = <&buck2_reg>;
222 cpu-supply = <&buck2_reg>;
226 operating-points-v2 = <&ddrc_opp_table>;
228 ddrc_opp_table: ddrc-opp-table {
229 compatible = "operating-points-v2";
231 opp-25M {
232 opp-hz = /bits/ 64 <25000000>;
235 opp-100M {
236 opp-hz = /bits/ 64 <100000000>;
239 opp-800M {
240 opp-hz = /bits/ 64 <800000000>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&pinctrl_ecspi1>;
252 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
253 #address-cells = <1>;
254 #size-cells = <0>;
258 compatible = "jedec,spi-nor";
260 spi-max-frequency = <1000000>;
261 #address-cells = <1>;
262 #size-cells = <1>;
267 read-only;
273 read-only;
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_pmic_5v>;
287 pmic-5v-hog {
288 gpio-hog;
291 lane-mapping = "pmic-5v";
418 /* VOL- */
650 clock-frequency = <387000>;
651 pinctrl-names = "default";
652 pinctrl-0 = <&pinctrl_i2c1>;
655 typec_pd: usb-pd@3f {
658 pinctrl-names = "default";
659 pinctrl-0 = <&pinctrl_typec>, <&pinctrl_tcpc>;
660 interrupt-parent = <&gpio1>;
662 interrupt-names = "irq";
666 #address-cells = <1>;
667 #size-cells = <0>;
673 remote-endpoint = <&typec_hs>;
681 remote-endpoint = <&typec_ss>;
691 pinctrl-names = "default";
692 pinctrl-0 = <&pinctrl_pmic>;
694 clock-names = "osc";
695 clock-output-names = "pmic_clk";
696 interrupt-parent = <&gpio1>;
698 rohm,reset-snvs-powered;
702 regulator-name = "buck1";
703 regulator-min-microvolt = <700000>;
704 regulator-max-microvolt = <1300000>;
705 regulator-boot-on;
706 regulator-ramp-delay = <1250>;
707 rohm,dvs-run-voltage = <900000>;
708 rohm,dvs-idle-voltage = <850000>;
709 rohm,dvs-suspend-voltage = <800000>;
710 regulator-always-on;
714 regulator-name = "buck2";
715 regulator-min-microvolt = <700000>;
716 regulator-max-microvolt = <1300000>;
717 regulator-boot-on;
718 regulator-ramp-delay = <1250>;
719 rohm,dvs-run-voltage = <1000000>;
720 rohm,dvs-idle-voltage = <900000>;
721 regulator-always-on;
725 regulator-name = "buck3";
726 regulator-min-microvolt = <700000>;
727 regulator-max-microvolt = <1300000>;
728 regulator-boot-on;
729 rohm,dvs-run-voltage = <900000>;
733 regulator-name = "buck4";
734 regulator-min-microvolt = <700000>;
735 regulator-max-microvolt = <1300000>;
736 rohm,dvs-run-voltage = <1000000>;
740 regulator-name = "buck5";
741 regulator-min-microvolt = <700000>;
742 regulator-max-microvolt = <1350000>;
743 regulator-boot-on;
744 regulator-always-on;
748 regulator-name = "buck6";
749 regulator-min-microvolt = <3000000>;
750 regulator-max-microvolt = <3300000>;
751 regulator-boot-on;
752 regulator-always-on;
756 regulator-name = "buck7";
757 regulator-min-microvolt = <1605000>;
758 regulator-max-microvolt = <1995000>;
759 regulator-boot-on;
760 regulator-always-on;
764 regulator-name = "buck8";
765 regulator-min-microvolt = <800000>;
766 regulator-max-microvolt = <1400000>;
767 regulator-boot-on;
768 regulator-always-on;
772 regulator-name = "ldo1";
773 regulator-min-microvolt = <3000000>;
774 regulator-max-microvolt = <3300000>;
775 regulator-boot-on;
777 regulator-always-on;
781 regulator-name = "ldo2";
782 regulator-min-microvolt = <900000>;
783 regulator-max-microvolt = <900000>;
784 regulator-boot-on;
786 regulator-always-on;
790 regulator-name = "ldo3";
791 regulator-min-microvolt = <1800000>;
792 regulator-max-microvolt = <3300000>;
793 regulator-boot-on;
794 regulator-always-on;
798 regulator-name = "ldo4";
799 regulator-min-microvolt = <900000>;
800 regulator-max-microvolt = <1800000>;
801 regulator-boot-on;
802 regulator-always-on;
806 /* VDD_PHY_0V9 - MIPI and HDMI domains */
807 regulator-name = "ldo5";
808 regulator-min-microvolt = <1800000>;
809 regulator-max-microvolt = <3300000>;
810 regulator-always-on;
814 /* VDD_PHY_0V9 - MIPI, HDMI and USB domains */
815 regulator-name = "ldo6";
816 regulator-min-microvolt = <900000>;
817 regulator-max-microvolt = <1800000>;
818 regulator-boot-on;
819 regulator-always-on;
823 /* VDD_PHY_3V3 - USB domain */
824 regulator-name = "ldo7";
825 regulator-min-microvolt = <1800000>;
826 regulator-max-microvolt = <3300000>;
827 regulator-boot-on;
828 regulator-always-on;
836 pinctrl-names = "default";
837 pinctrl-0 = <&pinctrl_rtc>;
838 interrupt-parent = <&gpio1>;
844 clock-frequency = <387000>;
845 pinctrl-names = "default";
846 pinctrl-0 = <&pinctrl_i2c2>;
850 compatible = "st,lsm9ds1-magn";
852 pinctrl-names = "default";
853 pinctrl-0 = <&pinctrl_mag>;
854 interrupt-parent = <&gpio3>;
856 vdd-supply = <&reg_vdd_sen>;
857 vddio-supply = <&reg_vdd_1v8>;
865 regulator-name = "LCD_AVDD";
866 vin-supply = <&reg_lcd_3v4>;
870 regulator-name = "LCD_AVEE";
871 vin-supply = <&reg_lcd_3v4>;
878 pinctrl-names = "default";
879 pinctrl-0 = <&pinctrl_prox>;
880 interrupt-parent = <&gpio3>;
884 accel_gyro: accel-gyro@6a {
885 compatible = "st,lsm9ds1-imu";
887 vdd-supply = <&reg_vdd_sen>;
888 vddio-supply = <&reg_vdd_1v8>;
893 clock-frequency = <387000>;
894 pinctrl-names = "default";
895 pinctrl-0 = <&pinctrl_i2c3>;
898 codec: audio-codec@1a {
902 assigned-clocks = <&clk IMX8MQ_CLK_SAI2>;
903 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
904 assigned-clock-rates = <24576000>;
905 #sound-dai-cells = <0>;
906 mic-cfg = <0x200>;
907 DCVDD-supply = <&reg_aud_1v8>;
908 DBVDD-supply = <&reg_aud_1v8>;
909 AVDD-supply = <&reg_aud_1v8>;
910 CPVDD-supply = <&reg_aud_1v8>;
911 MICVDD-supply = <&reg_aud_1v8>;
912 PLLVDD-supply = <&reg_aud_1v8>;
913 SPKVDD1-supply = <&reg_vsys_3v4>;
914 SPKVDD2-supply = <&reg_vsys_3v4>;
915 gpio-cfg = <
928 pinctrl-names = "default";
929 pinctrl-0 = <&pinctrl_bl>;
930 #address-cells = <1>;
931 #size-cells = <0>;
932 enable-gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
933 vled-supply = <&reg_vsys_3v4>;
934 ti,ovp-microvolt = <25000000>;
939 linux,default-trigger = "backlight";
940 led-max-microamp = <20000>;
945 compatible = "edt,edt-ft5506";
947 pinctrl-names = "default";
948 pinctrl-0 = <&pinctrl_touch>;
949 interrupt-parent = <&gpio1>;
951 touchscreen-size-x = <720>;
952 touchscreen-size-y = <1440>;
953 vcc-supply = <&reg_lcd_1v8>;
958 clock-frequency = <387000>;
959 pinctrl-names = "default";
960 pinctrl-0 = <&pinctrl_i2c4>;
963 bat: fuel-gauge@36 {
966 interrupt-parent = <&gpio3>;
968 pinctrl-names = "default";
969 pinctrl-0 = <&pinctrl_gauge>;
970 maxim,over-heat-temp = <700>;
971 maxim,over-volt = <4500>;
972 maxim,rsns-microohm = <5000>;
978 pinctrl-names = "default";
979 pinctrl-0 = <&pinctrl_charger_in>;
980 interrupt-parent = <&gpio3>;
983 ti,precharge-current = <130000>; /* uA */
984 ti,minimum-sys-voltage = <3700000>; /* uV */
985 ti,boost-voltage = <5000000>; /* uV */
986 ti,boost-max-current = <500000>; /* uA */
987 ti,use-vinmin-threshold = <1>; /* enable VINDPM */
988 ti,vinmin-threshold = <3900000>; /* uV */
989 monitored-battery = <&bat>;
990 power-supplies = <&typec_pd>;
999 #address-cells = <1>;
1000 #size-cells = <0>;
1004 compatible = "mantix,mlaf057we51-x";
1006 pinctrl-names = "default";
1007 pinctrl-0 = <&pinctrl_dsirst>;
1008 avdd-supply = <&reg_lcd_avdd>;
1009 avee-supply = <&reg_lcd_avee>;
1010 vddi-supply = <&reg_lcd_1v8>;
1012 reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
1016 remote-endpoint = <&mipi_dsi_out>;
1026 remote-endpoint = <&panel_in>;
1033 power-supply = <&buck3_reg>;
1037 power-supply = <&ldo5_reg>;
1041 power-supply = <&buck4_reg>;
1045 pinctrl-names = "default";
1046 pinctrl-0 = <&pinctrl_haptic>;
1051 pinctrl-names = "default";
1052 pinctrl-0 = <&pinctrl_led_b>;
1057 pinctrl-names = "default";
1058 pinctrl-0 = <&pinctrl_led_g>;
1063 pinctrl-names = "default";
1064 pinctrl-0 = <&pinctrl_led_r>;
1069 pinctrl-names = "default";
1070 pinctrl-0 = <&pinctrl_sai2>;
1071 assigned-clocks = <&clk IMX8MQ_CLK_SAI2>;
1072 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
1073 assigned-clock-rates = <24576000>;
1078 pinctrl-names = "default";
1079 pinctrl-0 = <&pinctrl_sai6>;
1080 assigned-clocks = <&clk IMX8MQ_CLK_SAI6>;
1081 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
1082 assigned-clock-rates = <24576000>;
1083 fsl,sai-synchronous-rx;
1096 pinctrl-names = "default";
1097 pinctrl-0 = <&pinctrl_uart1>;
1101 &uart2 { /* TPS - GPS - DEBUG */
1102 pinctrl-names = "default";
1103 pinctrl-0 = <&pinctrl_uart2>;
1108 vcc-supply = <&reg_gnss>;
1109 current-speed = <9600>;
1114 pinctrl-names = "default";
1115 pinctrl-0 = <&pinctrl_uart3>;
1120 pinctrl-names = "default";
1121 pinctrl-0 = <&pinctrl_uart4>;
1122 uart-has-rtscts;
1131 vbus-supply = <&reg_hub>;
1136 #address-cells = <1>;
1137 #size-cells = <0>;
1146 remote-endpoint = <&usb_con_hs>;
1154 remote-endpoint = <&usb_con_ss>;
1162 #address-cells = <1>;
1163 #size-cells = <0>;
1169 #address-cells = <1>;
1170 #size-cells = <0>;
1172 mass-storage@1 {
1180 assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>;
1181 assigned-clock-rates = <400000000>;
1182 pinctrl-names = "default", "state_100mhz", "state_200mhz";
1183 pinctrl-0 = <&pinctrl_usdhc1>;
1184 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
1185 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
1186 bus-width = <8>;
1187 vmmc-supply = <&reg_vdd_3v3>;
1188 power-supply = <&reg_vdd_1v8>;
1189 non-removable;
1194 assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>;
1195 assigned-clock-rates = <200000000>;
1196 pinctrl-names = "default", "state_100mhz", "state_200mhz";
1197 pinctrl-0 = <&pinctrl_usdhc2>;
1198 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
1199 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
1200 bus-width = <4>;
1201 vmmc-supply = <&reg_wifi_3v3>;
1202 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
1203 disable-wp;
1204 cap-sdio-irq;
1205 keep-power-in-suspend;
1206 wakeup-source;
1211 pinctrl-names = "default";
1212 pinctrl-0 = <&pinctrl_wdog>;
1213 fsl,ext-reset-output;