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 5r3";
10	compatible = "purism,librem5r3", "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&bq25895 {
20	ti,battery-regulation-voltage = <4200000>; /* uV */
21	ti,charge-current = <1500000>; /* uA */
22	ti,termination-current = <144000>;  /* uA */
23};
24
25&proximity {
26	proximity-near-level = <25>;
27};
28