1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 4 */ 5/dts-v1/; 6 7#include "am33xx.dtsi" 8#include "am335x-bone-common.dtsi" 9#include "am335x-boneblack-common.dtsi" 10#include "am335x-boneblack-hdmi.dtsi" 11#include "am335x-sancloud-bbe-common.dtsi" 12#include <dt-bindings/interrupt-controller/irq.h> 13 14/ { 15 model = "SanCloud BeagleBone Enhanced"; 16 compatible = "sancloud,am335x-boneenhanced", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; 17}; 18 19&am33xx_pinmux { 20 mpu6050_pins: mpu6050-pins { 21 pinctrl-single,pins = < 22 AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT, MUX_MODE7) /* uart0_ctsn.gpio1_8 */ 23 >; 24 }; 25 26 lps3331ap_pins: lps3331ap-pins { 27 pinctrl-single,pins = < 28 AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT, MUX_MODE7) /* gpmc_a10.gpio1_26 */ 29 >; 30 }; 31}; 32 33&i2c0 { 34 lps331ap: barometer@5c { 35 pinctrl-names = "default"; 36 pinctrl-0 = <&lps3331ap_pins>; 37 compatible = "st,lps331ap-press"; 38 st,drdy-int-pin = <1>; 39 reg = <0x5c>; 40 interrupt-parent = <&gpio1>; 41 interrupts = <26 IRQ_TYPE_EDGE_RISING>; 42 }; 43 44 mpu6050: accelerometer@68 { 45 pinctrl-names = "default"; 46 pinctrl-0 = <&mpu6050_pins>; 47 compatible = "invensense,mpu6050"; 48 reg = <0x68>; 49 interrupt-parent = <&gpio0>; 50 interrupts = <2 IRQ_TYPE_EDGE_RISING>; 51 orientation = <0xff 0 0 0 1 0 0 0 0xff>; 52 }; 53}; 54