1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 // Copyright (C) 2021 Purism SPC <kernel@puri.sm> 3 4 /dts-v1/; 5 6 /* 7 * This file describes hardware that is shared among r3 ("Dogwood") and 8 * later revisions of the Librem 5 so it has to be included in dts there. 9 */ 10 11 #include "imx8mq-librem5.dtsi" 12 13 / { 14 model = "Purism Librem 5r3"; 15 compatible = "purism,librem5r3", "purism,librem5", "fsl,imx8mq"; 16 }; 17 18 &accel_gyro { 19 mount-matrix = "1", "0", "0", 20 "0", "1", "0", 21 "0", "0", "-1"; 22 }; 23 24 &bq25895 { 25 ti,charge-current = <1500000>; /* uA */ 26 }; 27 28 &camera_front { 29 pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>; 30 shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>; 31 }; 32 33 &iomuxc { 34 pinctrl_r3_camera_pwr: r3camerapwrgrp { 35 fsl,pins = < 36 MX8MQ_IOMUXC_SPDIF_RX_GPIO5_IO4 0x83 37 >; 38 }; 39 }; 40 41 &magnetometer { 42 mount-matrix = "1", "0", "0", 43 "0", "-1", "0", 44 "0", "0", "-1"; 45 }; 46 47 &proximity { 48 proximity-near-level = <10>; 49 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.