omap3-overo-common-peripherals.dtsi 2.1 KB

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