omap5-sbc-t54.dts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Suppport for CompuLab CM-T54 on SB-T54 baseboard
  4. */
  5. #include "omap5-cm-t54.dts"
  6. / {
  7. model = "CompuLab CM-T54 on SB-T54";
  8. compatible = "compulab,omap5-sbc-t54", "compulab,omap5-cm-t54", "ti,omap5";
  9. };
  10. &omap5_pmx_core {
  11. i2c4_pins: pinmux_i2c4_pins {
  12. pinctrl-single,pins = <
  13. OMAP5_IOPAD(0x00f8, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */
  14. OMAP5_IOPAD(0x00fa, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */
  15. >;
  16. };
  17. mmc1_aux_pins: pinmux_mmc1_aux_pins {
  18. pinctrl-single,pins = <
  19. OMAP5_IOPAD(0x0174, PIN_INPUT_PULLUP | MUX_MODE6) /* timer5_pwm_evt.gpio8_228 */
  20. OMAP5_IOPAD(0x0176, PIN_INPUT_PULLUP | MUX_MODE6) /* timer6_pwm_evt.gpio8_229 */
  21. >;
  22. };
  23. };
  24. &mmc1 {
  25. pinctrl-names = "default";
  26. pinctrl-0 = <
  27. &mmc1_pins
  28. &mmc1_aux_pins
  29. >;
  30. cd-inverted;
  31. wp-inverted;
  32. cd-gpios = <&gpio8 4 GPIO_ACTIVE_LOW>; /* gpio8_228 */
  33. wp-gpios = <&gpio8 5 GPIO_ACTIVE_LOW>; /* gpio8_229 */
  34. };
  35. &i2c4 {
  36. pinctrl-names = "default";
  37. pinctrl-0 = <&i2c4_pins>;
  38. clock-frequency = <400000>;
  39. at24@50 {
  40. compatible = "atmel,24c02";
  41. pagesize = <16>;
  42. reg = <0x50>;
  43. };
  44. };