Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
50 lines
950 B
Devicetree
50 lines
950 B
Devicetree
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
// Copyright (C) 2021 Purism SPC <kernel@puri.sm>
|
|
|
|
/dts-v1/;
|
|
|
|
/*
|
|
* This file describes hardware that is shared among r3 ("Dogwood") and
|
|
* later revisions of the Librem 5 so it has to be included in dts there.
|
|
*/
|
|
|
|
#include "imx8mq-librem5.dtsi"
|
|
|
|
/ {
|
|
model = "Purism Librem 5r3";
|
|
compatible = "purism,librem5r3", "purism,librem5", "fsl,imx8mq";
|
|
};
|
|
|
|
&accel_gyro {
|
|
mount-matrix = "1", "0", "0",
|
|
"0", "1", "0",
|
|
"0", "0", "-1";
|
|
};
|
|
|
|
&bq25895 {
|
|
ti,charge-current = <1500000>; /* uA */
|
|
};
|
|
|
|
&camera_front {
|
|
pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>;
|
|
shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
&iomuxc {
|
|
pinctrl_r3_camera_pwr: r3camerapwrgrp {
|
|
fsl,pins = <
|
|
MX8MQ_IOMUXC_SPDIF_RX_GPIO5_IO4 0x83
|
|
>;
|
|
};
|
|
};
|
|
|
|
&magnetometer {
|
|
mount-matrix = "1", "0", "0",
|
|
"0", "-1", "0",
|
|
"0", "0", "-1";
|
|
};
|
|
|
|
&proximity {
|
|
proximity-near-level = <10>;
|
|
};
|