1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot/* 7*f126890aSEmmanuel Vadot * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...) 8*f126890aSEmmanuel Vadot */ 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/ { 11*f126890aSEmmanuel Vadot lis33_3v3: lis33-3v3-reg { 12*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 13*f126890aSEmmanuel Vadot regulator-name = "lis33-3v3-reg"; 14*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 15*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 16*f126890aSEmmanuel Vadot }; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot lis33_1v8: lis33-1v8-reg { 19*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 20*f126890aSEmmanuel Vadot regulator-name = "lis33-1v8-reg"; 21*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 22*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 23*f126890aSEmmanuel Vadot }; 24*f126890aSEmmanuel Vadot}; 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot&omap3_pmx_core { 27*f126890aSEmmanuel Vadot i2c3_pins: i2c3-pins { 28*f126890aSEmmanuel Vadot pinctrl-single,pins = < 29*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0) /* i2c3_scl.i2c3_scl */ 30*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda.i2c3_sda */ 31*f126890aSEmmanuel Vadot >; 32*f126890aSEmmanuel Vadot }; 33*f126890aSEmmanuel Vadot 34*f126890aSEmmanuel Vadot uart3_pins: uart3-pins { 35*f126890aSEmmanuel Vadot pinctrl-single,pins = < 36*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ 37*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ 38*f126890aSEmmanuel Vadot >; 39*f126890aSEmmanuel Vadot }; 40*f126890aSEmmanuel Vadot}; 41*f126890aSEmmanuel Vadot 42*f126890aSEmmanuel Vadot&i2c3 { 43*f126890aSEmmanuel Vadot pinctrl-names = "default"; 44*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c3_pins>; 45*f126890aSEmmanuel Vadot clock-frequency = <100000>; 46*f126890aSEmmanuel Vadot 47*f126890aSEmmanuel Vadot /* optional 1K EEPROM with revision information */ 48*f126890aSEmmanuel Vadot eeprom@51 { 49*f126890aSEmmanuel Vadot compatible = "atmel,24c01"; 50*f126890aSEmmanuel Vadot reg = <0x51>; 51*f126890aSEmmanuel Vadot pagesize = <8>; 52*f126890aSEmmanuel Vadot }; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot lis33de: lis33de@1d { 55*f126890aSEmmanuel Vadot compatible = "st,lis33de", "st,lis3lv02d"; 56*f126890aSEmmanuel Vadot reg = <0x1d>; 57*f126890aSEmmanuel Vadot Vdd-supply = <&lis33_1v8>; 58*f126890aSEmmanuel Vadot Vdd_IO-supply = <&lis33_3v3>; 59*f126890aSEmmanuel Vadot 60*f126890aSEmmanuel Vadot st,click-single-x; 61*f126890aSEmmanuel Vadot st,click-single-y; 62*f126890aSEmmanuel Vadot st,click-single-z; 63*f126890aSEmmanuel Vadot st,click-thresh-x = <10>; 64*f126890aSEmmanuel Vadot st,click-thresh-y = <10>; 65*f126890aSEmmanuel Vadot st,click-thresh-z = <10>; 66*f126890aSEmmanuel Vadot st,irq1-click; 67*f126890aSEmmanuel Vadot st,irq2-click; 68*f126890aSEmmanuel Vadot st,wakeup-x-lo; 69*f126890aSEmmanuel Vadot st,wakeup-x-hi; 70*f126890aSEmmanuel Vadot st,wakeup-y-lo; 71*f126890aSEmmanuel Vadot st,wakeup-y-hi; 72*f126890aSEmmanuel Vadot st,wakeup-z-lo; 73*f126890aSEmmanuel Vadot st,wakeup-z-hi; 74*f126890aSEmmanuel Vadot st,min-limit-x = <120>; 75*f126890aSEmmanuel Vadot st,min-limit-y = <120>; 76*f126890aSEmmanuel Vadot st,min-limit-z = <140>; 77*f126890aSEmmanuel Vadot st,max-limit-x = <550>; 78*f126890aSEmmanuel Vadot st,max-limit-y = <550>; 79*f126890aSEmmanuel Vadot st,max-limit-z = <750>; 80*f126890aSEmmanuel Vadot }; 81*f126890aSEmmanuel Vadot}; 82*f126890aSEmmanuel Vadot 83*f126890aSEmmanuel Vadot&mmc3 { 84*f126890aSEmmanuel Vadot status = "disabled"; 85*f126890aSEmmanuel Vadot}; 86*f126890aSEmmanuel Vadot 87*f126890aSEmmanuel Vadot&uart3 { 88*f126890aSEmmanuel Vadot interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>; 89*f126890aSEmmanuel Vadot pinctrl-names = "default"; 90*f126890aSEmmanuel Vadot pinctrl-0 = <&uart3_pins>; 91*f126890aSEmmanuel Vadot}; 92*f126890aSEmmanuel Vadot 93