omap3-n900.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * Copyright (C) 2013 Pavel Machek <pavel@ucw.cz>
  3. * Copyright 2013 Aaro Koskinen <aaro.koskinen@iki.fi>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 (or later) as
  7. * published by the Free Software Foundation.
  8. */
  9. /dts-v1/;
  10. #include "omap34xx.dtsi"
  11. / {
  12. model = "Nokia N900";
  13. compatible = "nokia,omap3-n900", "ti,omap3";
  14. cpus {
  15. cpu@0 {
  16. cpu0-supply = <&vcc>;
  17. };
  18. };
  19. memory {
  20. device_type = "memory";
  21. reg = <0x80000000 0x10000000>; /* 256 MB */
  22. };
  23. };
  24. &i2c1 {
  25. clock-frequency = <2200000>;
  26. twl: twl@48 {
  27. reg = <0x48>;
  28. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  29. interrupt-parent = <&intc>;
  30. };
  31. };
  32. #include "twl4030.dtsi"
  33. &twl_gpio {
  34. ti,pullups = <0x0>;
  35. ti,pulldowns = <0x03ff3f>; /* BIT(0..5) | BIT(8..17) */
  36. };
  37. &i2c2 {
  38. clock-frequency = <400000>;
  39. };
  40. &i2c3 {
  41. clock-frequency = <100000>;
  42. };
  43. &mmc1 {
  44. status = "disabled";
  45. };
  46. &mmc2 {
  47. status = "disabled";
  48. };
  49. &mmc3 {
  50. status = "disabled";
  51. };
  52. &mcspi1 {
  53. /*
  54. * For some reason, touchscreen is necessary for screen to work at
  55. * all on real hw. It works well without it on emulator.
  56. *
  57. * Also... order in the device tree actually matters here.
  58. */
  59. tsc2005@0 {
  60. compatible = "tsc2005";
  61. spi-max-frequency = <6000000>;
  62. reg = <0>;
  63. };
  64. mipid@2 {
  65. compatible = "acx565akm";
  66. spi-max-frequency = <6000000>;
  67. reg = <2>;
  68. };
  69. };
  70. &usb_otg_hs {
  71. interface-type = <0>;
  72. usb-phy = <&usb2_phy>;
  73. phys = <&usb2_phy>;
  74. phy-names = "usb2-phy";
  75. mode = <2>;
  76. power = <50>;
  77. };