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