linux/arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts
Martin Kepplinger 1cec010bbb arm64: dts: imx8mq-librem5-r2: set nearlevel to 120
On Birch I can never reach 220 and hence the display would never
turn off. Tests suggest 120 to be a good threshold value for all Birch
devices.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-03-15 12:22:28 +08:00

30 lines
561 B
Plaintext

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
// Copyright (C) 2020 Purism SPC <kernel@puri.sm>
//
// Librem 5 Chestnut
/dts-v1/;
#include "imx8mq-librem5.dtsi"
/ {
model = "Purism Librem 5r2";
compatible = "purism,librem5r2", "purism,librem5", "fsl,imx8mq";
};
&bq25895 {
ti,battery-regulation-voltage = <4192000>; /* uV */
ti,charge-current = <1600000>; /* uA */
ti,termination-current = <66000>; /* uA */
};
&accel_gyro {
mount-matrix = "1", "0", "0",
"0", "-1", "0",
"0", "0", "1";
};
&proximity {
proximity-near-level = <120>;
};