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>
54 lines
1.3 KiB
Devicetree
54 lines
1.3 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
|
|
*/
|
|
/dts-v1/;
|
|
|
|
#include "am33xx.dtsi"
|
|
#include "am335x-bone-common.dtsi"
|
|
#include "am335x-boneblack-common.dtsi"
|
|
#include "am335x-boneblack-hdmi.dtsi"
|
|
#include "am335x-sancloud-bbe-common.dtsi"
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
/ {
|
|
model = "SanCloud BeagleBone Enhanced";
|
|
compatible = "sancloud,am335x-boneenhanced", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
|
|
};
|
|
|
|
&am33xx_pinmux {
|
|
mpu6050_pins: mpu6050-pins {
|
|
pinctrl-single,pins = <
|
|
AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT, MUX_MODE7) /* uart0_ctsn.gpio1_8 */
|
|
>;
|
|
};
|
|
|
|
lps3331ap_pins: lps3331ap-pins {
|
|
pinctrl-single,pins = <
|
|
AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT, MUX_MODE7) /* gpmc_a10.gpio1_26 */
|
|
>;
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
lps331ap: barometer@5c {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&lps3331ap_pins>;
|
|
compatible = "st,lps331ap-press";
|
|
st,drdy-int-pin = <1>;
|
|
reg = <0x5c>;
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <26 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
|
|
mpu6050: accelerometer@68 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mpu6050_pins>;
|
|
compatible = "invensense,mpu6050";
|
|
reg = <0x68>;
|
|
interrupt-parent = <&gpio0>;
|
|
interrupts = <2 IRQ_TYPE_EDGE_RISING>;
|
|
orientation = <0xff 0 0 0 1 0 0 0 0xff>;
|
|
};
|
|
};
|