exynos5250-smdk5250.dts 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. /*
  2. * SAMSUNG SMDK5250 board device tree source
  3. *
  4. * Copyright (c) 2012 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. /dts-v1/;
  12. #include "exynos5250.dtsi"
  13. / {
  14. model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
  15. compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5";
  16. aliases {
  17. };
  18. memory {
  19. reg = <0x40000000 0x80000000>;
  20. };
  21. chosen {
  22. bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
  23. };
  24. rtc@101E0000 {
  25. status = "okay";
  26. };
  27. i2c@12C60000 {
  28. samsung,i2c-sda-delay = <100>;
  29. samsung,i2c-max-bus-freq = <20000>;
  30. status = "okay";
  31. eeprom@50 {
  32. compatible = "samsung,s524ad0xd1";
  33. reg = <0x50>;
  34. };
  35. max77686@09 {
  36. compatible = "maxim,max77686";
  37. reg = <0x09>;
  38. interrupt-parent = <&gpx3>;
  39. interrupts = <2 0>;
  40. voltage-regulators {
  41. ldo1_reg: LDO1 {
  42. regulator-name = "P1.0V_LDO_OUT1";
  43. regulator-min-microvolt = <1000000>;
  44. regulator-max-microvolt = <1000000>;
  45. regulator-always-on;
  46. };
  47. ldo2_reg: LDO2 {
  48. regulator-name = "P1.2V_LDO_OUT2";
  49. regulator-min-microvolt = <1200000>;
  50. regulator-max-microvolt = <1200000>;
  51. regulator-always-on;
  52. };
  53. ldo3_reg: LDO3 {
  54. regulator-name = "P1.8V_LDO_OUT3";
  55. regulator-min-microvolt = <1800000>;
  56. regulator-max-microvolt = <1800000>;
  57. regulator-always-on;
  58. };
  59. ldo4_reg: LDO4 {
  60. regulator-name = "P2.8V_LDO_OUT4";
  61. regulator-min-microvolt = <2800000>;
  62. regulator-max-microvolt = <2800000>;
  63. };
  64. ldo5_reg: LDO5 {
  65. regulator-name = "P1.8V_LDO_OUT5";
  66. regulator-min-microvolt = <1800000>;
  67. regulator-max-microvolt = <1800000>;
  68. };
  69. ldo6_reg: LDO6 {
  70. regulator-name = "P1.1V_LDO_OUT6";
  71. regulator-min-microvolt = <1100000>;
  72. regulator-max-microvolt = <1100000>;
  73. regulator-always-on;
  74. };
  75. ldo7_reg: LDO7 {
  76. regulator-name = "P1.1V_LDO_OUT7";
  77. regulator-min-microvolt = <1100000>;
  78. regulator-max-microvolt = <1100000>;
  79. regulator-always-on;
  80. };
  81. ldo8_reg: LDO8 {
  82. regulator-name = "P1.0V_LDO_OUT8";
  83. regulator-min-microvolt = <1000000>;
  84. regulator-max-microvolt = <1000000>;
  85. };
  86. ldo10_reg: LDO10 {
  87. regulator-name = "P1.8V_LDO_OUT10";
  88. regulator-min-microvolt = <1800000>;
  89. regulator-max-microvolt = <1800000>;
  90. };
  91. ldo11_reg: LDO11 {
  92. regulator-name = "P1.8V_LDO_OUT11";
  93. regulator-min-microvolt = <1800000>;
  94. regulator-max-microvolt = <1800000>;
  95. };
  96. ldo12_reg: LDO12 {
  97. regulator-name = "P3.0V_LDO_OUT12";
  98. regulator-min-microvolt = <3000000>;
  99. regulator-max-microvolt = <3000000>;
  100. };
  101. ldo13_reg: LDO13 {
  102. regulator-name = "P1.8V_LDO_OUT13";
  103. regulator-min-microvolt = <1800000>;
  104. regulator-max-microvolt = <1800000>;
  105. };
  106. ldo14_reg: LDO14 {
  107. regulator-name = "P1.8V_LDO_OUT14";
  108. regulator-min-microvolt = <1800000>;
  109. regulator-max-microvolt = <1800000>;
  110. };
  111. ldo15_reg: LDO15 {
  112. regulator-name = "P1.0V_LDO_OUT15";
  113. regulator-min-microvolt = <1000000>;
  114. regulator-max-microvolt = <1000000>;
  115. };
  116. ldo16_reg: LDO16 {
  117. regulator-name = "P1.8V_LDO_OUT16";
  118. regulator-min-microvolt = <1800000>;
  119. regulator-max-microvolt = <1800000>;
  120. };
  121. buck1_reg: BUCK1 {
  122. regulator-name = "vdd_mif";
  123. regulator-min-microvolt = <950000>;
  124. regulator-max-microvolt = <1300000>;
  125. regulator-always-on;
  126. regulator-boot-on;
  127. };
  128. buck2_reg: BUCK2 {
  129. regulator-name = "vdd_arm";
  130. regulator-min-microvolt = <850000>;
  131. regulator-max-microvolt = <1350000>;
  132. regulator-always-on;
  133. regulator-boot-on;
  134. };
  135. buck3_reg: BUCK3 {
  136. regulator-name = "vdd_int";
  137. regulator-min-microvolt = <900000>;
  138. regulator-max-microvolt = <1200000>;
  139. regulator-always-on;
  140. regulator-boot-on;
  141. };
  142. buck4_reg: BUCK4 {
  143. regulator-name = "vdd_g3d";
  144. regulator-min-microvolt = <850000>;
  145. regulator-max-microvolt = <1300000>;
  146. regulator-always-on;
  147. regulator-boot-on;
  148. };
  149. buck5_reg: BUCK5 {
  150. regulator-name = "P1.8V_BUCK_OUT5";
  151. regulator-min-microvolt = <1800000>;
  152. regulator-max-microvolt = <1800000>;
  153. regulator-always-on;
  154. regulator-boot-on;
  155. };
  156. };
  157. };
  158. };
  159. vdd: fixed-regulator@0 {
  160. compatible = "regulator-fixed";
  161. regulator-name = "vdd-supply";
  162. regulator-min-microvolt = <1800000>;
  163. regulator-max-microvolt = <1800000>;
  164. regulator-always-on;
  165. };
  166. dbvdd: fixed-regulator@1 {
  167. compatible = "regulator-fixed";
  168. regulator-name = "dbvdd-supply";
  169. regulator-min-microvolt = <3300000>;
  170. regulator-max-microvolt = <3300000>;
  171. regulator-always-on;
  172. };
  173. spkvdd: fixed-regulator@2 {
  174. compatible = "regulator-fixed";
  175. regulator-name = "spkvdd-supply";
  176. regulator-min-microvolt = <5000000>;
  177. regulator-max-microvolt = <5000000>;
  178. regulator-always-on;
  179. };
  180. i2c@12C70000 {
  181. samsung,i2c-sda-delay = <100>;
  182. samsung,i2c-max-bus-freq = <20000>;
  183. status = "okay";
  184. eeprom@51 {
  185. compatible = "samsung,s524ad0xd1";
  186. reg = <0x51>;
  187. };
  188. wm8994: wm8994@1a {
  189. compatible = "wlf,wm8994";
  190. reg = <0x1a>;
  191. gpio-controller;
  192. #gpio-cells = <2>;
  193. clocks = <&codec_mclk>;
  194. clock-names = "MCLK1";
  195. AVDD2-supply = <&vdd>;
  196. CPVDD-supply = <&vdd>;
  197. DBVDD-supply = <&dbvdd>;
  198. SPKVDD1-supply = <&spkvdd>;
  199. SPKVDD2-supply = <&spkvdd>;
  200. };
  201. };
  202. i2c@121D0000 {
  203. samsung,i2c-sda-delay = <100>;
  204. samsung,i2c-max-bus-freq = <40000>;
  205. samsung,i2c-slave-addr = <0x38>;
  206. status = "okay";
  207. sata_phy_i2c:sata-phy@38 {
  208. compatible = "samsung,exynos-sataphy-i2c";
  209. reg = <0x38>;
  210. };
  211. };
  212. i2c@12C80000 {
  213. samsung,i2c-sda-delay = <100>;
  214. samsung,i2c-max-bus-freq = <66000>;
  215. status = "okay";
  216. hdmiddc@50 {
  217. compatible = "samsung,exynos4210-hdmiddc";
  218. reg = <0x50>;
  219. };
  220. };
  221. i2c@12CE0000 {
  222. samsung,i2c-sda-delay = <100>;
  223. samsung,i2c-max-bus-freq = <66000>;
  224. status = "okay";
  225. hdmiphy@38 {
  226. compatible = "samsung,exynos4212-hdmiphy";
  227. reg = <0x38>;
  228. };
  229. };
  230. sata@122F0000 {
  231. status = "okay";
  232. };
  233. sata-phy@12170000 {
  234. status = "okay";
  235. samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
  236. };
  237. mmc@12200000 {
  238. status = "okay";
  239. num-slots = <1>;
  240. broken-cd;
  241. card-detect-delay = <200>;
  242. samsung,dw-mshc-ciu-div = <3>;
  243. samsung,dw-mshc-sdr-timing = <2 3>;
  244. samsung,dw-mshc-ddr-timing = <1 2>;
  245. pinctrl-names = "default";
  246. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
  247. bus-width = <8>;
  248. cap-mmc-highspeed;
  249. };
  250. mmc@12220000 {
  251. status = "okay";
  252. num-slots = <1>;
  253. card-detect-delay = <200>;
  254. samsung,dw-mshc-ciu-div = <3>;
  255. samsung,dw-mshc-sdr-timing = <2 3>;
  256. samsung,dw-mshc-ddr-timing = <1 2>;
  257. pinctrl-names = "default";
  258. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
  259. bus-width = <4>;
  260. disable-wp;
  261. cap-sd-highspeed;
  262. };
  263. spi_1: spi@12d30000 {
  264. cs-gpios = <&gpa2 5 0>;
  265. status = "okay";
  266. w25q80bw@0 {
  267. #address-cells = <1>;
  268. #size-cells = <1>;
  269. compatible = "w25x80";
  270. reg = <0>;
  271. spi-max-frequency = <1000000>;
  272. controller-data {
  273. samsung,spi-feedback-delay = <0>;
  274. };
  275. partition@0 {
  276. label = "U-Boot";
  277. reg = <0x0 0x40000>;
  278. read-only;
  279. };
  280. partition@40000 {
  281. label = "Kernel";
  282. reg = <0x40000 0xc0000>;
  283. };
  284. };
  285. };
  286. hdmi {
  287. hpd-gpio = <&gpx3 7 0>;
  288. };
  289. codec@11000000 {
  290. samsung,mfc-r = <0x43000000 0x800000>;
  291. samsung,mfc-l = <0x51000000 0x800000>;
  292. };
  293. i2s0: i2s@03830000 {
  294. status = "okay";
  295. };
  296. sound {
  297. compatible = "samsung,smdk-wm8994";
  298. samsung,i2s-controller = <&i2s0>;
  299. samsung,audio-codec = <&wm8994>;
  300. };
  301. usb@12110000 {
  302. samsung,vbus-gpio = <&gpx2 6 0>;
  303. };
  304. dp-controller@145B0000 {
  305. samsung,color-space = <0>;
  306. samsung,dynamic-range = <0>;
  307. samsung,ycbcr-coeff = <0>;
  308. samsung,color-depth = <1>;
  309. samsung,link-rate = <0x0a>;
  310. samsung,lane-count = <4>;
  311. pinctrl-names = "default";
  312. pinctrl-0 = <&dp_hpd>;
  313. status = "okay";
  314. };
  315. fimd@14400000 {
  316. status = "okay";
  317. display-timings {
  318. native-mode = <&timing0>;
  319. timing0: timing@0 {
  320. /* 1280x800 */
  321. clock-frequency = <50000>;
  322. hactive = <1280>;
  323. vactive = <800>;
  324. hfront-porch = <4>;
  325. hback-porch = <4>;
  326. hsync-len = <4>;
  327. vback-porch = <4>;
  328. vfront-porch = <4>;
  329. vsync-len = <4>;
  330. };
  331. };
  332. };
  333. fixed-rate-clocks {
  334. xxti {
  335. compatible = "samsung,clock-xxti";
  336. clock-frequency = <24000000>;
  337. };
  338. codec_mclk: codec-mclk {
  339. compatible = "fixed-clock";
  340. #clock-cells = <0>;
  341. clock-frequency = <16934000>;
  342. };
  343. };
  344. };