blob: efbe93135dbe45e716fb7abf46a8fe9583d89e14 [file] [log] [blame]
Paul Barker124b3032021-07-12 21:14:10 +01001// 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"
Paul Barker1d49b8d2022-04-11 15:41:59 +000010#include "am335x-boneblack-hdmi.dtsi"
11#include "am335x-sancloud-bbe-common.dtsi"
Paul Barker124b3032021-07-12 21:14:10 +010012#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 {
Paul Barker124b3032021-07-12 21:14:10 +010020 mpu6050_pins: pinmux_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: pinmux_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
Paul Barker124b3032021-07-12 21:14:10 +010033&i2c0 {
34 lps331ap: barometer@5c {
Paul Barker1d49b8d2022-04-11 15:41:59 +000035 pinctrl-names = "default";
36 pinctrl-0 = <&lps3331ap_pins>;
Paul Barker124b3032021-07-12 21:14:10 +010037 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 {
Paul Barker1d49b8d2022-04-11 15:41:59 +000045 pinctrl-names = "default";
46 pinctrl-0 = <&mpu6050_pins>;
Paul Barker124b3032021-07-12 21:14:10 +010047 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 };
Paul Barker124b3032021-07-12 21:14:10 +010053};