omap3-overo-common-peripherals.dtsi 2.0 KB

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