Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | &accel_gyro { |
| 16 | mount-matrix = "1", "0", "0", |
| 17 | "0", "-1", "0", |
| 18 | "0", "0", "1"; |
| 19 | }; |
| 20 | |
| 21 | &bq25895 { |
| 22 | ti,charge-current = <1600000>; /* uA */ |
| 23 | }; |
| 24 | |
| 25 | &proximity { |
| 26 | proximity-near-level = <50>; |
| 27 | }; |