exynos4210.dtsi 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Samsung's Exynos4210 SoC device tree source
  4. *
  5. * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
  6. * http://www.samsung.com
  7. * Copyright (c) 2010-2011 Linaro Ltd.
  8. * www.linaro.org
  9. *
  10. * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210
  11. * based board files can include this file and provide values for board specific
  12. * bindings.
  13. *
  14. * Note: This file does not include device nodes for all the controllers in
  15. * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional
  16. * nodes can be added to this file.
  17. */
  18. #include "exynos4.dtsi"
  19. #include "exynos4-cpu-thermal.dtsi"
  20. / {
  21. compatible = "samsung,exynos4210", "samsung,exynos4";
  22. aliases {
  23. pinctrl0 = &pinctrl_0;
  24. pinctrl1 = &pinctrl_1;
  25. pinctrl2 = &pinctrl_2;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. cpu-map {
  31. cluster0 {
  32. core0 {
  33. cpu = <&cpu0>;
  34. };
  35. core1 {
  36. cpu = <&cpu1>;
  37. };
  38. };
  39. };
  40. cpu0: cpu@900 {
  41. device_type = "cpu";
  42. compatible = "arm,cortex-a9";
  43. reg = <0x900>;
  44. clocks = <&clock CLK_ARM_CLK>;
  45. clock-names = "cpu";
  46. clock-latency = <160000>;
  47. operating-points = <
  48. 1200000 1250000
  49. 1000000 1150000
  50. 800000 1075000
  51. 500000 975000
  52. 400000 975000
  53. 200000 950000
  54. >;
  55. #cooling-cells = <2>; /* min followed by max */
  56. };
  57. cpu1: cpu@901 {
  58. device_type = "cpu";
  59. compatible = "arm,cortex-a9";
  60. reg = <0x901>;
  61. clocks = <&clock CLK_ARM_CLK>;
  62. clock-names = "cpu";
  63. clock-latency = <160000>;
  64. operating-points = <
  65. 1200000 1250000
  66. 1000000 1150000
  67. 800000 1075000
  68. 500000 975000
  69. 400000 975000
  70. 200000 950000
  71. >;
  72. #cooling-cells = <2>; /* min followed by max */
  73. };
  74. };
  75. soc: soc {
  76. sysram: sram@2020000 {
  77. compatible = "mmio-sram";
  78. reg = <0x02020000 0x20000>;
  79. #address-cells = <1>;
  80. #size-cells = <1>;
  81. ranges = <0 0x02020000 0x20000>;
  82. smp-sram@0 {
  83. compatible = "samsung,exynos4210-sysram";
  84. reg = <0x0 0x1000>;
  85. };
  86. smp-sram@1f000 {
  87. compatible = "samsung,exynos4210-sysram-ns";
  88. reg = <0x1f000 0x1000>;
  89. };
  90. };
  91. pd_lcd1: power-domain@10023ca0 {
  92. compatible = "samsung,exynos4210-pd";
  93. reg = <0x10023CA0 0x20>;
  94. #power-domain-cells = <0>;
  95. label = "LCD1";
  96. };
  97. l2c: cache-controller@10502000 {
  98. compatible = "arm,pl310-cache";
  99. reg = <0x10502000 0x1000>;
  100. cache-unified;
  101. cache-level = <2>;
  102. prefetch-data = <1>;
  103. prefetch-instr = <1>;
  104. arm,tag-latency = <2 2 1>;
  105. arm,data-latency = <2 2 1>;
  106. };
  107. mct: timer@10050000 {
  108. compatible = "samsung,exynos4210-mct";
  109. reg = <0x10050000 0x800>;
  110. clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MCT>;
  111. clock-names = "fin_pll", "mct";
  112. interrupts-extended = <&gic GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
  113. <&gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
  114. <&combiner 12 6>,
  115. <&combiner 12 7>,
  116. <&gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
  117. <&gic GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
  118. };
  119. watchdog: watchdog@10060000 {
  120. compatible = "samsung,s3c6410-wdt";
  121. reg = <0x10060000 0x100>;
  122. interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  123. clocks = <&clock CLK_WDT>;
  124. clock-names = "watchdog";
  125. };
  126. clock: clock-controller@10030000 {
  127. compatible = "samsung,exynos4210-clock";
  128. reg = <0x10030000 0x20000>;
  129. #clock-cells = <1>;
  130. };
  131. pinctrl_0: pinctrl@11400000 {
  132. compatible = "samsung,exynos4210-pinctrl";
  133. reg = <0x11400000 0x1000>;
  134. interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
  135. };
  136. pinctrl_1: pinctrl@11000000 {
  137. compatible = "samsung,exynos4210-pinctrl";
  138. reg = <0x11000000 0x1000>;
  139. interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
  140. wakup_eint: wakeup-interrupt-controller {
  141. compatible = "samsung,exynos4210-wakeup-eint";
  142. interrupt-parent = <&gic>;
  143. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  144. };
  145. };
  146. pinctrl_2: pinctrl@3860000 {
  147. compatible = "samsung,exynos4210-pinctrl";
  148. reg = <0x03860000 0x1000>;
  149. };
  150. g2d: g2d@12800000 {
  151. compatible = "samsung,s5pv210-g2d";
  152. reg = <0x12800000 0x1000>;
  153. interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
  154. clocks = <&clock CLK_SCLK_FIMG2D>, <&clock CLK_G2D>;
  155. clock-names = "sclk_fimg2d", "fimg2d";
  156. power-domains = <&pd_lcd0>;
  157. iommus = <&sysmmu_g2d>;
  158. };
  159. ppmu_acp: ppmu@10ae0000 {
  160. compatible = "samsung,exynos-ppmu";
  161. reg = <0x10ae0000 0x2000>;
  162. status = "disabled";
  163. };
  164. ppmu_lcd1: ppmu@12240000 {
  165. compatible = "samsung,exynos-ppmu";
  166. reg = <0x12240000 0x2000>;
  167. clocks = <&clock CLK_PPMULCD1>;
  168. clock-names = "ppmu";
  169. status = "disabled";
  170. };
  171. sysmmu_g2d: sysmmu@12a20000 {
  172. compatible = "samsung,exynos-sysmmu";
  173. reg = <0x12A20000 0x1000>;
  174. interrupt-parent = <&combiner>;
  175. interrupts = <4 7>;
  176. clock-names = "sysmmu", "master";
  177. clocks = <&clock CLK_SMMU_G2D>, <&clock CLK_G2D>;
  178. power-domains = <&pd_lcd0>;
  179. #iommu-cells = <0>;
  180. };
  181. sysmmu_fimd1: sysmmu@12220000 {
  182. compatible = "samsung,exynos-sysmmu";
  183. interrupt-parent = <&combiner>;
  184. reg = <0x12220000 0x1000>;
  185. interrupts = <5 3>;
  186. clock-names = "sysmmu", "master";
  187. clocks = <&clock CLK_SMMU_FIMD1>, <&clock CLK_FIMD1>;
  188. power-domains = <&pd_lcd1>;
  189. #iommu-cells = <0>;
  190. };
  191. bus_dmc: bus-dmc {
  192. compatible = "samsung,exynos-bus";
  193. clocks = <&clock CLK_DIV_DMC>;
  194. clock-names = "bus";
  195. operating-points-v2 = <&bus_dmc_opp_table>;
  196. status = "disabled";
  197. };
  198. bus_acp: bus-acp {
  199. compatible = "samsung,exynos-bus";
  200. clocks = <&clock CLK_DIV_ACP>;
  201. clock-names = "bus";
  202. operating-points-v2 = <&bus_acp_opp_table>;
  203. status = "disabled";
  204. };
  205. bus_peri: bus-peri {
  206. compatible = "samsung,exynos-bus";
  207. clocks = <&clock CLK_ACLK100>;
  208. clock-names = "bus";
  209. operating-points-v2 = <&bus_peri_opp_table>;
  210. status = "disabled";
  211. };
  212. bus_fsys: bus-fsys {
  213. compatible = "samsung,exynos-bus";
  214. clocks = <&clock CLK_ACLK133>;
  215. clock-names = "bus";
  216. operating-points-v2 = <&bus_fsys_opp_table>;
  217. status = "disabled";
  218. };
  219. bus_display: bus-display {
  220. compatible = "samsung,exynos-bus";
  221. clocks = <&clock CLK_ACLK160>;
  222. clock-names = "bus";
  223. operating-points-v2 = <&bus_display_opp_table>;
  224. status = "disabled";
  225. };
  226. bus_lcd0: bus-lcd0 {
  227. compatible = "samsung,exynos-bus";
  228. clocks = <&clock CLK_ACLK200>;
  229. clock-names = "bus";
  230. operating-points-v2 = <&bus_leftbus_opp_table>;
  231. status = "disabled";
  232. };
  233. bus_leftbus: bus-leftbus {
  234. compatible = "samsung,exynos-bus";
  235. clocks = <&clock CLK_DIV_GDL>;
  236. clock-names = "bus";
  237. operating-points-v2 = <&bus_leftbus_opp_table>;
  238. status = "disabled";
  239. };
  240. bus_rightbus: bus-rightbus {
  241. compatible = "samsung,exynos-bus";
  242. clocks = <&clock CLK_DIV_GDR>;
  243. clock-names = "bus";
  244. operating-points-v2 = <&bus_leftbus_opp_table>;
  245. status = "disabled";
  246. };
  247. bus_mfc: bus-mfc {
  248. compatible = "samsung,exynos-bus";
  249. clocks = <&clock CLK_SCLK_MFC>;
  250. clock-names = "bus";
  251. operating-points-v2 = <&bus_leftbus_opp_table>;
  252. status = "disabled";
  253. };
  254. bus_dmc_opp_table: opp-table1 {
  255. compatible = "operating-points-v2";
  256. opp-shared;
  257. opp-134000000 {
  258. opp-hz = /bits/ 64 <134000000>;
  259. opp-microvolt = <1025000>;
  260. };
  261. opp-267000000 {
  262. opp-hz = /bits/ 64 <267000000>;
  263. opp-microvolt = <1050000>;
  264. };
  265. opp-400000000 {
  266. opp-hz = /bits/ 64 <400000000>;
  267. opp-microvolt = <1150000>;
  268. opp-suspend;
  269. };
  270. };
  271. bus_acp_opp_table: opp-table2 {
  272. compatible = "operating-points-v2";
  273. opp-shared;
  274. opp-134000000 {
  275. opp-hz = /bits/ 64 <134000000>;
  276. };
  277. opp-160000000 {
  278. opp-hz = /bits/ 64 <160000000>;
  279. };
  280. opp-200000000 {
  281. opp-hz = /bits/ 64 <200000000>;
  282. };
  283. };
  284. bus_peri_opp_table: opp-table3 {
  285. compatible = "operating-points-v2";
  286. opp-shared;
  287. opp-5000000 {
  288. opp-hz = /bits/ 64 <5000000>;
  289. };
  290. opp-100000000 {
  291. opp-hz = /bits/ 64 <100000000>;
  292. };
  293. };
  294. bus_fsys_opp_table: opp-table4 {
  295. compatible = "operating-points-v2";
  296. opp-shared;
  297. opp-10000000 {
  298. opp-hz = /bits/ 64 <10000000>;
  299. };
  300. opp-134000000 {
  301. opp-hz = /bits/ 64 <134000000>;
  302. };
  303. };
  304. bus_display_opp_table: opp-table5 {
  305. compatible = "operating-points-v2";
  306. opp-shared;
  307. opp-100000000 {
  308. opp-hz = /bits/ 64 <100000000>;
  309. };
  310. opp-134000000 {
  311. opp-hz = /bits/ 64 <134000000>;
  312. };
  313. opp-160000000 {
  314. opp-hz = /bits/ 64 <160000000>;
  315. };
  316. };
  317. bus_leftbus_opp_table: opp-table6 {
  318. compatible = "operating-points-v2";
  319. opp-shared;
  320. opp-100000000 {
  321. opp-hz = /bits/ 64 <100000000>;
  322. };
  323. opp-160000000 {
  324. opp-hz = /bits/ 64 <160000000>;
  325. };
  326. opp-200000000 {
  327. opp-hz = /bits/ 64 <200000000>;
  328. opp-suspend;
  329. };
  330. };
  331. };
  332. };
  333. &cpu_alert0 {
  334. temperature = <85000>; /* millicelsius */
  335. };
  336. &cpu_alert1 {
  337. temperature = <100000>; /* millicelsius */
  338. };
  339. &cpu_alert2 {
  340. temperature = <110000>; /* millicelsius */
  341. };
  342. &cpu_thermal {
  343. polling-delay-passive = <0>;
  344. polling-delay = <0>;
  345. };
  346. &gic {
  347. cpu-offset = <0x8000>;
  348. };
  349. &camera {
  350. clocks = <&clock CLK_SCLK_CAM0>, <&clock CLK_SCLK_CAM1>,
  351. <&clock CLK_PIXELASYNCM0>, <&clock CLK_PIXELASYNCM1>;
  352. clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1";
  353. };
  354. &combiner {
  355. samsung,combiner-nr = <16>;
  356. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
  357. <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
  358. <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
  359. <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  360. <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  361. <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
  362. <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
  363. <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
  364. <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  365. <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
  366. <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
  367. <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
  368. <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
  369. <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
  370. <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
  371. <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
  372. };
  373. &fimc_0 {
  374. samsung,pix-limits = <4224 8192 1920 4224>;
  375. samsung,mainscaler-ext;
  376. samsung,cam-if;
  377. };
  378. &fimc_1 {
  379. samsung,pix-limits = <4224 8192 1920 4224>;
  380. samsung,mainscaler-ext;
  381. samsung,cam-if;
  382. };
  383. &fimc_2 {
  384. samsung,pix-limits = <4224 8192 1920 4224>;
  385. samsung,mainscaler-ext;
  386. samsung,lcd-wb;
  387. };
  388. &fimc_3 {
  389. samsung,pix-limits = <1920 8192 1366 1920>;
  390. samsung,rotators = <0>;
  391. samsung,mainscaler-ext;
  392. samsung,lcd-wb;
  393. };
  394. &gpu {
  395. interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
  396. <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
  397. <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
  398. <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
  399. <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
  400. <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
  401. <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
  402. <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  403. <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
  404. <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
  405. interrupt-names = "gp",
  406. "gpmmu",
  407. "pp0",
  408. "ppmmu0",
  409. "pp1",
  410. "ppmmu1",
  411. "pp2",
  412. "ppmmu2",
  413. "pp3",
  414. "ppmmu3";
  415. operating-points-v2 = <&gpu_opp_table>;
  416. gpu_opp_table: opp-table {
  417. compatible = "operating-points-v2";
  418. opp-160000000 {
  419. opp-hz = /bits/ 64 <160000000>;
  420. opp-microvolt = <950000>;
  421. };
  422. opp-267000000 {
  423. opp-hz = /bits/ 64 <267000000>;
  424. opp-microvolt = <1050000>;
  425. };
  426. };
  427. };
  428. &mdma1 {
  429. power-domains = <&pd_lcd0>;
  430. };
  431. &mixer {
  432. clock-names = "mixer", "hdmi", "sclk_hdmi", "vp", "mout_mixer",
  433. "sclk_mixer";
  434. clocks = <&clock CLK_MIXER>, <&clock CLK_HDMI>,
  435. <&clock CLK_SCLK_HDMI>, <&clock CLK_VP>,
  436. <&clock CLK_MOUT_MIXER>, <&clock CLK_SCLK_MIXER>;
  437. };
  438. &pmu {
  439. interrupts = <2 2>, <3 2>;
  440. interrupt-affinity = <&cpu0>, <&cpu1>;
  441. status = "okay";
  442. };
  443. &pmu_system_controller {
  444. clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
  445. "clkout4", "clkout8", "clkout9";
  446. clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
  447. <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
  448. <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>, <&clock CLK_XUSBXTI>;
  449. #clock-cells = <1>;
  450. };
  451. &rotator {
  452. power-domains = <&pd_lcd0>;
  453. };
  454. &sysmmu_rotator {
  455. power-domains = <&pd_lcd0>;
  456. };
  457. &tmu {
  458. compatible = "samsung,exynos4210-tmu";
  459. clocks = <&clock CLK_TMU_APBIF>;
  460. clock-names = "tmu_apbif";
  461. };
  462. #include "exynos4210-pinctrl.dtsi"