xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mq-librem5-r4.dts (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*5def4c47SEmmanuel Vadot// Copyright (C) 2020 Purism SPC <kernel@puri.sm>
3*5def4c47SEmmanuel Vadot
4*5def4c47SEmmanuel Vadot/dts-v1/;
5*5def4c47SEmmanuel Vadot
6*5def4c47SEmmanuel Vadot#include "imx8mq-librem5.dtsi"
7*5def4c47SEmmanuel Vadot
8*5def4c47SEmmanuel Vadot/ {
9*5def4c47SEmmanuel Vadot	model = "Purism Librem 5r4";
10*5def4c47SEmmanuel Vadot	compatible = "purism,librem5r4", "purism,librem5", "fsl,imx8mq";
11*5def4c47SEmmanuel Vadot};
12*5def4c47SEmmanuel Vadot
13*5def4c47SEmmanuel Vadot&accel_gyro {
14*5def4c47SEmmanuel Vadot	mount-matrix =  "1",  "0",  "0",
15*5def4c47SEmmanuel Vadot			"0",  "1",  "0",
16*5def4c47SEmmanuel Vadot			"0",  "0", "-1";
17*5def4c47SEmmanuel Vadot};
18*5def4c47SEmmanuel Vadot
19*5def4c47SEmmanuel Vadot&bat {
20*5def4c47SEmmanuel Vadot	maxim,rsns-microohm = <1667>;
21*5def4c47SEmmanuel Vadot};
22*5def4c47SEmmanuel Vadot
23*5def4c47SEmmanuel Vadot&bq25895 {
24*5def4c47SEmmanuel Vadot	ti,battery-regulation-voltage = <4200000>; /* uV */
25*5def4c47SEmmanuel Vadot	ti,charge-current = <1500000>; /* uA */
26*5def4c47SEmmanuel Vadot	ti,termination-current = <144000>;  /* uA */
27*5def4c47SEmmanuel Vadot};
28*5def4c47SEmmanuel Vadot
29*5def4c47SEmmanuel Vadot&led_backlight {
30*5def4c47SEmmanuel Vadot	led-max-microamp = <25000>;
31*5def4c47SEmmanuel Vadot};
32*5def4c47SEmmanuel Vadot
33*5def4c47SEmmanuel Vadot&proximity {
34*5def4c47SEmmanuel Vadot	proximity-near-level = <10>;
35*5def4c47SEmmanuel Vadot};
36