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