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