omap3-n950-n9.dtsi 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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-hs.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. /* CSI-2 receiver */
  60. &vaux2 {
  61. regulator-name = "vaux2";
  62. regulator-min-microvolt = <1800000>;
  63. regulator-max-microvolt = <1800000>;
  64. };
  65. /* Cameras */
  66. &vaux3 {
  67. regulator-name = "vaux3";
  68. regulator-min-microvolt = <2800000>;
  69. regulator-max-microvolt = <2800000>;
  70. };
  71. &i2c2 {
  72. clock-frequency = <400000>;
  73. };
  74. &i2c3 {
  75. clock-frequency = <400000>;
  76. };
  77. &mmc1 {
  78. status = "disabled";
  79. };
  80. &mmc2 {
  81. pinctrl-names = "default";
  82. pinctrl-0 = <&mmc2_pins>;
  83. vmmc-supply = <&vemmc>;
  84. bus-width = <4>;
  85. ti,non-removable;
  86. };
  87. &mmc3 {
  88. status = "disabled";
  89. };
  90. &usb_otg_hs {
  91. interface-type = <0>;
  92. usb-phy = <&usb2_phy>;
  93. phys = <&usb2_phy>;
  94. phy-names = "usb2-phy";
  95. mode = <3>;
  96. power = <50>;
  97. };
  98. &gpmc {
  99. ranges = <0 0 0x04000000 0x20000000>;
  100. onenand@0,0 {
  101. #address-cells = <1>;
  102. #size-cells = <1>;
  103. reg = <0 0 0x20000000>;
  104. gpmc,sync-read;
  105. gpmc,sync-write;
  106. gpmc,burst-length = <16>;
  107. gpmc,burst-read;
  108. gpmc,burst-wrap;
  109. gpmc,burst-write;
  110. gpmc,device-width = <2>;
  111. gpmc,mux-add-data = <2>;
  112. gpmc,cs-on-ns = <0>;
  113. gpmc,cs-rd-off-ns = <87>;
  114. gpmc,cs-wr-off-ns = <87>;
  115. gpmc,adv-on-ns = <0>;
  116. gpmc,adv-rd-off-ns = <10>;
  117. gpmc,adv-wr-off-ns = <10>;
  118. gpmc,oe-on-ns = <15>;
  119. gpmc,oe-off-ns = <87>;
  120. gpmc,we-on-ns = <0>;
  121. gpmc,we-off-ns = <87>;
  122. gpmc,rd-cycle-ns = <112>;
  123. gpmc,wr-cycle-ns = <112>;
  124. gpmc,access-ns = <81>;
  125. gpmc,page-burst-access-ns = <15>;
  126. gpmc,bus-turnaround-ns = <0>;
  127. gpmc,cycle2cycle-delay-ns = <0>;
  128. gpmc,wait-monitoring-ns = <0>;
  129. gpmc,clk-activation-ns = <5>;
  130. gpmc,wr-data-mux-bus-ns = <30>;
  131. gpmc,wr-access-ns = <81>;
  132. gpmc,sync-clk-ps = <15000>;
  133. /*
  134. * MTD partition table corresponding to Nokia's MeeGo 1.2
  135. * Harmattan release.
  136. */
  137. partition@0 {
  138. label = "bootloader";
  139. reg = <0x00000000 0x00100000>;
  140. };
  141. partition@1 {
  142. label = "config";
  143. reg = <0x00100000 0x002c0000>;
  144. };
  145. partition@2 {
  146. label = "kernel";
  147. reg = <0x003c0000 0x01000000>;
  148. };
  149. partition@3 {
  150. label = "log";
  151. reg = <0x013c0000 0x00200000>;
  152. };
  153. partition@4 {
  154. label = "var";
  155. reg = <0x015c0000 0x1ca40000>;
  156. };
  157. partition@5 {
  158. label = "moslo";
  159. reg = <0x1e000000 0x02000000>;
  160. };
  161. partition@6 {
  162. label = "omap2-onenand";
  163. reg = <0x00000000 0x20000000>;
  164. };
  165. };
  166. };