imx28-ts4600.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Copyright (C) 2016 Savoir-Faire Linux
  4. * Author: Sebastien Bourdelin <[email protected]>
  5. */
  6. /dts-v1/;
  7. #include "imx28.dtsi"
  8. #include "dt-bindings/gpio/gpio.h"
  9. / {
  10. model = "Technologic Systems i.MX28 TS-4600";
  11. compatible = "technologic,imx28-ts4600", "fsl,imx28";
  12. memory@40000000 {
  13. device_type = "memory";
  14. reg = <0x40000000 0x10000000>; /* 256MB */
  15. };
  16. apb@80000000 {
  17. apbh@80000000 {
  18. ssp0: spi@80010000 {
  19. compatible = "fsl,imx28-mmc";
  20. pinctrl-names = "default";
  21. pinctrl-0 = <&mmc0_4bit_pins_a
  22. &mmc0_sck_cfg
  23. &en_sd_pwr>;
  24. broken-cd;
  25. bus-width = <4>;
  26. vmmc-supply = <&reg_vddio_sd0>;
  27. status = "okay";
  28. };
  29. pinctrl@80018000 {
  30. en_sd_pwr: en-sd-pwr@0 {
  31. reg = <0>;
  32. fsl,pinmux-ids = <
  33. MX28_PAD_PWM3__GPIO_3_28
  34. >;
  35. fsl,drive-strength = <MXS_DRIVE_4mA>;
  36. fsl,voltage = <MXS_VOLTAGE_HIGH>;
  37. fsl,pull-up = <MXS_PULL_DISABLE>;
  38. };
  39. };
  40. };
  41. apbx@80040000 {
  42. pwm: pwm@80064000 {
  43. pinctrl-names = "default";
  44. pinctrl-0 = <&pwm2_pins_a>;
  45. status = "okay";
  46. };
  47. duart: serial@80074000 {
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&duart_pins_a>;
  50. status = "okay";
  51. };
  52. };
  53. };
  54. reg_vddio_sd0: regulator-vddio-sd0 {
  55. compatible = "regulator-fixed";
  56. regulator-name = "vddio-sd0";
  57. regulator-min-microvolt = <3300000>;
  58. regulator-max-microvolt = <3300000>;
  59. regulator-boot-on;
  60. gpio = <&gpio3 28 GPIO_ACTIVE_LOW>;
  61. };
  62. };