omap5-sbc-t54.dts 1.1 KB

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