xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mq-librem5-r2.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
16be33864SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
26be33864SEmmanuel Vadot// Copyright (C) 2020 Purism SPC <kernel@puri.sm>
36be33864SEmmanuel Vadot//
46be33864SEmmanuel Vadot// Librem 5 Chestnut
56be33864SEmmanuel Vadot
66be33864SEmmanuel Vadot/dts-v1/;
76be33864SEmmanuel Vadot
86be33864SEmmanuel Vadot#include "imx8mq-librem5.dtsi"
96be33864SEmmanuel Vadot
106be33864SEmmanuel Vadot/ {
116be33864SEmmanuel Vadot	model = "Purism Librem 5r2";
126be33864SEmmanuel Vadot	compatible = "purism,librem5r2", "purism,librem5", "fsl,imx8mq";
136be33864SEmmanuel Vadot};
146be33864SEmmanuel Vadot
156be33864SEmmanuel Vadot&accel_gyro {
166be33864SEmmanuel Vadot	mount-matrix = "1",  "0",  "0",
176be33864SEmmanuel Vadot		       "0", "-1",  "0",
186be33864SEmmanuel Vadot		       "0",  "0",  "1";
196be33864SEmmanuel Vadot};
206be33864SEmmanuel Vadot
21*fac71e4eSEmmanuel Vadot&bq25895 {
22*fac71e4eSEmmanuel Vadot	ti,charge-current = <1600000>; /* uA */
23*fac71e4eSEmmanuel Vadot};
24*fac71e4eSEmmanuel Vadot
256be33864SEmmanuel Vadot&proximity {
26*fac71e4eSEmmanuel Vadot	proximity-near-level = <50>;
276be33864SEmmanuel Vadot};
28