exynos5250-smdk5250.dts 8.6 KB

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