| // 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: pinmux_mpu6050_pins { |
| pinctrl-single,pins = < |
| AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT, MUX_MODE7) /* uart0_ctsn.gpio1_8 */ |
| >; |
| }; |
| |
| lps3331ap_pins: pinmux_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>; |
| }; |
| }; |