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&a53_opp_table {
14	opp-1000000000 {
15		opp-microvolt = <1000000>;
16	};
17};
18
19&accel_gyro {
20	mount-matrix =  "1",  "0",  "0",
21			"0",  "1",  "0",
22			"0",  "0", "-1";
23};
24
25&bq25895 {
26	ti,battery-regulation-voltage = <4200000>; /* uV */
27	ti,charge-current = <1500000>; /* uA */
28	ti,termination-current = <144000>;  /* uA */
29};
30
31&buck3_reg {
32	regulator-always-on;
33};
34
35&proximity {
36	proximity-near-level = <25>;
37};
38