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_3v4: regulator-lcd-3v4 {
86 compatible = "regulator-fixed";
87 regulator-name = "LCD_3V4";
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_dsibiasen>;
90 vin-supply = <®_vsys_3v4>;
92 enable-active-high;
95 reg_vdd_sen: regulator-vdd-sen {
96 compatible = "regulator-fixed";
97 regulator-name = "VDD_SEN";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
102 reg_vdd_3v3: regulator-vdd-3v3 {
103 compatible = "regulator-fixed";
104 regulator-name = "VDD_3V3";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
109 reg_vdd_1v8: regulator-vdd-1v8 {
110 compatible = "regulator-fixed";
111 regulator-name = "VCC_1V8";
112 regulator-min-microvolt = <1800000>;
113 regulator-max-microvolt = <1800000>;
116 reg_vsys_3v4: regulator-vsys-3v4 {
117 compatible = "regulator-fixed";
118 regulator-name = "VSYS_3V4";
119 regulator-min-microvolt = <3400000>;
120 regulator-max-microvolt = <3400000>;
121 regulator-always-on;
124 reg_wifi_3v3: regulator-wifi-3v3 {
125 compatible = "regulator-fixed";
126 regulator-name = "3V3_WIFI";
127 regulator-min-microvolt = <3300000>;
128 regulator-max-microvolt = <3300000>;
132 compatible = "simple-audio-card";
133 pinctrl-names = "default";
134 pinctrl-0 = <&pinctrl_hp>;
135 simple-audio-card,name = "Librem 5";
136 simple-audio-card,format = "i2s";
137 simple-audio-card,widgets =
142 simple-audio-card,routing =
150 simple-audio-card,hp-det-gpio = <&gpio3 9 GPIO_ACTIVE_HIGH>;
152 simple-audio-card,cpu {
153 sound-dai = <&sai2>;
156 simple-audio-card,codec {
157 sound-dai = <&codec>;
159 frame-master;
160 bitclock-master;
164 sound-wwan {
165 compatible = "simple-audio-card";
166 simple-audio-card,name = "Modem";
167 simple-audio-card,format = "i2s";
169 simple-audio-card,cpu {
170 sound-dai = <&sai6>;
171 frame-inversion;
174 simple-audio-card,codec {
175 sound-dai = <&bm818_codec>;
176 frame-master;
177 bitclock-master;
181 bm818_codec: sound-wwan-codec {
183 #sound-dai-cells = <0>;
187 compatible = "pwm-vibrator";
189 pwm-names = "enable";
190 vcc-supply = <®_vdd_3v3>;
195 cpu-supply = <&buck2_reg>;
199 cpu-supply = <&buck2_reg>;
203 cpu-supply = <&buck2_reg>;
207 cpu-supply = <&buck2_reg>;
211 operating-points-v2 = <&ddrc_opp_table>;
213 ddrc_opp_table: ddrc-opp-table {
214 compatible = "operating-points-v2";
216 opp-25M {
217 opp-hz = /bits/ 64 <25000000>;
220 opp-100M {
221 opp-hz = /bits/ 64 <100000000>;
224 opp-800M {
225 opp-hz = /bits/ 64 <800000000>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_ecspi1>;
237 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
238 #address-cells = <1>;
239 #size-cells = <0>;
243 compatible = "jedec,spi-nor";
245 spi-max-frequency = <1000000>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&pinctrl_pmic_5v>;
253 pmic-5v {
254 gpio-hog;
372 /* VOL- */
597 clock-frequency = <387000>;
598 pinctrl-names = "default";
599 pinctrl-0 = <&pinctrl_i2c1>;
602 typec_pd: usb-pd@3f {
605 pinctrl-names = "default";
606 pinctrl-0 = <&pinctrl_typec>, <&pinctrl_tcpc>;
607 interrupt-parent = <&gpio1>;
609 interrupt-names = "irq";
613 #address-cells = <1>;
614 #size-cells = <0>;
620 remote-endpoint = <&typec_hs>;
628 remote-endpoint = <&typec_ss>;
638 pinctrl-names = "default";
639 pinctrl-0 = <&pinctrl_pmic>;
641 clock-names = "osc";
642 clock-output-names = "pmic_clk";
643 interrupt-parent = <&gpio1>;
645 rohm,reset-snvs-powered;
649 regulator-name = "buck1";
650 regulator-min-microvolt = <700000>;
651 regulator-max-microvolt = <1300000>;
652 regulator-ramp-delay = <1250>;
653 rohm,dvs-run-voltage = <900000>;
654 rohm,dvs-idle-voltage = <850000>;
655 rohm,dvs-suspend-voltage = <800000>;
656 regulator-always-on;
660 regulator-name = "buck2";
661 regulator-min-microvolt = <700000>;
662 regulator-max-microvolt = <1300000>;
663 regulator-ramp-delay = <1250>;
664 rohm,dvs-run-voltage = <1000000>;
665 rohm,dvs-idle-voltage = <900000>;
666 regulator-always-on;
670 regulator-name = "buck3";
671 regulator-min-microvolt = <700000>;
672 regulator-max-microvolt = <1300000>;
673 rohm,dvs-run-voltage = <900000>;
674 regulator-always-on;
678 regulator-name = "buck4";
679 regulator-min-microvolt = <700000>;
680 regulator-max-microvolt = <1300000>;
681 rohm,dvs-run-voltage = <1000000>;
685 regulator-name = "buck5";
686 regulator-min-microvolt = <700000>;
687 regulator-max-microvolt = <1350000>;
688 regulator-always-on;
692 regulator-name = "buck6";
693 regulator-min-microvolt = <3000000>;
694 regulator-max-microvolt = <3300000>;
695 regulator-always-on;
699 regulator-name = "buck7";
700 regulator-min-microvolt = <1605000>;
701 regulator-max-microvolt = <1995000>;
702 regulator-always-on;
706 regulator-name = "buck8";
707 regulator-min-microvolt = <800000>;
708 regulator-max-microvolt = <1400000>;
709 regulator-always-on;
713 regulator-name = "ldo1";
714 regulator-min-microvolt = <3000000>;
715 regulator-max-microvolt = <3300000>;
717 regulator-always-on;
721 regulator-name = "ldo2";
722 regulator-min-microvolt = <900000>;
723 regulator-max-microvolt = <900000>;
725 regulator-always-on;
729 regulator-name = "ldo3";
730 regulator-min-microvolt = <1800000>;
731 regulator-max-microvolt = <3300000>;
732 regulator-always-on;
736 regulator-name = "ldo4";
737 regulator-min-microvolt = <900000>;
738 regulator-max-microvolt = <1800000>;
739 regulator-always-on;
743 /* VDD_PHY_0V9 - MIPI and HDMI domains */
744 regulator-name = "ldo5";
745 regulator-min-microvolt = <1800000>;
746 regulator-max-microvolt = <3300000>;
747 regulator-always-on;
751 /* VDD_PHY_0V9 - MIPI, HDMI and USB domains */
752 regulator-name = "ldo6";
753 regulator-min-microvolt = <900000>;
754 regulator-max-microvolt = <1800000>;
755 regulator-always-on;
759 /* VDD_PHY_3V3 - USB domain */
760 regulator-name = "ldo7";
761 regulator-min-microvolt = <1800000>;
762 regulator-max-microvolt = <3300000>;
763 regulator-always-on;
771 pinctrl-names = "default";
772 pinctrl-0 = <&pinctrl_rtc>;
773 interrupt-parent = <&gpio1>;
779 clock-frequency = <387000>;
780 pinctrl-names = "default";
781 pinctrl-0 = <&pinctrl_i2c2>;
785 compatible = "st,lsm9ds1-magn";
787 pinctrl-names = "default";
788 pinctrl-0 = <&pinctrl_mag>;
789 interrupt-parent = <&gpio3>;
791 vdd-supply = <®_vdd_sen>;
792 vddio-supply = <®_vdd_1v8>;
800 regulator-name = "LCD_AVDD";
801 vin-supply = <®_lcd_3v4>;
805 regulator-name = "LCD_AVEE";
806 vin-supply = <®_lcd_3v4>;
813 pinctrl-names = "default";
814 pinctrl-0 = <&pinctrl_prox>;
815 interrupt-parent = <&gpio3>;
819 accel_gyro: accel-gyro@6a {
820 compatible = "st,lsm9ds1-imu";
822 vdd-supply = <®_vdd_sen>;
823 vddio-supply = <®_vdd_1v8>;
828 clock-frequency = <387000>;
829 pinctrl-names = "default";
830 pinctrl-0 = <&pinctrl_i2c3>;
833 codec: audio-codec@1a {
837 assigned-clocks = <&clk IMX8MQ_CLK_SAI2>;
838 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
839 assigned-clock-rates = <24576000>;
840 #sound-dai-cells = <0>;
841 mic-cfg = <0x200>;
842 DCVDD-supply = <®_aud_1v8>;
843 DBVDD-supply = <®_aud_1v8>;
844 AVDD-supply = <®_aud_1v8>;
845 CPVDD-supply = <®_aud_1v8>;
846 MICVDD-supply = <®_aud_1v8>;
847 PLLVDD-supply = <®_aud_1v8>;
848 SPKVDD1-supply = <®_vsys_3v4>;
849 SPKVDD2-supply = <®_vsys_3v4>;
850 gpio-cfg = <
863 pinctrl-names = "default";
864 pinctrl-0 = <&pinctrl_bl>;
865 #address-cells = <1>;
866 #size-cells = <0>;
867 enable-gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
868 vled-supply = <®_vsys_3v4>;
869 ti,ovp-microvolt = <25000000>;
874 linux,default-trigger = "backlight";
875 led-max-microamp = <20000>;
880 compatible = "edt,edt-ft5506";
882 interrupt-parent = <&gpio1>;
884 touchscreen-size-x = <720>;
885 touchscreen-size-y = <1440>;
890 clock-frequency = <387000>;
891 pinctrl-names = "default";
892 pinctrl-0 = <&pinctrl_i2c4>;
895 bat: fuel-gauge@36 {
898 interrupt-parent = <&gpio3>;
900 pinctrl-names = "default";
901 pinctrl-0 = <&pinctrl_gauge>;
902 maxim,over-heat-temp = <700>;
903 maxim,over-volt = <4500>;
904 maxim,rsns-microohm = <5000>;
910 pinctrl-names = "default";
911 pinctrl-0 = <&pinctrl_charger_in>;
912 interrupt-parent = <&gpio3>;
915 ti,precharge-current = <130000>; /* uA */
916 ti,minimum-sys-voltage = <3700000>; /* uV */
917 ti,boost-voltage = <5000000>; /* uV */
918 ti,boost-max-current = <500000>; /* uA */
919 ti,use-vinmin-threshold = <1>; /* enable VINDPM */
920 ti,vinmin-threshold = <3900000>; /* uV */
921 monitored-battery = <&bat>;
926 power-supply = <&buck3_reg>;
930 power-supply = <&ldo5_reg>;
934 power-supply = <&buck4_reg>;
938 pinctrl-names = "default";
939 pinctrl-0 = <&pinctrl_haptic>;
944 pinctrl-names = "default";
945 pinctrl-0 = <&pinctrl_led_b>;
950 pinctrl-names = "default";
951 pinctrl-0 = <&pinctrl_led_g>;
956 pinctrl-names = "default";
957 pinctrl-0 = <&pinctrl_led_r>;
962 pinctrl-names = "default";
963 pinctrl-0 = <&pinctrl_sai2>;
964 assigned-clocks = <&clk IMX8MQ_CLK_SAI2>;
965 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
966 assigned-clock-rates = <24576000>;
967 assigned-clocks = <&clk IMX8MQ_AUDIO_PLL1>, <&clk IMX8MQ_AUDIO_PLL2>;
968 assigned-clock-rates = <786432000>, <722534400>;
973 pinctrl-names = "default";
974 pinctrl-0 = <&pinctrl_sai6>;
975 assigned-clocks = <&clk IMX8MQ_CLK_SAI6>;
976 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
977 assigned-clock-rates = <24576000>;
978 fsl,sai-synchronous-rx;
991 pinctrl-names = "default";
992 pinctrl-0 = <&pinctrl_uart1>;
996 &uart2 { /* TPS - GPS - DEBUG */
997 pinctrl-names = "default";
998 pinctrl-0 = <&pinctrl_uart2>;
1003 vcc-supply = <®_gnss>;
1004 current-speed = <9600>;
1009 pinctrl-names = "default";
1010 pinctrl-0 = <&pinctrl_uart3>;
1015 pinctrl-names = "default";
1016 pinctrl-0 = <&pinctrl_uart4>;
1017 uart-has-rtscts;
1026 vbus-supply = <®_hub>;
1031 #address-cells = <1>;
1032 #size-cells = <0>;
1041 remote-endpoint = <&usb_con_hs>;
1049 remote-endpoint = <&usb_con_ss>;
1057 #address-cells = <1>;
1058 #size-cells = <0>;
1064 #address-cells = <1>;
1065 #size-cells = <0>;
1067 mass-storage@1 {
1075 pinctrl-names = "default", "state_100mhz", "state_200mhz";
1076 pinctrl-0 = <&pinctrl_usdhc1>;
1077 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
1078 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
1079 bus-width = <8>;
1080 vmmc-supply = <®_vdd_3v3>;
1081 power-supply = <®_vdd_1v8>;
1082 non-removable;
1087 pinctrl-names = "default", "state_100mhz", "state_200mhz";
1088 pinctrl-0 = <&pinctrl_usdhc2>;
1089 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
1090 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
1091 bus-width = <4>;
1092 vmmc-supply = <®_wifi_3v3>;
1093 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
1094 disable-wp;
1095 cap-sdio-irq;
1096 keep-power-in-suspend;
1097 wakeup-source;
1102 pinctrl-names = "default";
1103 pinctrl-0 = <&pinctrl_wdog>;
1104 fsl,ext-reset-output;