exynos4412-trats2.dts 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298
  1. /*
  2. * Samsung's Exynos4412 based Trats 2 board device tree source
  3. *
  4. * Copyright (c) 2013 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * Device tree source file for Samsung's Trats 2 board which is based on
  8. * Samsung's Exynos4412 SoC.
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. /dts-v1/;
  15. #include "exynos4412.dtsi"
  16. #include "exynos4412-ppmu-common.dtsi"
  17. #include <dt-bindings/gpio/gpio.h>
  18. #include <dt-bindings/interrupt-controller/irq.h>
  19. #include <dt-bindings/clock/maxim,max77686.h>
  20. / {
  21. model = "Samsung Trats 2 based on Exynos4412";
  22. compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4";
  23. aliases {
  24. i2c9 = &i2c_ak8975;
  25. i2c10 = &i2c_cm36651;
  26. i2c11 = &i2c_max77693;
  27. i2c12 = &i2c_max77693_fuel;
  28. };
  29. memory@40000000 {
  30. device_type = "memory";
  31. reg = <0x40000000 0x40000000>;
  32. };
  33. chosen {
  34. bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
  35. stdout-path = &serial_2;
  36. };
  37. firmware@0204F000 {
  38. compatible = "samsung,secure-firmware";
  39. reg = <0x0204F000 0x1000>;
  40. };
  41. fixed-rate-clocks {
  42. xxti {
  43. compatible = "samsung,clock-xxti", "fixed-clock";
  44. clock-frequency = <0>;
  45. };
  46. xusbxti {
  47. compatible = "samsung,clock-xusbxti", "fixed-clock";
  48. clock-frequency = <24000000>;
  49. };
  50. };
  51. regulators {
  52. compatible = "simple-bus";
  53. #address-cells = <1>;
  54. #size-cells = <0>;
  55. cam_io_reg: voltage-regulator-1 {
  56. compatible = "regulator-fixed";
  57. regulator-name = "CAM_SENSOR_A";
  58. regulator-min-microvolt = <2800000>;
  59. regulator-max-microvolt = <2800000>;
  60. gpio = <&gpm0 2 GPIO_ACTIVE_HIGH>;
  61. enable-active-high;
  62. };
  63. lcd_vdd3_reg: voltage-regulator-2 {
  64. compatible = "regulator-fixed";
  65. regulator-name = "LCD_VDD_2.2V";
  66. regulator-min-microvolt = <2200000>;
  67. regulator-max-microvolt = <2200000>;
  68. gpio = <&gpc0 1 GPIO_ACTIVE_HIGH>;
  69. enable-active-high;
  70. };
  71. cam_af_reg: voltage-regulator-3 {
  72. compatible = "regulator-fixed";
  73. regulator-name = "CAM_AF";
  74. regulator-min-microvolt = <2800000>;
  75. regulator-max-microvolt = <2800000>;
  76. gpio = <&gpm0 4 GPIO_ACTIVE_HIGH>;
  77. enable-active-high;
  78. };
  79. ps_als_reg: voltage-regulator-5 {
  80. compatible = "regulator-fixed";
  81. regulator-name = "LED_A_3.0V";
  82. regulator-min-microvolt = <3000000>;
  83. regulator-max-microvolt = <3000000>;
  84. gpio = <&gpj0 5 GPIO_ACTIVE_HIGH>;
  85. enable-active-high;
  86. };
  87. };
  88. gpio-keys {
  89. compatible = "gpio-keys";
  90. key-down {
  91. gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
  92. linux,code = <114>;
  93. label = "volume down";
  94. debounce-interval = <10>;
  95. };
  96. key-up {
  97. gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
  98. linux,code = <115>;
  99. label = "volume up";
  100. debounce-interval = <10>;
  101. };
  102. key-power {
  103. gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
  104. linux,code = <116>;
  105. label = "power";
  106. debounce-interval = <10>;
  107. wakeup-source;
  108. };
  109. key-ok {
  110. gpios = <&gpx0 1 GPIO_ACTIVE_LOW>;
  111. linux,code = <139>;
  112. label = "ok";
  113. debounce-inteval = <10>;
  114. wakeup-source;
  115. };
  116. };
  117. i2c_max77693: i2c-gpio-1 {
  118. compatible = "i2c-gpio";
  119. gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
  120. i2c-gpio,delay-us = <2>;
  121. #address-cells = <1>;
  122. #size-cells = <0>;
  123. status = "okay";
  124. max77693@66 {
  125. compatible = "maxim,max77693";
  126. interrupt-parent = <&gpx1>;
  127. interrupts = <5 2>;
  128. reg = <0x66>;
  129. regulators {
  130. esafeout1_reg: ESAFEOUT1 {
  131. regulator-name = "ESAFEOUT1";
  132. };
  133. esafeout2_reg: ESAFEOUT2 {
  134. regulator-name = "ESAFEOUT2";
  135. };
  136. charger_reg: CHARGER {
  137. regulator-name = "CHARGER";
  138. regulator-min-microamp = <60000>;
  139. regulator-max-microamp = <2580000>;
  140. };
  141. };
  142. max77693_haptic {
  143. compatible = "maxim,max77693-haptic";
  144. haptic-supply = <&ldo26_reg>;
  145. pwms = <&pwm 0 38022 0>;
  146. };
  147. charger {
  148. compatible = "maxim,max77693-charger";
  149. maxim,constant-microvolt = <4350000>;
  150. maxim,min-system-microvolt = <3600000>;
  151. maxim,thermal-regulation-celsius = <100>;
  152. maxim,battery-overcurrent-microamp = <3500000>;
  153. maxim,charge-input-threshold-microvolt = <4300000>;
  154. };
  155. };
  156. };
  157. i2c_max77693_fuel: i2c-gpio-3 {
  158. compatible = "i2c-gpio";
  159. gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
  160. i2c-gpio,delay-us = <2>;
  161. #address-cells = <1>;
  162. #size-cells = <0>;
  163. status = "okay";
  164. max77693-fuel-gauge@36 {
  165. compatible = "maxim,max17047";
  166. interrupt-parent = <&gpx2>;
  167. interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
  168. reg = <0x36>;
  169. maxim,over-heat-temp = <700>;
  170. maxim,over-volt = <4500>;
  171. };
  172. };
  173. i2c_ak8975: i2c-gpio-0 {
  174. compatible = "i2c-gpio";
  175. gpios = <&gpy2 4 GPIO_ACTIVE_HIGH>, <&gpy2 5 GPIO_ACTIVE_HIGH>;
  176. i2c-gpio,delay-us = <2>;
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. status = "okay";
  180. ak8975@0c {
  181. compatible = "asahi-kasei,ak8975";
  182. reg = <0x0c>;
  183. gpios = <&gpj0 7 GPIO_ACTIVE_HIGH>;
  184. };
  185. };
  186. i2c_cm36651: i2c-gpio-2 {
  187. compatible = "i2c-gpio";
  188. gpios = <&gpf0 0 GPIO_ACTIVE_LOW>, <&gpf0 1 GPIO_ACTIVE_LOW>;
  189. i2c-gpio,delay-us = <2>;
  190. #address-cells = <1>;
  191. #size-cells = <0>;
  192. cm36651@18 {
  193. compatible = "capella,cm36651";
  194. reg = <0x18>;
  195. interrupt-parent = <&gpx0>;
  196. interrupts = <2 2>;
  197. vled-supply = <&ps_als_reg>;
  198. };
  199. };
  200. camera: camera {
  201. pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
  202. pinctrl-names = "default";
  203. status = "okay";
  204. assigned-clocks = <&clock CLK_MOUT_CAM0>,
  205. <&clock CLK_MOUT_CAM1>;
  206. assigned-clock-parents = <&clock CLK_XUSBXTI>,
  207. <&clock CLK_XUSBXTI>;
  208. };
  209. sound {
  210. compatible = "samsung,trats2-audio";
  211. samsung,i2s-controller = <&i2s0>;
  212. samsung,model = "Trats2";
  213. samsung,audio-codec = <&wm1811>;
  214. samsung,audio-routing =
  215. "SPK", "SPKOUTLN",
  216. "SPK", "SPKOUTLP",
  217. "SPK", "SPKOUTRN",
  218. "SPK", "SPKOUTRP";
  219. };
  220. thermistor-ap {
  221. compatible = "murata,ncp15wb473";
  222. pullup-uv = <1800000>; /* VCC_1.8V_AP */
  223. pullup-ohm = <100000>; /* 100K */
  224. pulldown-ohm = <100000>; /* 100K */
  225. io-channels = <&adc 1>; /* AP temperature */
  226. };
  227. thermistor-battery {
  228. compatible = "murata,ncp15wb473";
  229. pullup-uv = <1800000>; /* VCC_1.8V_AP */
  230. pullup-ohm = <100000>; /* 100K */
  231. pulldown-ohm = <100000>; /* 100K */
  232. io-channels = <&adc 2>; /* Battery temperature */
  233. };
  234. thermal-zones {
  235. cpu_thermal: cpu-thermal {
  236. cooling-maps {
  237. map0 {
  238. /* Corresponds to 800MHz at freq_table */
  239. cooling-device = <&cpu0 7 7>;
  240. };
  241. map1 {
  242. /* Corresponds to 200MHz at freq_table */
  243. cooling-device = <&cpu0 13 13>;
  244. };
  245. };
  246. };
  247. };
  248. };
  249. &adc {
  250. vdd-supply = <&ldo3_reg>;
  251. status = "okay";
  252. };
  253. &bus_dmc {
  254. devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
  255. vdd-supply = <&buck1_reg>;
  256. status = "okay";
  257. };
  258. &bus_acp {
  259. devfreq = <&bus_dmc>;
  260. status = "okay";
  261. };
  262. &bus_c2c {
  263. devfreq = <&bus_dmc>;
  264. status = "okay";
  265. };
  266. &bus_leftbus {
  267. devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
  268. vdd-supply = <&buck3_reg>;
  269. status = "okay";
  270. };
  271. &bus_rightbus {
  272. devfreq = <&bus_leftbus>;
  273. status = "okay";
  274. };
  275. &bus_display {
  276. devfreq = <&bus_leftbus>;
  277. status = "okay";
  278. };
  279. &bus_fsys {
  280. devfreq = <&bus_leftbus>;
  281. status = "okay";
  282. };
  283. &bus_peri {
  284. devfreq = <&bus_leftbus>;
  285. status = "okay";
  286. };
  287. &bus_mfc {
  288. devfreq = <&bus_leftbus>;
  289. status = "okay";
  290. };
  291. &cpu0 {
  292. cpu0-supply = <&buck2_reg>;
  293. };
  294. &csis_0 {
  295. status = "okay";
  296. vddcore-supply = <&ldo8_reg>;
  297. vddio-supply = <&ldo10_reg>;
  298. assigned-clocks = <&clock CLK_MOUT_CSIS0>,
  299. <&clock CLK_SCLK_CSIS0>;
  300. assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
  301. assigned-clock-rates = <0>, <176000000>;
  302. /* Camera C (3) MIPI CSI-2 (CSIS0) */
  303. port@3 {
  304. reg = <3>;
  305. csis0_ep: endpoint {
  306. remote-endpoint = <&s5c73m3_ep>;
  307. data-lanes = <1 2 3 4>;
  308. samsung,csis-hs-settle = <12>;
  309. };
  310. };
  311. };
  312. &csis_1 {
  313. status = "okay";
  314. vddcore-supply = <&ldo8_reg>;
  315. vddio-supply = <&ldo10_reg>;
  316. assigned-clocks = <&clock CLK_MOUT_CSIS1>,
  317. <&clock CLK_SCLK_CSIS1>;
  318. assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
  319. assigned-clock-rates = <0>, <176000000>;
  320. /* Camera D (4) MIPI CSI-2 (CSIS1) */
  321. port@4 {
  322. reg = <4>;
  323. csis1_ep: endpoint {
  324. remote-endpoint = <&is_s5k6a3_ep>;
  325. data-lanes = <1>;
  326. samsung,csis-hs-settle = <18>;
  327. samsung,csis-wclk;
  328. };
  329. };
  330. };
  331. &dsi_0 {
  332. vddcore-supply = <&ldo8_reg>;
  333. vddio-supply = <&ldo10_reg>;
  334. samsung,pll-clock-frequency = <24000000>;
  335. status = "okay";
  336. ports {
  337. #address-cells = <1>;
  338. #size-cells = <0>;
  339. port@1 {
  340. reg = <1>;
  341. dsi_out: endpoint {
  342. remote-endpoint = <&dsi_in>;
  343. samsung,burst-clock-frequency = <500000000>;
  344. samsung,esc-clock-frequency = <20000000>;
  345. };
  346. };
  347. };
  348. panel@0 {
  349. compatible = "samsung,s6e8aa0";
  350. reg = <0>;
  351. vdd3-supply = <&lcd_vdd3_reg>;
  352. vci-supply = <&ldo25_reg>;
  353. reset-gpios = <&gpf2 1 GPIO_ACTIVE_HIGH>;
  354. power-on-delay= <50>;
  355. reset-delay = <100>;
  356. init-delay = <100>;
  357. flip-horizontal;
  358. flip-vertical;
  359. panel-width-mm = <58>;
  360. panel-height-mm = <103>;
  361. display-timings {
  362. timing-0 {
  363. clock-frequency = <57153600>;
  364. hactive = <720>;
  365. vactive = <1280>;
  366. hfront-porch = <5>;
  367. hback-porch = <5>;
  368. hsync-len = <5>;
  369. vfront-porch = <13>;
  370. vback-porch = <1>;
  371. vsync-len = <2>;
  372. };
  373. };
  374. port {
  375. dsi_in: endpoint {
  376. remote-endpoint = <&dsi_out>;
  377. };
  378. };
  379. };
  380. };
  381. &exynos_usbphy {
  382. vbus-supply = <&esafeout1_reg>;
  383. status = "okay";
  384. };
  385. &fimc_0 {
  386. status = "okay";
  387. assigned-clocks = <&clock CLK_MOUT_FIMC0>,
  388. <&clock CLK_SCLK_FIMC0>;
  389. assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
  390. assigned-clock-rates = <0>, <176000000>;
  391. };
  392. &fimc_1 {
  393. status = "okay";
  394. assigned-clocks = <&clock CLK_MOUT_FIMC1>,
  395. <&clock CLK_SCLK_FIMC1>;
  396. assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
  397. assigned-clock-rates = <0>, <176000000>;
  398. };
  399. &fimc_2 {
  400. status = "okay";
  401. assigned-clocks = <&clock CLK_MOUT_FIMC2>,
  402. <&clock CLK_SCLK_FIMC2>;
  403. assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
  404. assigned-clock-rates = <0>, <176000000>;
  405. };
  406. &fimc_3 {
  407. status = "okay";
  408. assigned-clocks = <&clock CLK_MOUT_FIMC3>,
  409. <&clock CLK_SCLK_FIMC3>;
  410. assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
  411. assigned-clock-rates = <0>, <176000000>;
  412. };
  413. &fimc_is {
  414. pinctrl-0 = <&fimc_is_uart>;
  415. pinctrl-names = "default";
  416. status = "okay";
  417. i2c1_isp: i2c-isp@12140000 {
  418. pinctrl-0 = <&fimc_is_i2c1>;
  419. pinctrl-names = "default";
  420. s5k6a3@10 {
  421. compatible = "samsung,s5k6a3";
  422. reg = <0x10>;
  423. svdda-supply = <&cam_io_reg>;
  424. svddio-supply = <&ldo19_reg>;
  425. afvdd-supply = <&ldo19_reg>;
  426. clock-frequency = <24000000>;
  427. /* CAM_B_CLKOUT */
  428. clocks = <&camera 1>;
  429. clock-names = "extclk";
  430. samsung,camclk-out = <1>;
  431. gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>;
  432. port {
  433. is_s5k6a3_ep: endpoint {
  434. remote-endpoint = <&csis1_ep>;
  435. data-lanes = <1>;
  436. };
  437. };
  438. };
  439. };
  440. };
  441. &fimc_lite_0 {
  442. status = "okay";
  443. };
  444. &fimc_lite_1 {
  445. status = "okay";
  446. };
  447. &fimd {
  448. status = "okay";
  449. };
  450. &hsotg {
  451. vusb_d-supply = <&ldo15_reg>;
  452. vusb_a-supply = <&ldo12_reg>;
  453. dr_mode = "peripheral";
  454. status = "okay";
  455. };
  456. &i2c_0 {
  457. samsung,i2c-sda-delay = <100>;
  458. samsung,i2c-slave-addr = <0x10>;
  459. samsung,i2c-max-bus-freq = <400000>;
  460. pinctrl-0 = <&i2c0_bus>;
  461. pinctrl-names = "default";
  462. status = "okay";
  463. s5c73m3@3c {
  464. compatible = "samsung,s5c73m3";
  465. reg = <0x3c>;
  466. standby-gpios = <&gpm0 1 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */
  467. xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */
  468. vdd-int-supply = <&buck9_reg>;
  469. vddio-cis-supply = <&ldo9_reg>;
  470. vdda-supply = <&ldo17_reg>;
  471. vddio-host-supply = <&ldo18_reg>;
  472. vdd-af-supply = <&cam_af_reg>;
  473. vdd-reg-supply = <&cam_io_reg>;
  474. clock-frequency = <24000000>;
  475. /* CAM_A_CLKOUT */
  476. clocks = <&camera 0>;
  477. clock-names = "cis_extclk";
  478. port {
  479. s5c73m3_ep: endpoint {
  480. remote-endpoint = <&csis0_ep>;
  481. data-lanes = <1 2 3 4>;
  482. };
  483. };
  484. };
  485. };
  486. &i2c_3 {
  487. samsung,i2c-sda-delay = <100>;
  488. samsung,i2c-slave-addr = <0x10>;
  489. samsung,i2c-max-bus-freq = <400000>;
  490. pinctrl-0 = <&i2c3_bus>;
  491. pinctrl-names = "default";
  492. status = "okay";
  493. mms114-touchscreen@48 {
  494. compatible = "melfas,mms114";
  495. reg = <0x48>;
  496. interrupt-parent = <&gpm2>;
  497. interrupts = <3 2>;
  498. x-size = <720>;
  499. y-size = <1280>;
  500. avdd-supply = <&ldo23_reg>;
  501. vdd-supply = <&ldo24_reg>;
  502. };
  503. };
  504. &i2c_4 {
  505. samsung,i2c-sda-delay = <100>;
  506. samsung,i2c-slave-addr = <0x10>;
  507. samsung,i2c-max-bus-freq = <100000>;
  508. pinctrl-0 = <&i2c4_bus>;
  509. pinctrl-names = "default";
  510. status = "okay";
  511. wm1811: wm1811@1a {
  512. compatible = "wlf,wm1811";
  513. reg = <0x1a>;
  514. clocks = <&pmu_system_controller 0>;
  515. clock-names = "MCLK1";
  516. DCVDD-supply = <&ldo3_reg>;
  517. DBVDD1-supply = <&ldo3_reg>;
  518. wlf,ldo1ena = <&gpj0 4 0>;
  519. };
  520. };
  521. &i2c_7 {
  522. samsung,i2c-sda-delay = <100>;
  523. samsung,i2c-slave-addr = <0x10>;
  524. samsung,i2c-max-bus-freq = <100000>;
  525. pinctrl-0 = <&i2c7_bus>;
  526. pinctrl-names = "default";
  527. status = "okay";
  528. max77686: max77686_pmic@09 {
  529. compatible = "maxim,max77686";
  530. interrupt-parent = <&gpx0>;
  531. interrupts = <7 0>;
  532. reg = <0x09>;
  533. #clock-cells = <1>;
  534. voltage-regulators {
  535. ldo1_reg: LDO1 {
  536. regulator-name = "VALIVE_1.0V_AP";
  537. regulator-min-microvolt = <1000000>;
  538. regulator-max-microvolt = <1000000>;
  539. regulator-always-on;
  540. };
  541. ldo2_reg: LDO2 {
  542. regulator-name = "VM1M2_1.2V_AP";
  543. regulator-min-microvolt = <1200000>;
  544. regulator-max-microvolt = <1200000>;
  545. regulator-always-on;
  546. regulator-state-mem {
  547. regulator-on-in-suspend;
  548. };
  549. };
  550. ldo3_reg: LDO3 {
  551. regulator-name = "VCC_1.8V_AP";
  552. regulator-min-microvolt = <1800000>;
  553. regulator-max-microvolt = <1800000>;
  554. regulator-always-on;
  555. };
  556. ldo4_reg: LDO4 {
  557. regulator-name = "VCC_2.8V_AP";
  558. regulator-min-microvolt = <2800000>;
  559. regulator-max-microvolt = <2800000>;
  560. regulator-always-on;
  561. };
  562. ldo5_reg: LDO5 {
  563. regulator-name = "VCC_1.8V_IO";
  564. regulator-min-microvolt = <1800000>;
  565. regulator-max-microvolt = <1800000>;
  566. regulator-always-on;
  567. };
  568. ldo6_reg: LDO6 {
  569. regulator-name = "VMPLL_1.0V_AP";
  570. regulator-min-microvolt = <1000000>;
  571. regulator-max-microvolt = <1000000>;
  572. regulator-always-on;
  573. regulator-state-mem {
  574. regulator-on-in-suspend;
  575. };
  576. };
  577. ldo7_reg: LDO7 {
  578. regulator-name = "VPLL_1.0V_AP";
  579. regulator-min-microvolt = <1000000>;
  580. regulator-max-microvolt = <1000000>;
  581. regulator-always-on;
  582. regulator-state-mem {
  583. regulator-on-in-suspend;
  584. };
  585. };
  586. ldo8_reg: LDO8 {
  587. regulator-name = "VMIPI_1.0V";
  588. regulator-min-microvolt = <1000000>;
  589. regulator-max-microvolt = <1000000>;
  590. regulator-state-mem {
  591. regulator-off-in-suspend;
  592. };
  593. };
  594. ldo9_reg: LDO9 {
  595. regulator-name = "CAM_ISP_MIPI_1.2V";
  596. regulator-min-microvolt = <1200000>;
  597. regulator-max-microvolt = <1200000>;
  598. };
  599. ldo10_reg: LDO10 {
  600. regulator-name = "VMIPI_1.8V";
  601. regulator-min-microvolt = <1800000>;
  602. regulator-max-microvolt = <1800000>;
  603. regulator-state-mem {
  604. regulator-off-in-suspend;
  605. };
  606. };
  607. ldo11_reg: LDO11 {
  608. regulator-name = "VABB1_1.95V";
  609. regulator-min-microvolt = <1950000>;
  610. regulator-max-microvolt = <1950000>;
  611. regulator-always-on;
  612. regulator-state-mem {
  613. regulator-off-in-suspend;
  614. };
  615. };
  616. ldo12_reg: LDO12 {
  617. regulator-name = "VUOTG_3.0V";
  618. regulator-min-microvolt = <3000000>;
  619. regulator-max-microvolt = <3000000>;
  620. regulator-state-mem {
  621. regulator-off-in-suspend;
  622. };
  623. };
  624. ldo13_reg: LDO13 {
  625. regulator-name = "NFC_AVDD_1.8V";
  626. regulator-min-microvolt = <1800000>;
  627. regulator-max-microvolt = <1800000>;
  628. };
  629. ldo14_reg: LDO14 {
  630. regulator-name = "VABB2_1.95V";
  631. regulator-min-microvolt = <1950000>;
  632. regulator-max-microvolt = <1950000>;
  633. regulator-always-on;
  634. regulator-state-mem {
  635. regulator-off-in-suspend;
  636. };
  637. };
  638. ldo15_reg: LDO15 {
  639. regulator-name = "VHSIC_1.0V";
  640. regulator-min-microvolt = <1000000>;
  641. regulator-max-microvolt = <1000000>;
  642. regulator-state-mem {
  643. regulator-on-in-suspend;
  644. };
  645. };
  646. ldo16_reg: LDO16 {
  647. regulator-name = "VHSIC_1.8V";
  648. regulator-min-microvolt = <1800000>;
  649. regulator-max-microvolt = <1800000>;
  650. regulator-state-mem {
  651. regulator-on-in-suspend;
  652. };
  653. };
  654. ldo17_reg: LDO17 {
  655. regulator-name = "CAM_SENSOR_CORE_1.2V";
  656. regulator-min-microvolt = <1200000>;
  657. regulator-max-microvolt = <1200000>;
  658. };
  659. ldo18_reg: LDO18 {
  660. regulator-name = "CAM_ISP_SEN_IO_1.8V";
  661. regulator-min-microvolt = <1800000>;
  662. regulator-max-microvolt = <1800000>;
  663. };
  664. ldo19_reg: LDO19 {
  665. regulator-name = "VT_CAM_1.8V";
  666. regulator-min-microvolt = <1800000>;
  667. regulator-max-microvolt = <1800000>;
  668. };
  669. ldo20_reg: LDO20 {
  670. regulator-name = "VDDQ_PRE_1.8V";
  671. regulator-min-microvolt = <1800000>;
  672. regulator-max-microvolt = <1800000>;
  673. };
  674. ldo21_reg: LDO21 {
  675. regulator-name = "VTF_2.8V";
  676. regulator-min-microvolt = <2800000>;
  677. regulator-max-microvolt = <2800000>;
  678. maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
  679. };
  680. ldo22_reg: LDO22 {
  681. regulator-name = "VMEM_VDD_2.8V";
  682. regulator-min-microvolt = <2800000>;
  683. regulator-max-microvolt = <2800000>;
  684. maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
  685. };
  686. ldo23_reg: LDO23 {
  687. regulator-name = "TSP_AVDD_3.3V";
  688. regulator-min-microvolt = <3300000>;
  689. regulator-max-microvolt = <3300000>;
  690. };
  691. ldo24_reg: LDO24 {
  692. regulator-name = "TSP_VDD_1.8V";
  693. regulator-min-microvolt = <1800000>;
  694. regulator-max-microvolt = <1800000>;
  695. };
  696. ldo25_reg: LDO25 {
  697. regulator-name = "LCD_VCC_3.3V";
  698. regulator-min-microvolt = <2800000>;
  699. regulator-max-microvolt = <2800000>;
  700. };
  701. ldo26_reg: LDO26 {
  702. regulator-name = "MOTOR_VCC_3.0V";
  703. regulator-min-microvolt = <3000000>;
  704. regulator-max-microvolt = <3000000>;
  705. };
  706. buck1_reg: BUCK1 {
  707. regulator-name = "vdd_mif";
  708. regulator-min-microvolt = <850000>;
  709. regulator-max-microvolt = <1100000>;
  710. regulator-always-on;
  711. regulator-boot-on;
  712. regulator-state-mem {
  713. regulator-off-in-suspend;
  714. };
  715. };
  716. buck2_reg: BUCK2 {
  717. regulator-name = "vdd_arm";
  718. regulator-min-microvolt = <850000>;
  719. regulator-max-microvolt = <1500000>;
  720. regulator-always-on;
  721. regulator-boot-on;
  722. regulator-state-mem {
  723. regulator-on-in-suspend;
  724. };
  725. };
  726. buck3_reg: BUCK3 {
  727. regulator-name = "vdd_int";
  728. regulator-min-microvolt = <850000>;
  729. regulator-max-microvolt = <1150000>;
  730. regulator-always-on;
  731. regulator-boot-on;
  732. regulator-state-mem {
  733. regulator-off-in-suspend;
  734. };
  735. };
  736. buck4_reg: BUCK4 {
  737. regulator-name = "vdd_g3d";
  738. regulator-min-microvolt = <850000>;
  739. regulator-max-microvolt = <1150000>;
  740. regulator-boot-on;
  741. regulator-state-mem {
  742. regulator-off-in-suspend;
  743. };
  744. };
  745. buck5_reg: BUCK5 {
  746. regulator-name = "VMEM_1.2V_AP";
  747. regulator-min-microvolt = <1200000>;
  748. regulator-max-microvolt = <1200000>;
  749. regulator-always-on;
  750. };
  751. buck6_reg: BUCK6 {
  752. regulator-name = "VCC_SUB_1.35V";
  753. regulator-min-microvolt = <1350000>;
  754. regulator-max-microvolt = <1350000>;
  755. regulator-always-on;
  756. };
  757. buck7_reg: BUCK7 {
  758. regulator-name = "VCC_SUB_2.0V";
  759. regulator-min-microvolt = <2000000>;
  760. regulator-max-microvolt = <2000000>;
  761. regulator-always-on;
  762. };
  763. buck8_reg: BUCK8 {
  764. regulator-name = "VMEM_VDDF_3.0V";
  765. regulator-min-microvolt = <2850000>;
  766. regulator-max-microvolt = <2850000>;
  767. maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
  768. };
  769. buck9_reg: BUCK9 {
  770. regulator-name = "CAM_ISP_CORE_1.2V";
  771. regulator-min-microvolt = <1000000>;
  772. regulator-max-microvolt = <1200000>;
  773. maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
  774. };
  775. };
  776. };
  777. };
  778. &i2s0 {
  779. pinctrl-0 = <&i2s0_bus>;
  780. pinctrl-names = "default";
  781. status = "okay";
  782. };
  783. &mshc_0 {
  784. num-slots = <1>;
  785. broken-cd;
  786. non-removable;
  787. card-detect-delay = <200>;
  788. vmmc-supply = <&ldo22_reg>;
  789. clock-frequency = <400000000>;
  790. samsung,dw-mshc-ciu-div = <0>;
  791. samsung,dw-mshc-sdr-timing = <2 3>;
  792. samsung,dw-mshc-ddr-timing = <1 2>;
  793. pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
  794. pinctrl-names = "default";
  795. status = "okay";
  796. bus-width = <8>;
  797. cap-mmc-highspeed;
  798. };
  799. &pmu_system_controller {
  800. assigned-clocks = <&pmu_system_controller 0>;
  801. assigned-clock-parents = <&clock CLK_XUSBXTI>;
  802. };
  803. &pinctrl_0 {
  804. pinctrl-names = "default";
  805. pinctrl-0 = <&sleep0>;
  806. sleep0: sleep-states {
  807. PIN_SLP(gpa0-0, INPUT, NONE);
  808. PIN_SLP(gpa0-1, OUT0, NONE);
  809. PIN_SLP(gpa0-2, INPUT, NONE);
  810. PIN_SLP(gpa0-3, INPUT, UP);
  811. PIN_SLP(gpa0-4, INPUT, NONE);
  812. PIN_SLP(gpa0-5, INPUT, DOWN);
  813. PIN_SLP(gpa0-6, INPUT, DOWN);
  814. PIN_SLP(gpa0-7, INPUT, UP);
  815. PIN_SLP(gpa1-0, INPUT, DOWN);
  816. PIN_SLP(gpa1-1, INPUT, DOWN);
  817. PIN_SLP(gpa1-2, INPUT, DOWN);
  818. PIN_SLP(gpa1-3, INPUT, DOWN);
  819. PIN_SLP(gpa1-4, INPUT, DOWN);
  820. PIN_SLP(gpa1-5, INPUT, DOWN);
  821. PIN_SLP(gpb-0, INPUT, NONE);
  822. PIN_SLP(gpb-1, INPUT, NONE);
  823. PIN_SLP(gpb-2, INPUT, NONE);
  824. PIN_SLP(gpb-3, INPUT, NONE);
  825. PIN_SLP(gpb-4, INPUT, DOWN);
  826. PIN_SLP(gpb-5, INPUT, UP);
  827. PIN_SLP(gpb-6, INPUT, DOWN);
  828. PIN_SLP(gpb-7, INPUT, DOWN);
  829. PIN_SLP(gpc0-0, INPUT, DOWN);
  830. PIN_SLP(gpc0-1, INPUT, DOWN);
  831. PIN_SLP(gpc0-2, INPUT, DOWN);
  832. PIN_SLP(gpc0-3, INPUT, DOWN);
  833. PIN_SLP(gpc0-4, INPUT, DOWN);
  834. PIN_SLP(gpc1-0, INPUT, NONE);
  835. PIN_SLP(gpc1-1, PREV, NONE);
  836. PIN_SLP(gpc1-2, INPUT, NONE);
  837. PIN_SLP(gpc1-3, INPUT, NONE);
  838. PIN_SLP(gpc1-4, INPUT, NONE);
  839. PIN_SLP(gpd0-0, INPUT, DOWN);
  840. PIN_SLP(gpd0-1, INPUT, DOWN);
  841. PIN_SLP(gpd0-2, INPUT, NONE);
  842. PIN_SLP(gpd0-3, INPUT, NONE);
  843. PIN_SLP(gpd1-0, INPUT, DOWN);
  844. PIN_SLP(gpd1-1, INPUT, DOWN);
  845. PIN_SLP(gpd1-2, INPUT, NONE);
  846. PIN_SLP(gpd1-3, INPUT, NONE);
  847. PIN_SLP(gpf0-0, INPUT, NONE);
  848. PIN_SLP(gpf0-1, INPUT, NONE);
  849. PIN_SLP(gpf0-2, INPUT, DOWN);
  850. PIN_SLP(gpf0-3, INPUT, DOWN);
  851. PIN_SLP(gpf0-4, INPUT, NONE);
  852. PIN_SLP(gpf0-5, INPUT, DOWN);
  853. PIN_SLP(gpf0-6, INPUT, NONE);
  854. PIN_SLP(gpf0-7, INPUT, DOWN);
  855. PIN_SLP(gpf1-0, INPUT, DOWN);
  856. PIN_SLP(gpf1-1, INPUT, DOWN);
  857. PIN_SLP(gpf1-2, INPUT, DOWN);
  858. PIN_SLP(gpf1-3, INPUT, DOWN);
  859. PIN_SLP(gpf1-4, INPUT, NONE);
  860. PIN_SLP(gpf1-5, INPUT, NONE);
  861. PIN_SLP(gpf1-6, INPUT, DOWN);
  862. PIN_SLP(gpf1-7, PREV, NONE);
  863. PIN_SLP(gpf2-0, PREV, NONE);
  864. PIN_SLP(gpf2-1, INPUT, DOWN);
  865. PIN_SLP(gpf2-2, INPUT, DOWN);
  866. PIN_SLP(gpf2-3, INPUT, DOWN);
  867. PIN_SLP(gpf2-4, INPUT, DOWN);
  868. PIN_SLP(gpf2-5, INPUT, DOWN);
  869. PIN_SLP(gpf2-6, INPUT, NONE);
  870. PIN_SLP(gpf2-7, INPUT, NONE);
  871. PIN_SLP(gpf3-0, INPUT, NONE);
  872. PIN_SLP(gpf3-1, PREV, NONE);
  873. PIN_SLP(gpf3-2, PREV, NONE);
  874. PIN_SLP(gpf3-3, PREV, NONE);
  875. PIN_SLP(gpf3-4, OUT1, NONE);
  876. PIN_SLP(gpf3-5, INPUT, DOWN);
  877. PIN_SLP(gpj0-0, PREV, NONE);
  878. PIN_SLP(gpj0-1, PREV, NONE);
  879. PIN_SLP(gpj0-2, PREV, NONE);
  880. PIN_SLP(gpj0-3, INPUT, DOWN);
  881. PIN_SLP(gpj0-4, PREV, NONE);
  882. PIN_SLP(gpj0-5, PREV, NONE);
  883. PIN_SLP(gpj0-6, INPUT, DOWN);
  884. PIN_SLP(gpj0-7, INPUT, DOWN);
  885. PIN_SLP(gpj1-0, INPUT, DOWN);
  886. PIN_SLP(gpj1-1, PREV, NONE);
  887. PIN_SLP(gpj1-2, PREV, NONE);
  888. PIN_SLP(gpj1-3, INPUT, DOWN);
  889. PIN_SLP(gpj1-4, INPUT, DOWN);
  890. };
  891. };
  892. &pinctrl_1 {
  893. pinctrl-names = "default";
  894. pinctrl-0 = <&sleep1>;
  895. sleep1: sleep-states {
  896. PIN_SLP(gpk0-0, PREV, NONE);
  897. PIN_SLP(gpk0-1, PREV, NONE);
  898. PIN_SLP(gpk0-2, OUT0, NONE);
  899. PIN_SLP(gpk0-3, PREV, NONE);
  900. PIN_SLP(gpk0-4, PREV, NONE);
  901. PIN_SLP(gpk0-5, PREV, NONE);
  902. PIN_SLP(gpk0-6, PREV, NONE);
  903. PIN_SLP(gpk1-0, INPUT, DOWN);
  904. PIN_SLP(gpk1-1, INPUT, DOWN);
  905. PIN_SLP(gpk1-2, INPUT, DOWN);
  906. PIN_SLP(gpk1-3, PREV, NONE);
  907. PIN_SLP(gpk1-4, PREV, NONE);
  908. PIN_SLP(gpk1-5, PREV, NONE);
  909. PIN_SLP(gpk1-6, PREV, NONE);
  910. PIN_SLP(gpk2-0, INPUT, DOWN);
  911. PIN_SLP(gpk2-1, INPUT, DOWN);
  912. PIN_SLP(gpk2-2, INPUT, DOWN);
  913. PIN_SLP(gpk2-3, INPUT, DOWN);
  914. PIN_SLP(gpk2-4, INPUT, DOWN);
  915. PIN_SLP(gpk2-5, INPUT, DOWN);
  916. PIN_SLP(gpk2-6, INPUT, DOWN);
  917. PIN_SLP(gpk3-0, OUT0, NONE);
  918. PIN_SLP(gpk3-1, INPUT, NONE);
  919. PIN_SLP(gpk3-2, INPUT, DOWN);
  920. PIN_SLP(gpk3-3, INPUT, NONE);
  921. PIN_SLP(gpk3-4, INPUT, NONE);
  922. PIN_SLP(gpk3-5, INPUT, NONE);
  923. PIN_SLP(gpk3-6, INPUT, NONE);
  924. PIN_SLP(gpl0-0, INPUT, DOWN);
  925. PIN_SLP(gpl0-1, INPUT, DOWN);
  926. PIN_SLP(gpl0-2, INPUT, DOWN);
  927. PIN_SLP(gpl0-3, INPUT, DOWN);
  928. PIN_SLP(gpl0-4, PREV, NONE);
  929. PIN_SLP(gpl0-6, PREV, NONE);
  930. PIN_SLP(gpl1-0, INPUT, DOWN);
  931. PIN_SLP(gpl1-1, INPUT, DOWN);
  932. PIN_SLP(gpl2-0, INPUT, DOWN);
  933. PIN_SLP(gpl2-1, INPUT, DOWN);
  934. PIN_SLP(gpl2-2, INPUT, DOWN);
  935. PIN_SLP(gpl2-3, INPUT, DOWN);
  936. PIN_SLP(gpl2-4, INPUT, DOWN);
  937. PIN_SLP(gpl2-5, INPUT, DOWN);
  938. PIN_SLP(gpl2-6, PREV, NONE);
  939. PIN_SLP(gpl2-7, INPUT, DOWN);
  940. PIN_SLP(gpm0-0, INPUT, DOWN);
  941. PIN_SLP(gpm0-1, INPUT, DOWN);
  942. PIN_SLP(gpm0-2, INPUT, DOWN);
  943. PIN_SLP(gpm0-3, INPUT, DOWN);
  944. PIN_SLP(gpm0-4, INPUT, DOWN);
  945. PIN_SLP(gpm0-5, INPUT, DOWN);
  946. PIN_SLP(gpm0-6, INPUT, DOWN);
  947. PIN_SLP(gpm0-7, INPUT, DOWN);
  948. PIN_SLP(gpm1-0, INPUT, DOWN);
  949. PIN_SLP(gpm1-1, INPUT, DOWN);
  950. PIN_SLP(gpm1-2, INPUT, NONE);
  951. PIN_SLP(gpm1-3, INPUT, NONE);
  952. PIN_SLP(gpm1-4, INPUT, NONE);
  953. PIN_SLP(gpm1-5, INPUT, NONE);
  954. PIN_SLP(gpm1-6, INPUT, DOWN);
  955. PIN_SLP(gpm2-0, INPUT, NONE);
  956. PIN_SLP(gpm2-1, INPUT, NONE);
  957. PIN_SLP(gpm2-2, INPUT, DOWN);
  958. PIN_SLP(gpm2-3, INPUT, DOWN);
  959. PIN_SLP(gpm2-4, INPUT, DOWN);
  960. PIN_SLP(gpm3-0, PREV, NONE);
  961. PIN_SLP(gpm3-1, PREV, NONE);
  962. PIN_SLP(gpm3-2, PREV, NONE);
  963. PIN_SLP(gpm3-3, OUT1, NONE);
  964. PIN_SLP(gpm3-4, INPUT, DOWN);
  965. PIN_SLP(gpm3-5, INPUT, DOWN);
  966. PIN_SLP(gpm3-6, INPUT, DOWN);
  967. PIN_SLP(gpm3-7, INPUT, DOWN);
  968. PIN_SLP(gpm4-0, INPUT, DOWN);
  969. PIN_SLP(gpm4-1, INPUT, DOWN);
  970. PIN_SLP(gpm4-2, INPUT, DOWN);
  971. PIN_SLP(gpm4-3, INPUT, DOWN);
  972. PIN_SLP(gpm4-4, INPUT, DOWN);
  973. PIN_SLP(gpm4-5, INPUT, DOWN);
  974. PIN_SLP(gpm4-6, INPUT, DOWN);
  975. PIN_SLP(gpm4-7, INPUT, DOWN);
  976. PIN_SLP(gpy0-0, INPUT, DOWN);
  977. PIN_SLP(gpy0-1, INPUT, DOWN);
  978. PIN_SLP(gpy0-2, INPUT, DOWN);
  979. PIN_SLP(gpy0-3, INPUT, DOWN);
  980. PIN_SLP(gpy0-4, INPUT, DOWN);
  981. PIN_SLP(gpy0-5, INPUT, DOWN);
  982. PIN_SLP(gpy1-0, INPUT, DOWN);
  983. PIN_SLP(gpy1-1, INPUT, DOWN);
  984. PIN_SLP(gpy1-2, INPUT, DOWN);
  985. PIN_SLP(gpy1-3, INPUT, DOWN);
  986. PIN_SLP(gpy2-0, PREV, NONE);
  987. PIN_SLP(gpy2-1, INPUT, DOWN);
  988. PIN_SLP(gpy2-2, INPUT, NONE);
  989. PIN_SLP(gpy2-3, INPUT, NONE);
  990. PIN_SLP(gpy2-4, INPUT, NONE);
  991. PIN_SLP(gpy2-5, INPUT, NONE);
  992. PIN_SLP(gpy3-0, INPUT, DOWN);
  993. PIN_SLP(gpy3-1, INPUT, DOWN);
  994. PIN_SLP(gpy3-2, INPUT, DOWN);
  995. PIN_SLP(gpy3-3, INPUT, DOWN);
  996. PIN_SLP(gpy3-4, INPUT, DOWN);
  997. PIN_SLP(gpy3-5, INPUT, DOWN);
  998. PIN_SLP(gpy3-6, INPUT, DOWN);
  999. PIN_SLP(gpy3-7, INPUT, DOWN);
  1000. PIN_SLP(gpy4-0, INPUT, DOWN);
  1001. PIN_SLP(gpy4-1, INPUT, DOWN);
  1002. PIN_SLP(gpy4-2, INPUT, DOWN);
  1003. PIN_SLP(gpy4-3, INPUT, DOWN);
  1004. PIN_SLP(gpy4-4, INPUT, DOWN);
  1005. PIN_SLP(gpy4-5, INPUT, DOWN);
  1006. PIN_SLP(gpy4-6, INPUT, DOWN);
  1007. PIN_SLP(gpy4-7, INPUT, DOWN);
  1008. PIN_SLP(gpy5-0, INPUT, DOWN);
  1009. PIN_SLP(gpy5-1, INPUT, DOWN);
  1010. PIN_SLP(gpy5-2, INPUT, DOWN);
  1011. PIN_SLP(gpy5-3, INPUT, DOWN);
  1012. PIN_SLP(gpy5-4, INPUT, DOWN);
  1013. PIN_SLP(gpy5-5, INPUT, DOWN);
  1014. PIN_SLP(gpy5-6, INPUT, DOWN);
  1015. PIN_SLP(gpy5-7, INPUT, DOWN);
  1016. PIN_SLP(gpy6-0, INPUT, DOWN);
  1017. PIN_SLP(gpy6-1, INPUT, DOWN);
  1018. PIN_SLP(gpy6-2, INPUT, DOWN);
  1019. PIN_SLP(gpy6-3, INPUT, DOWN);
  1020. PIN_SLP(gpy6-4, INPUT, DOWN);
  1021. PIN_SLP(gpy6-5, INPUT, DOWN);
  1022. PIN_SLP(gpy6-6, INPUT, DOWN);
  1023. PIN_SLP(gpy6-7, INPUT, DOWN);
  1024. };
  1025. };
  1026. &pinctrl_2 {
  1027. pinctrl-names = "default";
  1028. pinctrl-0 = <&sleep2>;
  1029. sleep2: sleep-states {
  1030. PIN_SLP(gpz-0, INPUT, DOWN);
  1031. PIN_SLP(gpz-1, INPUT, DOWN);
  1032. PIN_SLP(gpz-2, INPUT, DOWN);
  1033. PIN_SLP(gpz-3, INPUT, DOWN);
  1034. PIN_SLP(gpz-4, INPUT, DOWN);
  1035. PIN_SLP(gpz-5, INPUT, DOWN);
  1036. PIN_SLP(gpz-6, INPUT, DOWN);
  1037. };
  1038. };
  1039. &pinctrl_3 {
  1040. pinctrl-names = "default";
  1041. pinctrl-0 = <&sleep3>;
  1042. sleep3: sleep-states {
  1043. PIN_SLP(gpv0-0, INPUT, DOWN);
  1044. PIN_SLP(gpv0-1, INPUT, DOWN);
  1045. PIN_SLP(gpv0-2, INPUT, DOWN);
  1046. PIN_SLP(gpv0-3, INPUT, DOWN);
  1047. PIN_SLP(gpv0-4, INPUT, DOWN);
  1048. PIN_SLP(gpv0-5, INPUT, DOWN);
  1049. PIN_SLP(gpv0-6, INPUT, DOWN);
  1050. PIN_SLP(gpv0-7, INPUT, DOWN);
  1051. PIN_SLP(gpv1-0, INPUT, DOWN);
  1052. PIN_SLP(gpv1-1, INPUT, DOWN);
  1053. PIN_SLP(gpv1-2, INPUT, DOWN);
  1054. PIN_SLP(gpv1-3, INPUT, DOWN);
  1055. PIN_SLP(gpv1-4, INPUT, DOWN);
  1056. PIN_SLP(gpv1-5, INPUT, DOWN);
  1057. PIN_SLP(gpv1-6, INPUT, DOWN);
  1058. PIN_SLP(gpv1-7, INPUT, DOWN);
  1059. PIN_SLP(gpv2-0, INPUT, DOWN);
  1060. PIN_SLP(gpv2-1, INPUT, DOWN);
  1061. PIN_SLP(gpv2-2, INPUT, DOWN);
  1062. PIN_SLP(gpv2-3, INPUT, DOWN);
  1063. PIN_SLP(gpv2-4, INPUT, DOWN);
  1064. PIN_SLP(gpv2-5, INPUT, DOWN);
  1065. PIN_SLP(gpv2-6, INPUT, DOWN);
  1066. PIN_SLP(gpv2-7, INPUT, DOWN);
  1067. PIN_SLP(gpv3-0, INPUT, DOWN);
  1068. PIN_SLP(gpv3-1, INPUT, DOWN);
  1069. PIN_SLP(gpv3-2, INPUT, DOWN);
  1070. PIN_SLP(gpv3-3, INPUT, DOWN);
  1071. PIN_SLP(gpv3-4, INPUT, DOWN);
  1072. PIN_SLP(gpv3-5, INPUT, DOWN);
  1073. PIN_SLP(gpv3-6, INPUT, DOWN);
  1074. PIN_SLP(gpv3-7, INPUT, DOWN);
  1075. PIN_SLP(gpv4-0, INPUT, DOWN);
  1076. };
  1077. };
  1078. &pwm {
  1079. pinctrl-0 = <&pwm0_out>;
  1080. pinctrl-names = "default";
  1081. samsung,pwm-outputs = <0>;
  1082. status = "okay";
  1083. };
  1084. &rtc {
  1085. status = "okay";
  1086. clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
  1087. clock-names = "rtc", "rtc_src";
  1088. };
  1089. &sdhci_2 {
  1090. bus-width = <4>;
  1091. cd-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>;
  1092. cd-inverted;
  1093. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
  1094. pinctrl-names = "default";
  1095. vmmc-supply = <&ldo21_reg>;
  1096. status = "okay";
  1097. };
  1098. &serial_0 {
  1099. status = "okay";
  1100. };
  1101. &serial_1 {
  1102. status = "okay";
  1103. };
  1104. &serial_2 {
  1105. status = "okay";
  1106. };
  1107. &serial_3 {
  1108. status = "okay";
  1109. };
  1110. &spi_1 {
  1111. pinctrl-names = "default";
  1112. pinctrl-0 = <&spi1_bus>;
  1113. cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
  1114. status = "okay";
  1115. s5c73m3_spi: s5c73m3@0 {
  1116. compatible = "samsung,s5c73m3";
  1117. spi-max-frequency = <50000000>;
  1118. reg = <0>;
  1119. controller-data {
  1120. samsung,spi-feedback-delay = <2>;
  1121. };
  1122. };
  1123. };
  1124. &tmu {
  1125. vtmu-supply = <&ldo10_reg>;
  1126. status = "okay";
  1127. };