xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mq-librem5-r2.dts (revision 29332c0dcee1e80c9fb871e06c3160bd5deb1b44)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2// Copyright (C) 2020 Purism SPC <kernel@puri.sm>
3//
4// Librem 5 Chestnut
5
6/dts-v1/;
7
8#include "imx8mq-librem5.dtsi"
9
10/ {
11	model = "Purism Librem 5r2";
12	compatible = "purism,librem5r2", "purism,librem5", "fsl,imx8mq";
13};
14
15&bq25895 {
16	ti,battery-regulation-voltage = <4192000>; /* uV */
17	ti,charge-current = <1600000>; /* uA */
18	ti,termination-current = <66000>;  /* uA */
19};
20
21&accel_gyro {
22	mount-matrix =  "1",  "0",  "0",
23			"0", "-1",  "0",
24			"0",  "0",  "1";
25};
26
27&proximity {
28	proximity-near-level = <120>;
29};
30