Lines Matching +full:op +full:- +full:sink +full:- +full:microwatt
1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2019 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"
16 compatible = "purism,librem5-devkit", "fsl,imx8mq";
18 backlight_dsi: backlight-dsi {
19 compatible = "pwm-backlight";
22 brightness-levels = <0 100>;
23 num-interpolated-steps = <100>;
25 /* the "brightness-levels" property) */
26 default-brightness-level = <0>;
27 power-supply = <®_22v4_p>;
31 stdout-path = &uart1;
34 gpio-keys {
35 compatible = "gpio-keys";
36 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_gpio_keys>;
42 wakeup-source;
49 wakeup-source;
53 hp-det {
56 wakeup-source;
60 wwan-wake {
63 interrupt-parent = <&gpio3>;
65 wakeup-source;
71 compatible = "gpio-leds";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_gpio_leds>;
78 default-state = "off";
82 pmic_osc: clock-pmic {
83 compatible = "fixed-clock";
84 #clock-cells = <0>;
85 clock-frequency = <32768>;
86 clock-output-names = "pmic_osc";
89 reg_1v8_p: regulator-1v8-p {
90 compatible = "regulator-fixed";
91 regulator-name = "1v8_p";
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
94 vin-supply = <®_pwr_en>;
97 reg_2v8_p: regulator-2v8-p {
98 compatible = "regulator-fixed";
99 regulator-name = "2v8_p";
100 regulator-min-microvolt = <2800000>;
101 regulator-max-microvolt = <2800000>;
102 vin-supply = <®_pwr_en>;
105 reg_3v3_p: regulator-3v3-p {
106 compatible = "regulator-fixed";
107 regulator-name = "3v3_p";
108 regulator-min-microvolt = <3300000>;
109 regulator-max-microvolt = <3300000>;
110 vin-supply = <®_pwr_en>;
112 regulator-state-mem {
113 regulator-on-in-suspend;
117 reg_5v_p: regulator-5v-p {
118 compatible = "regulator-fixed";
119 regulator-name = "5v_p";
120 regulator-min-microvolt = <5000000>;
121 regulator-max-microvolt = <5000000>;
122 vin-supply = <®_pwr_en>;
124 regulator-state-mem {
125 regulator-on-in-suspend;
129 reg_22v4_p: regulator-22v4-p {
130 compatible = "regulator-fixed";
131 regulator-name = "22v4_P";
132 regulator-min-microvolt = <22400000>;
133 regulator-max-microvolt = <22400000>;
134 vin-supply = <®_pwr_en>;
137 reg_pwr_en: regulator-pwr-en {
138 compatible = "regulator-fixed";
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_pwr_en>;
141 regulator-name = "PWR_EN";
142 regulator-min-microvolt = <3300000>;
143 regulator-max-microvolt = <3300000>;
145 enable-active-high;
146 regulator-always-on;
149 reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
150 compatible = "regulator-fixed";
151 pinctrl-names = "default";
152 pinctrl-0 = <&pinctrl_usdhc2_pwr>;
153 regulator-name = "VSD_3V3";
154 regulator-min-microvolt = <3300000>;
155 regulator-max-microvolt = <3300000>;
157 enable-active-high;
158 regulator-always-on;
161 wwan_codec: sound-wwan-codec {
163 #sound-dai-cells = <0>;
167 compatible = "simple-audio-card";
168 simple-audio-card,name = "sgtl5000";
169 simple-audio-card,format = "i2s";
170 simple-audio-card,widgets =
175 simple-audio-card,routing =
182 simple-audio-card,cpu {
183 sound-dai = <&sai2>;
186 simple-audio-card,codec {
187 sound-dai = <&sgtl5000>;
189 frame-master;
190 bitclock-master;
194 sound-wwan {
195 compatible = "simple-audio-card";
196 simple-audio-card,name = "SIMCom SIM7100";
197 simple-audio-card,format = "dsp_a";
199 simple-audio-card,cpu {
200 sound-dai = <&sai6>;
203 telephony_link_master: simple-audio-card,codec {
204 sound-dai = <&wwan_codec>;
205 frame-master;
206 bitclock-master;
211 compatible = "gpio-vibrator";
212 pinctrl-names = "default";
213 pinctrl-0 = <&pinctrl_haptic>;
214 enable-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
215 vcc-supply = <®_3v3_p>;
218 wifi_pwr_en: regulator-wifi-en {
219 compatible = "regulator-fixed";
220 pinctrl-names = "default";
221 pinctrl-0 = <&pinctrl_wifi_pwr_en>;
222 regulator-name = "WIFI_EN";
223 regulator-min-microvolt = <3300000>;
224 regulator-max-microvolt = <3300000>;
226 enable-active-high;
227 regulator-always-on;
232 cpu-supply = <&buck2_reg>;
236 cpu-supply = <&buck2_reg>;
240 cpu-supply = <&buck2_reg>;
244 cpu-supply = <&buck2_reg>;
248 assigned-clocks = <&clk IMX8MQ_AUDIO_PLL1>, <&clk IMX8MQ_AUDIO_PLL2>;
249 assigned-clock-rates = <786432000>, <722534400>;
257 pinctrl-names = "default";
258 pinctrl-0 = <&pinctrl_fec1>;
259 phy-mode = "rgmii-id";
260 phy-handle = <ðphy0>;
261 fsl,magic-packet;
262 phy-supply = <®_3v3_p>;
266 #address-cells = <1>;
267 #size-cells = <0>;
269 ethphy0: ethernet-phy@1 {
270 compatible = "ethernet-phy-ieee802.3-c22";
277 clock-frequency = <100000>;
278 pinctrl-names = "default";
279 pinctrl-0 = <&pinctrl_i2c1>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&pinctrl_pmic>;
288 clock-names = "osc";
289 #clock-cells = <0>;
290 clock-output-names = "pmic_clk";
291 interrupt-parent = <&gpio1>;
293 rohm,reset-snvs-powered;
297 regulator-name = "buck1";
298 regulator-min-microvolt = <700000>;
299 regulator-max-microvolt = <1300000>;
300 regulator-boot-on;
301 regulator-ramp-delay = <1250>;
302 rohm,dvs-run-voltage = <900000>;
303 rohm,dvs-idle-voltage = <850000>;
304 rohm,dvs-suspend-voltage = <800000>;
308 regulator-name = "buck2";
309 regulator-min-microvolt = <700000>;
310 regulator-max-microvolt = <1300000>;
311 regulator-boot-on;
312 regulator-ramp-delay = <1250>;
313 rohm,dvs-run-voltage = <1000000>;
314 rohm,dvs-idle-voltage = <900000>;
318 regulator-name = "buck3";
319 regulator-min-microvolt = <700000>;
320 regulator-max-microvolt = <1300000>;
321 regulator-boot-on;
322 rohm,dvs-run-voltage = <900000>;
326 regulator-name = "buck4";
327 regulator-min-microvolt = <700000>;
328 regulator-max-microvolt = <1300000>;
329 rohm,dvs-run-voltage = <1000000>;
333 regulator-name = "buck5";
334 regulator-min-microvolt = <700000>;
335 regulator-max-microvolt = <1350000>;
336 regulator-boot-on;
340 regulator-name = "buck6";
341 regulator-min-microvolt = <3000000>;
342 regulator-max-microvolt = <3300000>;
343 regulator-boot-on;
347 regulator-name = "buck7";
348 regulator-min-microvolt = <1605000>;
349 regulator-max-microvolt = <1995000>;
350 regulator-boot-on;
354 regulator-name = "buck8";
355 regulator-min-microvolt = <800000>;
356 regulator-max-microvolt = <1400000>;
357 regulator-boot-on;
361 regulator-name = "ldo1";
362 regulator-min-microvolt = <3000000>;
363 regulator-max-microvolt = <3300000>;
364 regulator-boot-on;
366 regulator-always-on;
370 regulator-name = "ldo2";
371 regulator-min-microvolt = <900000>;
372 regulator-max-microvolt = <900000>;
373 regulator-boot-on;
375 regulator-always-on;
379 regulator-name = "ldo3";
380 regulator-min-microvolt = <1800000>;
381 regulator-max-microvolt = <3300000>;
382 regulator-boot-on;
386 regulator-name = "ldo4";
387 regulator-min-microvolt = <900000>;
388 regulator-max-microvolt = <1800000>;
389 regulator-boot-on;
393 regulator-name = "ldo5";
394 regulator-min-microvolt = <1800000>;
395 regulator-max-microvolt = <3300000>;
399 regulator-name = "ldo6";
400 regulator-min-microvolt = <900000>;
401 regulator-max-microvolt = <1800000>;
402 regulator-boot-on;
406 regulator-name = "ldo7";
407 regulator-min-microvolt = <1800000>;
408 regulator-max-microvolt = <3300000>;
409 regulator-boot-on;
414 typec_ptn5100: usb-typec@52 {
417 pinctrl-names = "default";
418 pinctrl-0 = <&pinctrl_typec>;
419 interrupt-parent = <&gpio3>;
423 compatible = "usb-c-connector";
424 label = "USB-C";
425 data-role = "dual";
426 power-role = "dual";
427 try-power-role = "sink";
428 source-pdos = <PDO_FIXED(5000, 2000,
432 sink-pdos = <PDO_FIXED(5000, 3500, PDO_FIXED_USB_COMM |
436 op-sink-microwatt = <10000000>;
439 #address-cells = <1>;
440 #size-cells = <0>;
446 remote-endpoint = <&typec_hs>;
454 remote-endpoint = <&typec_ss>;
464 pinctrl-names = "default";
465 pinctrl-0 = <&pinctrl_rtc>;
466 interrupt-parent = <&gpio4>;
473 pinctrl-names = "default";
474 pinctrl-0 = <&pinctrl_charger>;
475 interrupt-parent = <&gpio3>;
477 ti,battery-regulation-voltage = <4192000>; /* 4.192V */
478 ti,charge-current = <1600000>; /* 1.6A */
479 ti,termination-current = <66000>; /* 66mA */
480 ti,precharge-current = <130000>; /* 130mA */
481 ti,minimum-sys-voltage = <3000000>; /* 3V */
482 ti,boost-voltage = <5000000>; /* 5V */
483 ti,boost-max-current = <50000>; /* 50mA */
488 clock-frequency = <100000>;
489 pinctrl-names = "default";
490 pinctrl-0 = <&pinctrl_i2c3>;
494 compatible = "st,lsm9ds1-magn";
496 pinctrl-names = "default";
497 pinctrl-0 = <&pinctrl_imu>;
498 interrupt-parent = <&gpio3>;
500 vdd-supply = <®_3v3_p>;
501 vddio-supply = <®_3v3_p>;
504 sgtl5000: audio-codec@a {
507 assigned-clocks = <&clk IMX8MQ_CLK_SAI2>;
508 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
509 assigned-clock-rates = <24576000>;
510 #sound-dai-cells = <0>;
512 VDDD-supply = <®_1v8_p>;
513 VDDIO-supply = <®_3v3_p>;
514 VDDA-supply = <®_3v3_p>;
520 pinctrl-names = "default";
521 pinctrl-0 = <&pinctrl_ts>;
522 interrupt-parent = <&gpio3>;
524 reset-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
525 irq-gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
526 touchscreen-size-x = <720>;
527 touchscreen-size-y = <1440>;
528 AVDD28-supply = <®_2v8_p>;
529 VDDIO-supply = <®_1v8_p>;
532 proximity-sensor@60 {
535 pinctrl-0 = <&pinctrl_prox>;
538 accel-gyro@6a {
539 compatible = "st,lsm9ds1-imu";
541 vdd-supply = <®_3v3_p>;
542 vddio-supply = <®_3v3_p>;
543 mount-matrix = "1", "0", "0",
545 "0", "0", "-1";
738 pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
755 pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
795 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
806 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
844 #address-cells = <1>;
845 #size-cells = <0>;
851 reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
852 iovcc-supply = <®_1v8_p>;
853 vcc-supply = <®_2v8_p>;
856 remote-endpoint = <&mipi_dsi_out>;
865 remote-endpoint = <&panel_in>;
872 power-supply = <&buck3_reg>;
876 power-supply = <&buck4_reg>;
880 pinctrl-names = "default";
881 pinctrl-0 = <&pinctrl_bl>;
890 pinctrl-names = "default";
891 pinctrl-0 = <&pinctrl_sai2>;
892 assigned-clocks = <&clk IMX8MQ_CLK_SAI2>;
893 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
894 assigned-clock-rates = <24576000>;
899 pinctrl-names = "default";
900 pinctrl-0 = <&pinctrl_sai6>;
901 assigned-clocks = <&clk IMX8MQ_CLK_SAI6>;
902 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
903 assigned-clock-rates = <24576000>;
904 fsl,sai-synchronous-rx;
909 pinctrl-names = "default";
910 pinctrl-0 = <&pinctrl_uart1>;
915 pinctrl-names = "default";
916 pinctrl-0 = <&pinctrl_uart3>;
921 pinctrl-names = "default";
922 pinctrl-0 = <&pinctrl_uart4>, <&pinctrl_bt>;
923 uart-has-rtscts;
928 vbus-supply = <®_5v_p>;
933 vbus-supply = <®_5v_p>;
938 #address-cells = <1>;
939 #size-cells = <0>;
947 remote-endpoint = <&usb_con_hs>;
955 remote-endpoint = <&usb_con_ss>;
966 assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>;
967 assigned-clock-rates = <400000000>;
968 pinctrl-names = "default", "state_100mhz", "state_200mhz";
969 pinctrl-0 = <&pinctrl_usdhc1>;
970 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
971 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
972 bus-width = <8>;
973 non-removable;
978 assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>;
979 assigned-clock-rates = <200000000>;
980 pinctrl-names = "default", "state_100mhz", "state_200mhz";
981 pinctrl-0 = <&pinctrl_usdhc2>;
982 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
983 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
984 bus-width = <4>;
985 vmmc-supply = <®_usdhc2_vmmc>;
986 power-supply = <&wifi_pwr_en>;
987 broken-cd;
988 disable-wp;
989 cap-sdio-irq;
990 keep-power-in-suspend;
991 wakeup-source;
996 pinctrl-names = "default";
997 pinctrl-0 = <&pinctrl_wdog>;
998 fsl,ext-reset-output;