exynos5433-tm2.dts 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049
  1. /*
  2. * SAMSUNG Exynos5433 TM2 board device tree source
  3. *
  4. * Copyright (c) 2016 Samsung Electronics Co., Ltd.
  5. *
  6. * Device tree source file for Samsung's TM2 board which is based on
  7. * Samsung Exynos5433 SoC.
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. /dts-v1/;
  14. #include "exynos5433.dtsi"
  15. #include <dt-bindings/clock/samsung,s2mps11.h>
  16. #include <dt-bindings/gpio/gpio.h>
  17. #include <dt-bindings/input/input.h>
  18. #include <dt-bindings/interrupt-controller/irq.h>
  19. / {
  20. model = "Samsung TM2 board";
  21. compatible = "samsung,tm2", "samsung,exynos5433";
  22. aliases {
  23. gsc0 = &gsc_0;
  24. gsc1 = &gsc_1;
  25. gsc2 = &gsc_2;
  26. pinctrl0 = &pinctrl_alive;
  27. pinctrl1 = &pinctrl_aud;
  28. pinctrl2 = &pinctrl_cpif;
  29. pinctrl3 = &pinctrl_ese;
  30. pinctrl4 = &pinctrl_finger;
  31. pinctrl5 = &pinctrl_fsys;
  32. pinctrl6 = &pinctrl_imem;
  33. pinctrl7 = &pinctrl_nfc;
  34. pinctrl8 = &pinctrl_peric;
  35. pinctrl9 = &pinctrl_touch;
  36. serial0 = &serial_0;
  37. serial1 = &serial_1;
  38. serial2 = &serial_2;
  39. serial3 = &serial_3;
  40. spi0 = &spi_0;
  41. spi1 = &spi_1;
  42. spi2 = &spi_2;
  43. spi3 = &spi_3;
  44. spi4 = &spi_4;
  45. mshc0 = &mshc_0;
  46. mshc2 = &mshc_2;
  47. };
  48. chosen {
  49. stdout-path = &serial_1;
  50. };
  51. memory@20000000 {
  52. device_type = "memory";
  53. reg = <0x0 0x20000000 0x0 0xc0000000>;
  54. };
  55. gpio-keys {
  56. compatible = "gpio-keys";
  57. power-key {
  58. gpios = <&gpa2 7 GPIO_ACTIVE_LOW>;
  59. linux,code = <KEY_POWER>;
  60. label = "power key";
  61. debounce-interval = <10>;
  62. };
  63. volume-up-key {
  64. gpios = <&gpa2 0 GPIO_ACTIVE_LOW>;
  65. linux,code = <KEY_VOLUMEUP>;
  66. label = "volume-up key";
  67. debounce-interval = <10>;
  68. };
  69. volume-down-key {
  70. gpios = <&gpa2 1 GPIO_ACTIVE_LOW>;
  71. linux,code = <KEY_VOLUMEDOWN>;
  72. label = "volume-down key";
  73. debounce-interval = <10>;
  74. };
  75. homepage-key {
  76. gpios = <&gpa0 3 GPIO_ACTIVE_LOW>;
  77. linux,code = <KEY_MENU>;
  78. label = "homepage key";
  79. debounce-interval = <10>;
  80. };
  81. };
  82. i2c_max98504: i2c-gpio-0 {
  83. compatible = "i2c-gpio";
  84. gpios = <&gpd0 1 GPIO_ACTIVE_HIGH /* SPK_AMP_SDA */
  85. &gpd0 0 GPIO_ACTIVE_HIGH /* SPK_AMP_SCL */ >;
  86. i2c-gpio,delay-us = <2>;
  87. #address-cells = <1>;
  88. #size-cells = <0>;
  89. status = "okay";
  90. max98504: max98504@31 {
  91. compatible = "maxim,max98504";
  92. reg = <0x31>;
  93. maxim,rx-path = <1>;
  94. maxim,tx-path = <1>;
  95. maxim,tx-channel-mask = <3>;
  96. maxim,tx-channel-source = <2>;
  97. };
  98. };
  99. sound {
  100. compatible = "samsung,tm2-audio";
  101. audio-codec = <&wm5110>;
  102. i2s-controller = <&i2s0>;
  103. audio-amplifier = <&max98504>;
  104. mic-bias-gpios = <&gpr3 2 GPIO_ACTIVE_HIGH>;
  105. model = "wm5110";
  106. samsung,audio-routing =
  107. /* Headphone */
  108. "HP", "HPOUT1L",
  109. "HP", "HPOUT1R",
  110. /* Speaker */
  111. "SPK", "SPKOUT",
  112. "SPKOUT", "HPOUT2L",
  113. "SPKOUT", "HPOUT2R",
  114. /* Receiver */
  115. "RCV", "HPOUT3L",
  116. "RCV", "HPOUT3R";
  117. status = "okay";
  118. };
  119. };
  120. &adc {
  121. vdd-supply = <&ldo3_reg>;
  122. status = "okay";
  123. thermistor-ap {
  124. compatible = "murata,ncp03wf104";
  125. pullup-uv = <1800000>;
  126. pullup-ohm = <100000>;
  127. pulldown-ohm = <0>;
  128. io-channels = <&adc 0>;
  129. };
  130. thermistor-battery {
  131. compatible = "murata,ncp03wf104";
  132. pullup-uv = <1800000>;
  133. pullup-ohm = <100000>;
  134. pulldown-ohm = <0>;
  135. io-channels = <&adc 1>;
  136. #thermal-sensor-cells = <0>;
  137. };
  138. thermistor-charger {
  139. compatible = "murata,ncp03wf104";
  140. pullup-uv = <1800000>;
  141. pullup-ohm = <100000>;
  142. pulldown-ohm = <0>;
  143. io-channels = <&adc 2>;
  144. };
  145. };
  146. &cmu_aud {
  147. assigned-clocks = <&cmu_aud CLK_MOUT_AUD_PLL_USER>;
  148. assigned-clock-parents = <&cmu_top CLK_FOUT_AUD_PLL>;
  149. };
  150. &cmu_fsys {
  151. assigned-clocks = <&cmu_top CLK_MOUT_SCLK_USBDRD30>,
  152. <&cmu_top CLK_MOUT_SCLK_USBHOST30>,
  153. <&cmu_fsys CLK_MOUT_SCLK_USBDRD30_USER>,
  154. <&cmu_fsys CLK_MOUT_SCLK_USBHOST30_USER>,
  155. <&cmu_fsys CLK_MOUT_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK_USER>,
  156. <&cmu_fsys CLK_MOUT_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK_USER>,
  157. <&cmu_fsys CLK_MOUT_PHYCLK_USBDRD30_UDRD30_PHYCLOCK_USER>,
  158. <&cmu_fsys CLK_MOUT_PHYCLK_USBHOST30_UHOST30_PHYCLOCK_USER>,
  159. <&cmu_top CLK_DIV_SCLK_USBDRD30>,
  160. <&cmu_top CLK_DIV_SCLK_USBHOST30>;
  161. assigned-clock-parents = <&cmu_top CLK_MOUT_BUS_PLL_USER>,
  162. <&cmu_top CLK_MOUT_BUS_PLL_USER>,
  163. <&cmu_top CLK_SCLK_USBDRD30_FSYS>,
  164. <&cmu_top CLK_SCLK_USBHOST30_FSYS>,
  165. <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK_PHY>,
  166. <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK_PHY>,
  167. <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PHYCLOCK_PHY>,
  168. <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PHYCLOCK_PHY>;
  169. assigned-clock-rates = <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>,
  170. <66700000>, <66700000>;
  171. };
  172. &cmu_gscl {
  173. assigned-clocks = <&cmu_gscl CLK_MOUT_ACLK_GSCL_111_USER>,
  174. <&cmu_gscl CLK_MOUT_ACLK_GSCL_333_USER>;
  175. assigned-clock-parents = <&cmu_top CLK_ACLK_GSCL_111>,
  176. <&cmu_top CLK_ACLK_GSCL_333>;
  177. };
  178. &cmu_mfc {
  179. assigned-clocks = <&cmu_mfc CLK_MOUT_ACLK_MFC_400_USER>;
  180. assigned-clock-parents = <&cmu_top CLK_ACLK_MFC_400>;
  181. };
  182. &cmu_mscl {
  183. assigned-clocks = <&cmu_mscl CLK_MOUT_ACLK_MSCL_400_USER>,
  184. <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>,
  185. <&cmu_mscl CLK_MOUT_SCLK_JPEG>,
  186. <&cmu_top CLK_MOUT_SCLK_JPEG_A>;
  187. assigned-clock-parents = <&cmu_top CLK_ACLK_MSCL_400>,
  188. <&cmu_top CLK_SCLK_JPEG_MSCL>,
  189. <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>,
  190. <&cmu_top CLK_MOUT_BUS_PLL_USER>;
  191. };
  192. &cpu0 {
  193. cpu-supply = <&buck3_reg>;
  194. };
  195. &cpu4 {
  196. cpu-supply = <&buck2_reg>;
  197. };
  198. &decon {
  199. status = "okay";
  200. i80-if-timings {
  201. };
  202. };
  203. &dsi {
  204. status = "okay";
  205. vddcore-supply = <&ldo6_reg>;
  206. vddio-supply = <&ldo7_reg>;
  207. samsung,pll-clock-frequency = <24000000>;
  208. pinctrl-names = "default";
  209. pinctrl-0 = <&te_irq>;
  210. ports {
  211. #address-cells = <1>;
  212. #size-cells = <0>;
  213. port@1 {
  214. reg = <1>;
  215. dsi_out: endpoint {
  216. samsung,burst-clock-frequency = <512000000>;
  217. samsung,esc-clock-frequency = <16000000>;
  218. };
  219. };
  220. };
  221. };
  222. &hsi2c_0 {
  223. status = "okay";
  224. clock-frequency = <2500000>;
  225. s2mps13-pmic@66 {
  226. compatible = "samsung,s2mps13-pmic";
  227. interrupt-parent = <&gpa0>;
  228. interrupts = <7 IRQ_TYPE_NONE>;
  229. reg = <0x66>;
  230. samsung,s2mps11-wrstbi-ground;
  231. s2mps13_osc: clocks {
  232. compatible = "samsung,s2mps13-clk";
  233. #clock-cells = <1>;
  234. clock-output-names = "s2mps13_ap", "s2mps13_cp",
  235. "s2mps13_bt";
  236. };
  237. regulators {
  238. ldo1_reg: LDO1 {
  239. regulator-name = "VDD_ALIVE_0.9V_AP";
  240. regulator-min-microvolt = <900000>;
  241. regulator-max-microvolt = <900000>;
  242. regulator-always-on;
  243. };
  244. ldo2_reg: LDO2 {
  245. regulator-name = "VDDQ_MMC2_2.8V_AP";
  246. regulator-min-microvolt = <2800000>;
  247. regulator-max-microvolt = <2800000>;
  248. regulator-always-on;
  249. regulator-state-mem {
  250. regulator-off-in-suspend;
  251. };
  252. };
  253. ldo3_reg: LDO3 {
  254. regulator-name = "VDD1_E_1.8V_AP";
  255. regulator-min-microvolt = <1800000>;
  256. regulator-max-microvolt = <1800000>;
  257. regulator-always-on;
  258. };
  259. ldo4_reg: LDO4 {
  260. regulator-name = "VDD10_MIF_PLL_1.0V_AP";
  261. regulator-min-microvolt = <1300000>;
  262. regulator-max-microvolt = <1300000>;
  263. regulator-always-on;
  264. regulator-state-mem {
  265. regulator-off-in-suspend;
  266. };
  267. };
  268. ldo5_reg: LDO5 {
  269. regulator-name = "VDD10_DPLL_1.0V_AP";
  270. regulator-min-microvolt = <1000000>;
  271. regulator-max-microvolt = <1000000>;
  272. regulator-always-on;
  273. regulator-state-mem {
  274. regulator-off-in-suspend;
  275. };
  276. };
  277. ldo6_reg: LDO6 {
  278. regulator-name = "VDD10_MIPI2L_1.0V_AP";
  279. regulator-min-microvolt = <1000000>;
  280. regulator-max-microvolt = <1000000>;
  281. regulator-state-mem {
  282. regulator-off-in-suspend;
  283. };
  284. };
  285. ldo7_reg: LDO7 {
  286. regulator-name = "VDD18_MIPI2L_1.8V_AP";
  287. regulator-min-microvolt = <1800000>;
  288. regulator-max-microvolt = <1800000>;
  289. };
  290. ldo8_reg: LDO8 {
  291. regulator-name = "VDD18_LLI_1.8V_AP";
  292. regulator-min-microvolt = <1800000>;
  293. regulator-max-microvolt = <1800000>;
  294. regulator-always-on;
  295. regulator-state-mem {
  296. regulator-off-in-suspend;
  297. };
  298. };
  299. ldo9_reg: LDO9 {
  300. regulator-name = "VDD18_ABB_ETC_1.8V_AP";
  301. regulator-min-microvolt = <1800000>;
  302. regulator-max-microvolt = <1800000>;
  303. regulator-always-on;
  304. regulator-state-mem {
  305. regulator-off-in-suspend;
  306. };
  307. };
  308. ldo10_reg: LDO10 {
  309. regulator-name = "VDD33_USB30_3.0V_AP";
  310. regulator-min-microvolt = <3000000>;
  311. regulator-max-microvolt = <3000000>;
  312. regulator-state-mem {
  313. regulator-off-in-suspend;
  314. };
  315. };
  316. ldo11_reg: LDO11 {
  317. regulator-name = "VDD_INT_M_1.0V_AP";
  318. regulator-min-microvolt = <1000000>;
  319. regulator-max-microvolt = <1000000>;
  320. regulator-always-on;
  321. regulator-state-mem {
  322. regulator-off-in-suspend;
  323. };
  324. };
  325. ldo12_reg: LDO12 {
  326. regulator-name = "VDD_KFC_M_1.1V_AP";
  327. regulator-min-microvolt = <800000>;
  328. regulator-max-microvolt = <1350000>;
  329. regulator-always-on;
  330. };
  331. ldo13_reg: LDO13 {
  332. regulator-name = "VDD_G3D_M_0.95V_AP";
  333. regulator-min-microvolt = <950000>;
  334. regulator-max-microvolt = <950000>;
  335. regulator-always-on;
  336. regulator-state-mem {
  337. regulator-off-in-suspend;
  338. };
  339. };
  340. ldo14_reg: LDO14 {
  341. regulator-name = "VDDQ_M1_LDO_1.2V_AP";
  342. regulator-min-microvolt = <1200000>;
  343. regulator-max-microvolt = <1200000>;
  344. regulator-always-on;
  345. regulator-state-mem {
  346. regulator-off-in-suspend;
  347. };
  348. };
  349. ldo15_reg: LDO15 {
  350. regulator-name = "VDDQ_M2_LDO_1.2V_AP";
  351. regulator-min-microvolt = <1200000>;
  352. regulator-max-microvolt = <1200000>;
  353. regulator-always-on;
  354. regulator-state-mem {
  355. regulator-off-in-suspend;
  356. };
  357. };
  358. ldo16_reg: LDO16 {
  359. regulator-name = "VDDQ_EFUSE";
  360. regulator-min-microvolt = <1400000>;
  361. regulator-max-microvolt = <3400000>;
  362. regulator-always-on;
  363. };
  364. ldo17_reg: LDO17 {
  365. regulator-name = "V_TFLASH_2.8V_AP";
  366. regulator-min-microvolt = <2800000>;
  367. regulator-max-microvolt = <2800000>;
  368. };
  369. ldo18_reg: LDO18 {
  370. regulator-name = "V_CODEC_1.8V_AP";
  371. regulator-min-microvolt = <1800000>;
  372. regulator-max-microvolt = <1800000>;
  373. };
  374. ldo19_reg: LDO19 {
  375. regulator-name = "VDDA_1.8V_COMP";
  376. regulator-min-microvolt = <1800000>;
  377. regulator-max-microvolt = <1800000>;
  378. regulator-always-on;
  379. };
  380. ldo20_reg: LDO20 {
  381. regulator-name = "VCC_2.8V_AP";
  382. regulator-min-microvolt = <2800000>;
  383. regulator-max-microvolt = <2800000>;
  384. regulator-always-on;
  385. };
  386. ldo21_reg: LDO21 {
  387. regulator-name = "VT_CAM_1.8V";
  388. regulator-min-microvolt = <1800000>;
  389. regulator-max-microvolt = <1800000>;
  390. };
  391. ldo22_reg: LDO22 {
  392. regulator-name = "CAM_IO_1.8V_AP";
  393. regulator-min-microvolt = <1800000>;
  394. regulator-max-microvolt = <1800000>;
  395. };
  396. ldo23_reg: LDO23 {
  397. regulator-name = "CAM_SEN_CORE_1.2V_AP";
  398. regulator-min-microvolt = <1050000>;
  399. regulator-max-microvolt = <1200000>;
  400. };
  401. ldo24_reg: LDO24 {
  402. regulator-name = "VT_CAM_1.2V";
  403. regulator-min-microvolt = <1200000>;
  404. regulator-max-microvolt = <1200000>;
  405. };
  406. ldo25_reg: LDO25 {
  407. regulator-name = "CAM_SEN_A2.8V_AP";
  408. regulator-min-microvolt = <2800000>;
  409. regulator-max-microvolt = <2800000>;
  410. };
  411. ldo26_reg: LDO26 {
  412. regulator-name = "CAM_AF_2.8V_AP";
  413. regulator-min-microvolt = <2800000>;
  414. regulator-max-microvolt = <2800000>;
  415. };
  416. ldo27_reg: LDO27 {
  417. regulator-name = "VCC_3.0V_LCD_AP";
  418. regulator-min-microvolt = <3000000>;
  419. regulator-max-microvolt = <3000000>;
  420. };
  421. ldo28_reg: LDO28 {
  422. regulator-name = "VCC_1.8V_LCD_AP";
  423. regulator-min-microvolt = <1800000>;
  424. regulator-max-microvolt = <1800000>;
  425. };
  426. ldo29_reg: LDO29 {
  427. regulator-name = "VT_CAM_2.8V";
  428. regulator-min-microvolt = <3000000>;
  429. regulator-max-microvolt = <3000000>;
  430. };
  431. ldo30_reg: LDO30 {
  432. regulator-name = "TSP_AVDD_3.3V_AP";
  433. regulator-min-microvolt = <3300000>;
  434. regulator-max-microvolt = <3300000>;
  435. };
  436. ldo31_reg: LDO31 {
  437. regulator-name = "TSP_VDD_1.85V_AP";
  438. regulator-min-microvolt = <1850000>;
  439. regulator-max-microvolt = <1850000>;
  440. };
  441. ldo32_reg: LDO32 {
  442. regulator-name = "VTOUCH_1.8V_AP";
  443. regulator-min-microvolt = <1800000>;
  444. regulator-max-microvolt = <1800000>;
  445. };
  446. ldo33_reg: LDO33 {
  447. regulator-name = "VTOUCH_LED_3.3V";
  448. regulator-min-microvolt = <2500000>;
  449. regulator-max-microvolt = <3300000>;
  450. regulator-ramp-delay = <12500>;
  451. };
  452. ldo34_reg: LDO34 {
  453. regulator-name = "VCC_1.8V_MHL_AP";
  454. regulator-min-microvolt = <1000000>;
  455. regulator-max-microvolt = <2100000>;
  456. };
  457. ldo35_reg: LDO35 {
  458. regulator-name = "OIS_VM_2.8V";
  459. regulator-min-microvolt = <1800000>;
  460. regulator-max-microvolt = <2800000>;
  461. };
  462. ldo36_reg: LDO36 {
  463. regulator-name = "VSIL_1.0V";
  464. regulator-min-microvolt = <1000000>;
  465. regulator-max-microvolt = <1000000>;
  466. };
  467. ldo37_reg: LDO37 {
  468. regulator-name = "VF_1.8V";
  469. regulator-min-microvolt = <1800000>;
  470. regulator-max-microvolt = <1800000>;
  471. };
  472. ldo38_reg: LDO38 {
  473. regulator-name = "VCC_3.0V_MOTOR_AP";
  474. regulator-min-microvolt = <3000000>;
  475. regulator-max-microvolt = <3000000>;
  476. };
  477. ldo39_reg: LDO39 {
  478. regulator-name = "V_HRM_1.8V";
  479. regulator-min-microvolt = <1800000>;
  480. regulator-max-microvolt = <1800000>;
  481. };
  482. ldo40_reg: LDO40 {
  483. regulator-name = "V_HRM_3.3V";
  484. regulator-min-microvolt = <3300000>;
  485. regulator-max-microvolt = <3300000>;
  486. };
  487. buck1_reg: BUCK1 {
  488. regulator-name = "VDD_MIF_0.9V_AP";
  489. regulator-min-microvolt = <600000>;
  490. regulator-max-microvolt = <1500000>;
  491. regulator-always-on;
  492. regulator-state-mem {
  493. regulator-off-in-suspend;
  494. };
  495. };
  496. buck2_reg: BUCK2 {
  497. regulator-name = "VDD_EGL_1.0V_AP";
  498. regulator-min-microvolt = <900000>;
  499. regulator-max-microvolt = <1300000>;
  500. regulator-always-on;
  501. regulator-state-mem {
  502. regulator-off-in-suspend;
  503. };
  504. };
  505. buck3_reg: BUCK3 {
  506. regulator-name = "VDD_KFC_1.0V_AP";
  507. regulator-min-microvolt = <800000>;
  508. regulator-max-microvolt = <1200000>;
  509. regulator-always-on;
  510. regulator-state-mem {
  511. regulator-off-in-suspend;
  512. };
  513. };
  514. buck4_reg: BUCK4 {
  515. regulator-name = "VDD_INT_0.95V_AP";
  516. regulator-min-microvolt = <600000>;
  517. regulator-max-microvolt = <1500000>;
  518. regulator-always-on;
  519. regulator-state-mem {
  520. regulator-off-in-suspend;
  521. };
  522. };
  523. buck5_reg: BUCK5 {
  524. regulator-name = "VDD_DISP_CAM0_0.9V_AP";
  525. regulator-min-microvolt = <600000>;
  526. regulator-max-microvolt = <1500000>;
  527. regulator-always-on;
  528. regulator-state-mem {
  529. regulator-off-in-suspend;
  530. };
  531. };
  532. buck6_reg: BUCK6 {
  533. regulator-name = "VDD_G3D_0.9V_AP";
  534. regulator-min-microvolt = <600000>;
  535. regulator-max-microvolt = <1500000>;
  536. regulator-always-on;
  537. regulator-state-mem {
  538. regulator-off-in-suspend;
  539. };
  540. };
  541. buck7_reg: BUCK7 {
  542. regulator-name = "VDD_MEM1_1.2V_AP";
  543. regulator-min-microvolt = <1200000>;
  544. regulator-max-microvolt = <1200000>;
  545. regulator-always-on;
  546. };
  547. buck8_reg: BUCK8 {
  548. regulator-name = "VDD_LLDO_1.35V_AP";
  549. regulator-min-microvolt = <1350000>;
  550. regulator-max-microvolt = <3300000>;
  551. regulator-always-on;
  552. };
  553. buck9_reg: BUCK9 {
  554. regulator-name = "VDD_MLDO_2.0V_AP";
  555. regulator-min-microvolt = <1350000>;
  556. regulator-max-microvolt = <3300000>;
  557. regulator-always-on;
  558. };
  559. buck10_reg: BUCK10 {
  560. regulator-name = "vdd_mem2";
  561. regulator-min-microvolt = <550000>;
  562. regulator-max-microvolt = <1500000>;
  563. regulator-always-on;
  564. };
  565. };
  566. };
  567. };
  568. &hsi2c_8 {
  569. status = "okay";
  570. max77843@66 {
  571. compatible = "maxim,max77843";
  572. interrupt-parent = <&gpa1>;
  573. interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
  574. reg = <0x66>;
  575. muic: max77843-muic {
  576. compatible = "maxim,max77843-muic";
  577. };
  578. regulators {
  579. compatible = "maxim,max77843-regulator";
  580. safeout1_reg: SAFEOUT1 {
  581. regulator-name = "SAFEOUT1";
  582. regulator-min-microvolt = <3300000>;
  583. regulator-max-microvolt = <4950000>;
  584. };
  585. safeout2_reg: SAFEOUT2 {
  586. regulator-name = "SAFEOUT2";
  587. regulator-min-microvolt = <3300000>;
  588. regulator-max-microvolt = <4950000>;
  589. };
  590. charger_reg: CHARGER {
  591. regulator-name = "CHARGER";
  592. regulator-min-microamp = <100000>;
  593. regulator-max-microamp = <3150000>;
  594. };
  595. };
  596. haptic: max77843-haptic {
  597. compatible = "maxim,max77843-haptic";
  598. haptic-supply = <&ldo38_reg>;
  599. pwms = <&pwm 0 33670 0>;
  600. pwm-names = "haptic";
  601. };
  602. };
  603. };
  604. &i2s0 {
  605. status = "okay";
  606. };
  607. &mshc_0 {
  608. status = "okay";
  609. num-slots = <1>;
  610. mmc-hs200-1_8v;
  611. mmc-hs400-1_8v;
  612. cap-mmc-highspeed;
  613. non-removable;
  614. card-detect-delay = <200>;
  615. samsung,dw-mshc-ciu-div = <3>;
  616. samsung,dw-mshc-sdr-timing = <0 4>;
  617. samsung,dw-mshc-ddr-timing = <0 2>;
  618. samsung,dw-mshc-hs400-timing = <0 3>;
  619. samsung,read-strobe-delay = <90>;
  620. fifo-depth = <0x80>;
  621. pinctrl-names = "default";
  622. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_qrdy &sd0_bus1 &sd0_bus4
  623. &sd0_bus8 &sd0_rdqs>;
  624. bus-width = <8>;
  625. assigned-clocks = <&cmu_top CLK_SCLK_MMC0_FSYS>;
  626. assigned-clock-rates = <800000000>;
  627. };
  628. &mshc_2 {
  629. status = "okay";
  630. num-slots = <1>;
  631. cap-sd-highspeed;
  632. disable-wp;
  633. cd-gpios = <&gpa2 4 GPIO_ACTIVE_HIGH>;
  634. cd-inverted;
  635. card-detect-delay = <200>;
  636. samsung,dw-mshc-ciu-div = <3>;
  637. samsung,dw-mshc-sdr-timing = <0 4>;
  638. samsung,dw-mshc-ddr-timing = <0 2>;
  639. fifo-depth = <0x80>;
  640. pinctrl-names = "default";
  641. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus1 &sd2_bus4>;
  642. bus-width = <4>;
  643. };
  644. &pinctrl_alive {
  645. pinctrl-names = "default";
  646. pinctrl-0 = <&initial_alive>;
  647. initial_alive: initial-state {
  648. PIN(IN, gpa0-0, DOWN, LV1);
  649. PIN(IN, gpa0-1, NONE, LV1);
  650. PIN(IN, gpa0-2, DOWN, LV1);
  651. PIN(IN, gpa0-3, NONE, LV1);
  652. PIN(IN, gpa0-4, NONE, LV1);
  653. PIN(IN, gpa0-5, DOWN, LV1);
  654. PIN(IN, gpa0-6, NONE, LV1);
  655. PIN(IN, gpa0-7, NONE, LV1);
  656. PIN(IN, gpa1-0, UP, LV1);
  657. PIN(IN, gpa1-1, NONE, LV1);
  658. PIN(IN, gpa1-2, NONE, LV1);
  659. PIN(IN, gpa1-3, DOWN, LV1);
  660. PIN(IN, gpa1-4, DOWN, LV1);
  661. PIN(IN, gpa1-5, NONE, LV1);
  662. PIN(IN, gpa1-6, NONE, LV1);
  663. PIN(IN, gpa1-7, NONE, LV1);
  664. PIN(IN, gpa2-0, NONE, LV1);
  665. PIN(IN, gpa2-1, NONE, LV1);
  666. PIN(IN, gpa2-2, NONE, LV1);
  667. PIN(IN, gpa2-3, DOWN, LV1);
  668. PIN(IN, gpa2-4, NONE, LV1);
  669. PIN(IN, gpa2-5, DOWN, LV1);
  670. PIN(IN, gpa2-6, DOWN, LV1);
  671. PIN(IN, gpa2-7, NONE, LV1);
  672. PIN(IN, gpa3-0, DOWN, LV1);
  673. PIN(IN, gpa3-1, DOWN, LV1);
  674. PIN(IN, gpa3-2, NONE, LV1);
  675. PIN(IN, gpa3-3, DOWN, LV1);
  676. PIN(IN, gpa3-4, NONE, LV1);
  677. PIN(IN, gpa3-5, DOWN, LV1);
  678. PIN(IN, gpa3-6, DOWN, LV1);
  679. PIN(IN, gpa3-7, DOWN, LV1);
  680. PIN(IN, gpf1-0, NONE, LV1);
  681. PIN(IN, gpf1-1, NONE, LV1);
  682. PIN(IN, gpf1-2, DOWN, LV1);
  683. PIN(IN, gpf1-4, UP, LV1);
  684. PIN(OUT, gpf1-5, NONE, LV1);
  685. PIN(IN, gpf1-6, DOWN, LV1);
  686. PIN(IN, gpf1-7, DOWN, LV1);
  687. PIN(IN, gpf2-0, DOWN, LV1);
  688. PIN(IN, gpf2-1, DOWN, LV1);
  689. PIN(IN, gpf2-2, DOWN, LV1);
  690. PIN(IN, gpf2-3, DOWN, LV1);
  691. PIN(IN, gpf3-0, DOWN, LV1);
  692. PIN(IN, gpf3-1, DOWN, LV1);
  693. PIN(IN, gpf3-2, NONE, LV1);
  694. PIN(IN, gpf3-3, DOWN, LV1);
  695. PIN(IN, gpf4-0, DOWN, LV1);
  696. PIN(IN, gpf4-1, DOWN, LV1);
  697. PIN(IN, gpf4-2, DOWN, LV1);
  698. PIN(IN, gpf4-3, DOWN, LV1);
  699. PIN(IN, gpf4-4, DOWN, LV1);
  700. PIN(IN, gpf4-5, DOWN, LV1);
  701. PIN(IN, gpf4-6, DOWN, LV1);
  702. PIN(IN, gpf4-7, DOWN, LV1);
  703. PIN(IN, gpf5-0, DOWN, LV1);
  704. PIN(IN, gpf5-1, DOWN, LV1);
  705. PIN(IN, gpf5-2, DOWN, LV1);
  706. PIN(IN, gpf5-3, DOWN, LV1);
  707. PIN(OUT, gpf5-4, NONE, LV1);
  708. PIN(IN, gpf5-5, DOWN, LV1);
  709. PIN(IN, gpf5-6, DOWN, LV1);
  710. PIN(IN, gpf5-7, DOWN, LV1);
  711. };
  712. te_irq: te_irq {
  713. samsung,pins = "gpf1-3";
  714. samsung,pin-function = <0xf>;
  715. };
  716. };
  717. &pinctrl_cpif {
  718. pinctrl-names = "default";
  719. pinctrl-0 = <&initial_cpif>;
  720. initial_cpif: initial-state {
  721. PIN(IN, gpv6-0, DOWN, LV1);
  722. PIN(IN, gpv6-1, DOWN, LV1);
  723. };
  724. };
  725. &pinctrl_ese {
  726. pinctrl-names = "default";
  727. pinctrl-0 = <&initial_ese>;
  728. initial_ese: initial-state {
  729. PIN(IN, gpj2-0, DOWN, LV1);
  730. PIN(IN, gpj2-1, DOWN, LV1);
  731. PIN(IN, gpj2-2, DOWN, LV1);
  732. };
  733. };
  734. &pinctrl_fsys {
  735. pinctrl-names = "default";
  736. pinctrl-0 = <&initial_fsys>;
  737. initial_fsys: initial-state {
  738. PIN(IN, gpr3-0, NONE, LV1);
  739. PIN(IN, gpr3-1, DOWN, LV1);
  740. PIN(IN, gpr3-2, DOWN, LV1);
  741. PIN(IN, gpr3-3, DOWN, LV1);
  742. PIN(IN, gpr3-7, NONE, LV1);
  743. };
  744. };
  745. &pinctrl_imem {
  746. pinctrl-names = "default";
  747. pinctrl-0 = <&initial_imem>;
  748. initial_imem: initial-state {
  749. PIN(IN, gpf0-0, UP, LV1);
  750. PIN(IN, gpf0-1, UP, LV1);
  751. PIN(IN, gpf0-2, DOWN, LV1);
  752. PIN(IN, gpf0-3, UP, LV1);
  753. PIN(IN, gpf0-4, DOWN, LV1);
  754. PIN(IN, gpf0-5, NONE, LV1);
  755. PIN(IN, gpf0-6, DOWN, LV1);
  756. PIN(IN, gpf0-7, UP, LV1);
  757. };
  758. };
  759. &pinctrl_nfc {
  760. pinctrl-names = "default";
  761. pinctrl-0 = <&initial_nfc>;
  762. initial_nfc: initial-state {
  763. PIN(IN, gpj0-2, DOWN, LV1);
  764. };
  765. };
  766. &pinctrl_peric {
  767. pinctrl-names = "default";
  768. pinctrl-0 = <&initial_peric>;
  769. initial_peric: initial-state {
  770. PIN(IN, gpv7-0, DOWN, LV1);
  771. PIN(IN, gpv7-1, DOWN, LV1);
  772. PIN(IN, gpv7-2, NONE, LV1);
  773. PIN(IN, gpv7-3, DOWN, LV1);
  774. PIN(IN, gpv7-4, DOWN, LV1);
  775. PIN(IN, gpv7-5, DOWN, LV1);
  776. PIN(IN, gpb0-4, DOWN, LV1);
  777. PIN(IN, gpc0-2, DOWN, LV1);
  778. PIN(IN, gpc0-5, DOWN, LV1);
  779. PIN(IN, gpc0-7, DOWN, LV1);
  780. PIN(IN, gpc1-1, DOWN, LV1);
  781. PIN(IN, gpc3-4, NONE, LV1);
  782. PIN(IN, gpc3-5, NONE, LV1);
  783. PIN(IN, gpc3-6, NONE, LV1);
  784. PIN(IN, gpc3-7, NONE, LV1);
  785. PIN(OUT, gpg0-0, NONE, LV1);
  786. PIN(FUNC1, gpg0-1, DOWN, LV1);
  787. PIN(IN, gpd2-5, DOWN, LV1);
  788. PIN(IN, gpd4-0, NONE, LV1);
  789. PIN(IN, gpd4-1, DOWN, LV1);
  790. PIN(IN, gpd4-2, DOWN, LV1);
  791. PIN(IN, gpd4-3, DOWN, LV1);
  792. PIN(IN, gpd4-4, DOWN, LV1);
  793. PIN(IN, gpd6-3, DOWN, LV1);
  794. PIN(IN, gpd8-1, UP, LV1);
  795. PIN(IN, gpg1-0, DOWN, LV1);
  796. PIN(IN, gpg1-1, DOWN, LV1);
  797. PIN(IN, gpg1-2, DOWN, LV1);
  798. PIN(IN, gpg1-3, DOWN, LV1);
  799. PIN(IN, gpg1-4, DOWN, LV1);
  800. PIN(IN, gpg2-0, DOWN, LV1);
  801. PIN(IN, gpg2-1, DOWN, LV1);
  802. PIN(IN, gpg3-0, DOWN, LV1);
  803. PIN(IN, gpg3-1, DOWN, LV1);
  804. PIN(IN, gpg3-5, DOWN, LV1);
  805. PIN(IN, gpg3-7, DOWN, LV1);
  806. };
  807. };
  808. &pinctrl_touch {
  809. pinctrl-names = "default";
  810. pinctrl-0 = <&initial_touch>;
  811. initial_touch: initial-state {
  812. PIN(IN, gpj1-2, DOWN, LV1);
  813. };
  814. };
  815. &pwm {
  816. pinctrl-0 = <&pwm0_out>;
  817. pinctrl-names = "default";
  818. status = "okay";
  819. };
  820. &mic {
  821. status = "okay";
  822. i80-if-timings {
  823. };
  824. };
  825. &pmu_system_controller {
  826. assigned-clocks = <&pmu_system_controller 0>;
  827. assigned-clock-parents = <&xxti>;
  828. };
  829. &serial_1 {
  830. status = "okay";
  831. };
  832. &spi_1 {
  833. cs-gpios = <&gpd6 3 GPIO_ACTIVE_HIGH>;
  834. status = "okay";
  835. wm5110: wm5110-codec@0 {
  836. compatible = "wlf,wm5110";
  837. reg = <0x0>;
  838. spi-max-frequency = <20000000>;
  839. interrupt-parent = <&gpa0>;
  840. interrupts = <4 IRQ_TYPE_NONE>;
  841. clocks = <&pmu_system_controller 0>,
  842. <&s2mps13_osc S2MPS11_CLK_BT>;
  843. clock-names = "mclk1", "mclk2";
  844. gpio-controller;
  845. #gpio-cells = <2>;
  846. wlf,micd-detect-debounce = <300>;
  847. wlf,micd-bias-start-time = <0x1>;
  848. wlf,micd-rate = <0x7>;
  849. wlf,micd-dbtime = <0x1>;
  850. wlf,micd-force-micbias;
  851. wlf,micd-configs = <0x0 1 0>;
  852. wlf,hpdet-channel = <1>;
  853. wlf,gpsw = <0x1>;
  854. wlf,inmode = <2 0 2 0>;
  855. wlf,reset = <&gpc0 7 GPIO_ACTIVE_HIGH>;
  856. wlf,ldoena = <&gpf0 0 GPIO_ACTIVE_HIGH>;
  857. /* core supplies */
  858. AVDD-supply = <&ldo18_reg>;
  859. DBVDD1-supply = <&ldo18_reg>;
  860. CPVDD-supply = <&ldo18_reg>;
  861. DBVDD2-supply = <&ldo18_reg>;
  862. DBVDD3-supply = <&ldo18_reg>;
  863. controller-data {
  864. samsung,spi-feedback-delay = <0>;
  865. };
  866. };
  867. };
  868. &timer {
  869. clock-frequency = <24000000>;
  870. };
  871. &tmu_atlas0 {
  872. vtmu-supply = <&ldo3_reg>;
  873. status = "okay";
  874. };
  875. &tmu_apollo {
  876. vtmu-supply = <&ldo3_reg>;
  877. status = "okay";
  878. };
  879. &tmu_g3d {
  880. vtmu-supply = <&ldo3_reg>;
  881. status = "okay";
  882. };
  883. &usbdrd30 {
  884. vdd33-supply = <&ldo10_reg>;
  885. vdd10-supply = <&ldo6_reg>;
  886. status = "okay";
  887. };
  888. &usbdrd_dwc3_0 {
  889. dr_mode = "otg";
  890. };
  891. &usbdrd30_phy {
  892. vbus-supply = <&safeout1_reg>;
  893. status = "okay";
  894. };
  895. &xxti {
  896. clock-frequency = <24000000>;
  897. };