0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
0004 */
0005
0006 /*
0007 * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...)
0008 */
0009
0010 / {
0011 lis33_3v3: lis33-3v3-reg {
0012 compatible = "regulator-fixed";
0013 regulator-name = "lis33-3v3-reg";
0014 regulator-min-microvolt = <3300000>;
0015 regulator-max-microvolt = <3300000>;
0016 };
0017
0018 lis33_1v8: lis33-1v8-reg {
0019 compatible = "regulator-fixed";
0020 regulator-name = "lis33-1v8-reg";
0021 regulator-min-microvolt = <1800000>;
0022 regulator-max-microvolt = <1800000>;
0023 };
0024 };
0025
0026 &omap3_pmx_core {
0027 i2c3_pins: pinmux_i2c3_pins {
0028 pinctrl-single,pins = <
0029 OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0) /* i2c3_scl.i2c3_scl */
0030 OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda.i2c3_sda */
0031 >;
0032 };
0033
0034 uart3_pins: pinmux_uart3_pins {
0035 pinctrl-single,pins = <
0036 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
0037 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
0038 >;
0039 };
0040 };
0041
0042 &i2c3 {
0043 pinctrl-names = "default";
0044 pinctrl-0 = <&i2c3_pins>;
0045 clock-frequency = <100000>;
0046
0047 /* optional 1K EEPROM with revision information */
0048 eeprom@51 {
0049 compatible = "atmel,24c01";
0050 reg = <0x51>;
0051 pagesize = <8>;
0052 };
0053
0054 lis33de: lis33de@1d {
0055 compatible = "st,lis33de", "st,lis3lv02d";
0056 reg = <0x1d>;
0057 Vdd-supply = <&lis33_1v8>;
0058 Vdd_IO-supply = <&lis33_3v3>;
0059
0060 st,click-single-x;
0061 st,click-single-y;
0062 st,click-single-z;
0063 st,click-thresh-x = <10>;
0064 st,click-thresh-y = <10>;
0065 st,click-thresh-z = <10>;
0066 st,irq1-click;
0067 st,irq2-click;
0068 st,wakeup-x-lo;
0069 st,wakeup-x-hi;
0070 st,wakeup-y-lo;
0071 st,wakeup-y-hi;
0072 st,wakeup-z-lo;
0073 st,wakeup-z-hi;
0074 st,min-limit-x = <120>;
0075 st,min-limit-y = <120>;
0076 st,min-limit-z = <140>;
0077 st,max-limit-x = <550>;
0078 st,max-limit-y = <550>;
0079 st,max-limit-z = <750>;
0080 };
0081 };
0082
0083 &mmc3 {
0084 status = "disabled";
0085 };
0086
0087 &uart3 {
0088 interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>;
0089 pinctrl-names = "default";
0090 pinctrl-0 = <&uart3_pins>;
0091 };
0092