omap3-n950-n9.dtsi 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*
  2. * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff)
  3. *
  4. * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include "omap36xx.dtsi"
  11. / {
  12. cpus {
  13. cpu@0 {
  14. cpu0-supply = <&vcc>;
  15. };
  16. };
  17. memory {
  18. device_type = "memory";
  19. reg = <0x80000000 0x40000000>; /* 1 GB */
  20. };
  21. vemmc: fixedregulator@0 {
  22. compatible = "regulator-fixed";
  23. regulator-name = "VEMMC";
  24. regulator-min-microvolt = <2900000>;
  25. regulator-max-microvolt = <2900000>;
  26. gpio = <&gpio5 29 0>; /* gpio line 157 */
  27. startup-delay-us = <150>;
  28. enable-active-high;
  29. };
  30. };
  31. &omap3_pmx_core {
  32. mmc2_pins: pinmux_mmc2_pins {
  33. pinctrl-single,pins = <
  34. 0x128 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */
  35. 0x12a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd */
  36. 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0 */
  37. 0x12e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1 */
  38. 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2 */
  39. 0x132 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3 */
  40. >;
  41. };
  42. };
  43. &i2c1 {
  44. clock-frequency = <2900000>;
  45. twl: twl@48 {
  46. reg = <0x48>;
  47. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  48. interrupt-parent = <&intc>;
  49. };
  50. };
  51. /include/ "twl4030.dtsi"
  52. &twl {
  53. compatible = "ti,twl5031";
  54. };
  55. &twl_gpio {
  56. ti,pullups = <0x000001>; /* BIT(0) */
  57. ti,pulldowns = <0x008106>; /* BIT(1) | BIT(2) | BIT(8) | BIT(15) */
  58. };
  59. &i2c2 {
  60. clock-frequency = <400000>;
  61. };
  62. &i2c3 {
  63. clock-frequency = <400000>;
  64. };
  65. &mmc1 {
  66. status = "disabled";
  67. };
  68. &mmc2 {
  69. pinctrl-names = "default";
  70. pinctrl-0 = <&mmc2_pins>;
  71. vmmc-supply = <&vemmc>;
  72. bus-width = <4>;
  73. ti,non-removable;
  74. };
  75. &mmc3 {
  76. status = "disabled";
  77. };
  78. &usb_otg_hs {
  79. interface-type = <0>;
  80. usb-phy = <&usb2_phy>;
  81. phys = <&usb2_phy>;
  82. phy-names = "usb2-phy";
  83. mode = <3>;
  84. power = <50>;
  85. };
  86. &gpmc {
  87. ranges = <0 0 0x04000000 0x20000000>;
  88. onenand@0,0 {
  89. #address-cells = <1>;
  90. #size-cells = <1>;
  91. reg = <0 0 0x20000000>;
  92. gpmc,sync-read;
  93. gpmc,sync-write;
  94. gpmc,burst-length = <16>;
  95. gpmc,burst-read;
  96. gpmc,burst-wrap;
  97. gpmc,burst-write;
  98. gpmc,device-width = <2>;
  99. gpmc,mux-add-data = <2>;
  100. gpmc,cs-on-ns = <0>;
  101. gpmc,cs-rd-off-ns = <87>;
  102. gpmc,cs-wr-off-ns = <87>;
  103. gpmc,adv-on-ns = <0>;
  104. gpmc,adv-rd-off-ns = <10>;
  105. gpmc,adv-wr-off-ns = <10>;
  106. gpmc,oe-on-ns = <15>;
  107. gpmc,oe-off-ns = <87>;
  108. gpmc,we-on-ns = <0>;
  109. gpmc,we-off-ns = <87>;
  110. gpmc,rd-cycle-ns = <112>;
  111. gpmc,wr-cycle-ns = <112>;
  112. gpmc,access-ns = <81>;
  113. gpmc,page-burst-access-ns = <15>;
  114. gpmc,bus-turnaround-ns = <0>;
  115. gpmc,cycle2cycle-delay-ns = <0>;
  116. gpmc,wait-monitoring-ns = <0>;
  117. gpmc,clk-activation-ns = <5>;
  118. gpmc,wr-data-mux-bus-ns = <30>;
  119. gpmc,wr-access-ns = <81>;
  120. gpmc,sync-clk-ps = <15000>;
  121. /*
  122. * MTD partition table corresponding to Nokia's MeeGo 1.2
  123. * Harmattan release.
  124. */
  125. partition@0 {
  126. label = "bootloader";
  127. reg = <0x00000000 0x00100000>;
  128. };
  129. partition@1 {
  130. label = "config";
  131. reg = <0x00100000 0x002c0000>;
  132. };
  133. partition@2 {
  134. label = "kernel";
  135. reg = <0x003c0000 0x01000000>;
  136. };
  137. partition@3 {
  138. label = "log";
  139. reg = <0x013c0000 0x00200000>;
  140. };
  141. partition@4 {
  142. label = "var";
  143. reg = <0x015c0000 0x1ca40000>;
  144. };
  145. partition@5 {
  146. label = "moslo";
  147. reg = <0x1e000000 0x02000000>;
  148. };
  149. partition@6 {
  150. label = "omap2-onenand";
  151. reg = <0x00000000 0x20000000>;
  152. };
  153. };
  154. };