imx7d-pico-dwarf.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. //
  3. // Copyright 2015 Technexion Ltd.
  4. //
  5. // Author: Wig Cheng <[email protected]>
  6. // Richard Hu <[email protected]>
  7. // Tapani Utriainen <[email protected]>
  8. /dts-v1/;
  9. #include "imx7d-pico.dtsi"
  10. / {
  11. model = "TechNexion PICO-IMX7D and DWARF baseboard";
  12. compatible = "technexion,imx7d-pico-dwarf", "fsl,imx7d";
  13. sound {
  14. compatible = "fsl,imx-audio-sgtl5000";
  15. model = "imx7d-sgtl5000";
  16. audio-cpu = <&sai1>;
  17. audio-codec = <&sgtl5000>;
  18. audio-routing =
  19. "LINE_IN", "Line In Jack",
  20. "MIC_IN", "Mic Jack",
  21. "Mic Jack", "Mic Bias",
  22. "Headphone Jack", "HP_OUT";
  23. };
  24. sys_mclk: clock-sys-mclk {
  25. compatible = "fixed-clock";
  26. #clock-cells = <0>;
  27. clock-frequency = <24576000>;
  28. };
  29. };
  30. &i2c1 {
  31. clock-frequency = <100000>;
  32. pinctrl-names = "default";
  33. pinctrl-0 = <&pinctrl_i2c1>;
  34. status = "okay";
  35. sgtl5000: audio-codec@a {
  36. reg = <0x0a>;
  37. compatible = "fsl,sgtl5000";
  38. clocks = <&sys_mclk>;
  39. VDDA-supply = <&reg_2p5v>;
  40. VDDIO-supply = <&reg_3p3v>;
  41. };
  42. pressure-sensor@60 {
  43. compatible = "fsl,mpl3115";
  44. reg = <0x60>;
  45. };
  46. };
  47. &i2c4 {
  48. clock-frequency = <100000>;
  49. pinctrl-names = "default";
  50. pinctrl-0 = <&pinctrl_i2c1>;
  51. status = "okay";
  52. pca9554: io-expander@25 {
  53. compatible = "nxp,pca9554";
  54. gpio-controller;
  55. #gpio-cells = <2>;
  56. #interrupt-cells = <2>;
  57. reg = <0x25>;
  58. };
  59. touchscreen@38 {
  60. compatible = "edt,edt-ft5x06";
  61. reg = <0x38>;
  62. pinctrl-names = "default";
  63. pinctrl-0 = <&pinctrl_touchscreen>;
  64. interrupt-parent = <&gpio2>;
  65. interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
  66. reset-gpios = <&pca9554 4 GPIO_ACTIVE_LOW>;
  67. touchscreen-size-x = <800>;
  68. touchscreen-size-y = <480>;
  69. };
  70. };
  71. &iomuxc {
  72. pinctrl_touchscreen: touchscreengrp {
  73. fsl,pins = <
  74. MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x14
  75. >;
  76. };
  77. };