exynos4412-p4note.dtsi 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Samsung's Exynos4412 based p4note device family base DT.
  4. * Based on exynos4412-midas.dtsi.
  5. *
  6. * Copyright (c) 2013 Samsung Electronics Co., Ltd.
  7. * http://www.samsung.com
  8. */
  9. /dts-v1/;
  10. #include "exynos4412.dtsi"
  11. #include "exynos4412-ppmu-common.dtsi"
  12. #include <dt-bindings/clock/maxim,max77686.h>
  13. #include <dt-bindings/gpio/gpio.h>
  14. #include <dt-bindings/input/linux-event-codes.h>
  15. #include <dt-bindings/interrupt-controller/irq.h>
  16. #include <dt-bindings/power/summit,smb347-charger.h>
  17. #include "exynos-pinctrl.h"
  18. / {
  19. compatible = "samsung,p4note", "samsung,exynos4412", "samsung,exynos4";
  20. memory@40000000 {
  21. device_type = "memory";
  22. reg = <0x40000000 0x80000000>;
  23. };
  24. chosen {
  25. stdout-path = &serial_2;
  26. };
  27. firmware@204f000 {
  28. compatible = "samsung,secure-firmware";
  29. reg = <0x0204F000 0x1000>;
  30. };
  31. fixed-rate-clocks {
  32. xxti {
  33. compatible = "samsung,clock-xxti";
  34. clock-frequency = <0>;
  35. };
  36. xusbxti {
  37. compatible = "samsung,clock-xusbxti";
  38. clock-frequency = <24000000>;
  39. };
  40. };
  41. gpio-keys {
  42. compatible = "gpio-keys";
  43. pinctrl-names = "default";
  44. pinctrl-0 = <&gpio_keys>;
  45. key-down {
  46. gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
  47. linux,code = <KEY_VOLUMEDOWN>;
  48. label = "volume down";
  49. debounce-interval = <10>;
  50. };
  51. key-up {
  52. gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
  53. linux,code = <KEY_VOLUMEUP>;
  54. label = "volume up";
  55. debounce-interval = <10>;
  56. };
  57. key-power {
  58. gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
  59. linux,code = <KEY_POWER>;
  60. label = "power";
  61. debounce-interval = <10>;
  62. wakeup-source;
  63. };
  64. };
  65. voltage-regulator-1 {
  66. compatible = "regulator-fixed";
  67. regulator-name = "TSP_LDO1";
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&tsp_reg_gpio_1>;
  70. gpios = <&gpm4 5 GPIO_ACTIVE_HIGH>;
  71. enable-active-high;
  72. regulator-always-on;
  73. };
  74. voltage-regulator-2 {
  75. compatible = "regulator-fixed";
  76. regulator-name = "TSP_LDO2";
  77. pinctrl-names = "default";
  78. pinctrl-0 = <&tsp_reg_gpio_2>;
  79. gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
  80. enable-active-high;
  81. regulator-always-on;
  82. };
  83. voltage-regulator-3 {
  84. compatible = "regulator-fixed";
  85. regulator-name = "TSP_LDO3";
  86. pinctrl-names = "default";
  87. pinctrl-0 = <&tsp_reg_gpio_3>;
  88. gpios = <&gpb 7 GPIO_ACTIVE_HIGH>;
  89. startup-delay-us = <20000>;
  90. enable-active-high;
  91. regulator-always-on;
  92. };
  93. panel_vdd: voltage-regulator-4 {
  94. compatible = "regulator-fixed";
  95. regulator-name = "LCD_ENABLE";
  96. pinctrl-names = "default";
  97. pinctrl-0 = <&lcd_enable>;
  98. gpios = <&gpc0 1 GPIO_ACTIVE_HIGH>;
  99. enable-active-high;
  100. regulator-boot-on;
  101. };
  102. wlan_pwrseq: sdhci3-pwrseq {
  103. compatible = "mmc-pwrseq-simple";
  104. reset-gpios = <&gpm3 5 GPIO_ACTIVE_LOW>;
  105. pinctrl-0 = <&wifi_reset>;
  106. pinctrl-names = "default";
  107. clocks = <&max77686 MAX77686_CLK_PMIC>;
  108. clock-names = "ext_clock";
  109. };
  110. battery_cell: battery-cell {
  111. compatible = "simple-battery";
  112. device-chemistry = "lithium-ion";
  113. constant-charge-current-max-microamp = <2200000>;
  114. precharge-current-microamp = <250000>;
  115. charge-term-current-microamp = <250000>;
  116. constant-charge-voltage-max-microvolt = <4200000>;
  117. power-supplies = <&power_supply>;
  118. };
  119. i2c-gpio-1 {
  120. compatible = "i2c-gpio";
  121. sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  122. scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  123. i2c-gpio,delay-us = <2>;
  124. #address-cells = <1>;
  125. #size-cells = <0>;
  126. magnetometer@c {
  127. compatible = "asahi-kasei,ak8975";
  128. reg = <0x0c>;
  129. pinctrl-0 = <&ak8975_irq>;
  130. pinctrl-names = "default";
  131. interrupt-parent = <&gpm4>;
  132. interrupts = <7 IRQ_TYPE_EDGE_RISING>;
  133. };
  134. };
  135. i2c-gpio-2 {
  136. compatible = "i2c-gpio";
  137. sda-gpios = <&gpy0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  138. scl-gpios = <&gpy0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  139. i2c-gpio,delay-us = <2>;
  140. #address-cells = <1>;
  141. #size-cells = <0>;
  142. fuel-gauge@36 {
  143. compatible = "maxim,max17042";
  144. reg = <0x36>;
  145. pinctrl-0 = <&fuel_alert_irq>;
  146. pinctrl-names = "default";
  147. interrupt-parent = <&gpx2>;
  148. interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
  149. maxim,rsns-microohm = <10000>;
  150. maxim,over-heat-temp = <600>;
  151. maxim,over-volt = <4300>;
  152. };
  153. };
  154. i2c-gpio-3 {
  155. compatible = "i2c-gpio";
  156. sda-gpios = <&gpm4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  157. scl-gpios = <&gpm4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  158. i2c-gpio,delay-us = <5>;
  159. #address-cells = <1>;
  160. #size-cells = <0>;
  161. adc@41 {
  162. compatible = "st,stmpe811";
  163. reg = <0x41>;
  164. pinctrl-0 = <&stmpe_adc_irq>;
  165. pinctrl-names = "default";
  166. interrupt-parent = <&gpx0>;
  167. interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
  168. interrupt-controller;
  169. irq-trigger = <0x1>;
  170. st,adc-freq = <3>;
  171. st,mod-12b = <1>;
  172. st,ref-sel = <0>;
  173. st,sample-time = <3>;
  174. stmpe_adc {
  175. compatible = "st,stmpe-adc";
  176. #io-channel-cells = <1>;
  177. st,norequest-mask = <0x2F>;
  178. };
  179. };
  180. };
  181. i2c-gpio-4 {
  182. compatible = "i2c-gpio";
  183. sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  184. scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  185. i2c-gpio,delay-us = <2>;
  186. #address-cells = <1>;
  187. #size-cells = <0>;
  188. power_supply: charger@6 {
  189. compatible = "summit,smb347";
  190. reg = <0x6>;
  191. summit,enable-usb-charging;
  192. summit,enable-charge-control = <SMB3XX_CHG_ENABLE_SW>;
  193. summit,fast-voltage-threshold-microvolt = <2600000>;
  194. summit,chip-temperature-threshold-celsius = <130>;
  195. summit,usb-current-limit-microamp = <1800000>;
  196. monitored-battery = <&battery_cell>;
  197. };
  198. };
  199. panel {
  200. compatible = "samsung,ltl101al01";
  201. pinctrl-0 = <&lvds_nshdn>;
  202. pinctrl-names = "default";
  203. power-supply = <&panel_vdd>;
  204. enable-gpios = <&gpm0 5 GPIO_ACTIVE_HIGH>;
  205. backlight = <&backlight>;
  206. port {
  207. lcd_ep: endpoint {
  208. remote-endpoint = <&fimd_ep>;
  209. };
  210. };
  211. };
  212. backlight: backlight {
  213. compatible = "pwm-backlight";
  214. pinctrl-0 = <&led_bl_reset>;
  215. pinctrl-names = "default";
  216. enable-gpios = <&gpm0 1 GPIO_ACTIVE_HIGH>;
  217. pwms = <&pwm 1 78770 0>;
  218. brightness-levels = <0 48 128 255>;
  219. num-interpolated-steps = <8>;
  220. default-brightness-level = <12>;
  221. };
  222. };
  223. &adc {
  224. vdd-supply = <&ldo3_reg>;
  225. /* not verified */
  226. status = "okay";
  227. };
  228. &bus_dmc {
  229. devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
  230. vdd-supply = <&buck1_reg>;
  231. status = "okay";
  232. };
  233. &bus_acp {
  234. devfreq = <&bus_dmc>;
  235. status = "okay";
  236. };
  237. &bus_c2c {
  238. devfreq = <&bus_dmc>;
  239. status = "okay";
  240. };
  241. &bus_leftbus {
  242. devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
  243. vdd-supply = <&buck3_reg>;
  244. status = "okay";
  245. };
  246. &bus_rightbus {
  247. devfreq = <&bus_leftbus>;
  248. status = "okay";
  249. };
  250. &bus_display {
  251. devfreq = <&bus_leftbus>;
  252. status = "okay";
  253. };
  254. &bus_fsys {
  255. devfreq = <&bus_leftbus>;
  256. status = "okay";
  257. };
  258. &bus_peri {
  259. devfreq = <&bus_leftbus>;
  260. status = "okay";
  261. };
  262. &bus_mfc {
  263. devfreq = <&bus_leftbus>;
  264. status = "okay";
  265. };
  266. &cpu0 {
  267. cpu0-supply = <&buck2_reg>;
  268. };
  269. &cpu_thermal {
  270. cooling-maps {
  271. map0 {
  272. /* Corresponds to 800MHz at freq_table */
  273. cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
  274. <&cpu2 7 7>, <&cpu3 7 7>;
  275. };
  276. map1 {
  277. /* Corresponds to 200MHz at freq_table */
  278. cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
  279. <&cpu2 13 13>, <&cpu3 13 13>;
  280. };
  281. };
  282. };
  283. &exynos_usbphy {
  284. status = "okay";
  285. };
  286. &fimd {
  287. pinctrl-0 = <&lcd_clk &lcd_data24>;
  288. pinctrl-names = "default";
  289. #address-cells = <1>;
  290. #size-cells = <0>;
  291. status = "okay";
  292. samsung,invert-vclk;
  293. port@3 {
  294. reg = <3>;
  295. fimd_ep: endpoint {
  296. remote-endpoint = <&lcd_ep>;
  297. };
  298. };
  299. };
  300. &gpu {
  301. mali-supply = <&buck4_reg>;
  302. status = "okay";
  303. };
  304. &hsotg {
  305. vusb_a-supply = <&ldo12_reg>;
  306. dr_mode = "peripheral";
  307. status = "okay";
  308. };
  309. &i2c_3 {
  310. samsung,i2c-sda-delay = <100>;
  311. samsung,i2c-slave-addr = <0x10>;
  312. samsung,i2c-max-bus-freq = <400000>;
  313. pinctrl-0 = <&i2c3_bus>;
  314. pinctrl-names = "default";
  315. status = "okay";
  316. touchscreen@4a {
  317. compatible = "atmel,maxtouch";
  318. reg = <0x4a>;
  319. pinctrl-0 = <&tsp_rst &tsp_irq>;
  320. pinctrl-names = "default";
  321. interrupt-parent = <&gpm2>;
  322. interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
  323. reset-gpios = <&gpm0 4 GPIO_ACTIVE_LOW>;
  324. };
  325. };
  326. &i2c_7 {
  327. samsung,i2c-sda-delay = <100>;
  328. samsung,i2c-slave-addr = <0x10>;
  329. samsung,i2c-max-bus-freq = <400000>;
  330. pinctrl-0 = <&i2c7_bus>;
  331. pinctrl-names = "default";
  332. status = "okay";
  333. max77686: pmic@9 {
  334. compatible = "maxim,max77686";
  335. interrupt-parent = <&gpx0>;
  336. interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
  337. pinctrl-0 = <&max77686_irq>;
  338. pinctrl-names = "default";
  339. wakeup-source;
  340. reg = <0x09>;
  341. #clock-cells = <1>;
  342. voltage-regulators {
  343. ldo1_reg: LDO1 {
  344. regulator-name = "ldo1";
  345. regulator-always-on;
  346. };
  347. ldo2_reg: LDO2 {
  348. regulator-name = "ldo2";
  349. regulator-always-on;
  350. };
  351. /* WM8994 audio */
  352. ldo3_reg: LDO3 {
  353. regulator-name = "VCC_1.8V_AP";
  354. regulator-min-microvolt = <1800000>;
  355. regulator-max-microvolt = <1800000>;
  356. regulator-always-on;
  357. regulator-boot-on;
  358. regulator-state-mem {
  359. regulator-on-in-suspend;
  360. };
  361. };
  362. ldo4_reg: LDO4 {
  363. regulator-name = "ldo4";
  364. regulator-always-on;
  365. };
  366. ldo5_reg: LDO5 {
  367. regulator-name = "VCC_1.8V_IO";
  368. regulator-min-microvolt = <1800000>;
  369. regulator-max-microvolt = <1800000>;
  370. regulator-state-mem {
  371. regulator-off-in-suspend;
  372. };
  373. };
  374. ldo6_reg: LDO6 {
  375. regulator-name = "ldo6";
  376. regulator-always-on;
  377. };
  378. ldo7_reg: LDO7 {
  379. regulator-name = "ldo7";
  380. regulator-always-on;
  381. };
  382. /* CSI IP block */
  383. ldo8_reg: LDO8 {
  384. regulator-name = "VMIPI_1.0V";
  385. regulator-min-microvolt = <1000000>;
  386. regulator-max-microvolt = <1000000>;
  387. regulator-always-on;
  388. regulator-boot-on;
  389. regulator-state-mem {
  390. regulator-on-in-suspend;
  391. };
  392. };
  393. /* IR LED on/off */
  394. ldo9_reg: LDO9 {
  395. regulator-name = "VLED_IC_1.9V";
  396. regulator-min-microvolt = <1950000>;
  397. regulator-max-microvolt = <1950000>;
  398. regulator-state-mem {
  399. regulator-off-in-suspend;
  400. };
  401. };
  402. /* CSI IP block */
  403. ldo10_reg: LDO10 {
  404. regulator-name = "VMIPI_1.8V";
  405. regulator-min-microvolt = <1800000>;
  406. regulator-max-microvolt = <1800000>;
  407. regulator-always-on;
  408. regulator-boot-on;
  409. regulator-state-mem {
  410. regulator-on-in-suspend;
  411. };
  412. };
  413. ldo11_reg: LDO11 {
  414. regulator-name = "VABB1_1.9V";
  415. regulator-min-microvolt = <1950000>;
  416. regulator-max-microvolt = <1950000>;
  417. regulator-always-on;
  418. regulator-boot-on;
  419. regulator-state-mem {
  420. regulator-off-in-suspend;
  421. };
  422. };
  423. /* USB OTG */
  424. ldo12_reg: LDO12 {
  425. regulator-name = "VUOTG_3.0V";
  426. regulator-min-microvolt = <3000000>;
  427. regulator-max-microvolt = <3000000>;
  428. regulator-always-on;
  429. regulator-boot-on;
  430. regulator-state-mem {
  431. regulator-on-in-suspend;
  432. };
  433. };
  434. /* not connected */
  435. ldo13_reg: LDO13 {
  436. regulator-name = "ldo13";
  437. };
  438. ldo14_reg: LDO14 {
  439. regulator-name = "VABB2_1.9V";
  440. regulator-min-microvolt = <1950000>;
  441. regulator-max-microvolt = <1950000>;
  442. regulator-always-on;
  443. regulator-boot-on;
  444. regulator-state-mem {
  445. regulator-off-in-suspend;
  446. };
  447. };
  448. ldo15_reg: LDO15 {
  449. regulator-name = "ldo15";
  450. regulator-always-on;
  451. };
  452. ldo16_reg: LDO16 {
  453. regulator-name = "ldo16";
  454. regulator-always-on;
  455. };
  456. /* not connected */
  457. ldo17_reg: LDO17 {
  458. regulator-name = "ldo17";
  459. };
  460. /* Camera ISX012 */
  461. ldo18_reg: LDO18 {
  462. regulator-name = "CAM_IO_1.8V";
  463. regulator-min-microvolt = <1800000>;
  464. regulator-max-microvolt = <1800000>;
  465. regulator-state-mem {
  466. regulator-off-in-suspend;
  467. };
  468. };
  469. /* Camera S5K6A3 */
  470. ldo19_reg: LDO19 {
  471. regulator-name = "VT_CORE_1.8V";
  472. regulator-min-microvolt = <1800000>;
  473. regulator-max-microvolt = <1800000>;
  474. regulator-state-mem {
  475. regulator-off-in-suspend;
  476. };
  477. };
  478. /* not connected */
  479. ldo20_reg: LDO20 {
  480. regulator-name = "ldo20";
  481. };
  482. /* MMC2 */
  483. ldo21_reg: LDO21 {
  484. regulator-name = "VTF_2.8V";
  485. regulator-min-microvolt = <2800000>;
  486. regulator-max-microvolt = <2800000>;
  487. maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
  488. };
  489. /* not connected */
  490. ldo22_reg: LDO22 {
  491. regulator-name = "ldo22";
  492. };
  493. /* ADC */
  494. ldo23_reg: LDO23 {
  495. regulator-name = "VDD_ADC_3.3V";
  496. regulator-min-microvolt = <3300000>;
  497. regulator-max-microvolt = <3300000>;
  498. regulator-always-on;
  499. regulator-boot-on;
  500. regulator-state-mem {
  501. regulator-off-in-suspend;
  502. };
  503. };
  504. /* Camera S5K6A3 */
  505. ldo24_reg: LDO24 {
  506. regulator-name = "CAM_A2.8V";
  507. regulator-min-microvolt = <2800000>;
  508. regulator-max-microvolt = <2800000>;
  509. regulator-state-mem {
  510. regulator-off-in-suspend;
  511. };
  512. };
  513. ldo25_reg: LDO25 {
  514. regulator-name = "VLED_3.3V";
  515. regulator-min-microvolt = <3300000>;
  516. regulator-max-microvolt = <3300000>;
  517. regulator-state-mem {
  518. regulator-off-in-suspend;
  519. };
  520. };
  521. /* Camera ISX012 */
  522. ldo26_reg: LDO26 {
  523. regulator-name = "3MP_AF_2.8V";
  524. regulator-min-microvolt = <2800000>;
  525. regulator-max-microvolt = <2800000>;
  526. regulator-state-mem {
  527. regulator-off-in-suspend;
  528. };
  529. };
  530. buck1_reg: BUCK1 {
  531. regulator-name = "VDD_MIF";
  532. regulator-min-microvolt = <850000>;
  533. regulator-max-microvolt = <1050000>;
  534. regulator-always-on;
  535. regulator-boot-on;
  536. };
  537. buck2_reg: BUCK2 {
  538. regulator-name = "VDD_ARM";
  539. regulator-min-microvolt = <850000>;
  540. regulator-max-microvolt = <1500000>;
  541. regulator-always-on;
  542. regulator-boot-on;
  543. };
  544. buck3_reg: BUCK3 {
  545. regulator-name = "VDD_INT";
  546. regulator-min-microvolt = <850000>;
  547. regulator-max-microvolt = <1100000>;
  548. regulator-always-on;
  549. regulator-boot-on;
  550. };
  551. buck4_reg: BUCK4 {
  552. regulator-name = "VDD_G3D";
  553. regulator-min-microvolt = <850000>;
  554. regulator-max-microvolt = <1075000>;
  555. regulator-boot-on;
  556. };
  557. buck5_reg: BUCK5 {
  558. regulator-name = "buck5";
  559. regulator-always-on;
  560. };
  561. buck6_reg: BUCK6 {
  562. regulator-name = "buck6";
  563. regulator-always-on;
  564. };
  565. buck7_reg: BUCK7 {
  566. regulator-name = "buck7";
  567. regulator-always-on;
  568. };
  569. /* not connected */
  570. buck8_reg: BUCK8 {
  571. regulator-name = "buck8";
  572. };
  573. buck9_reg: BUCK9 {
  574. regulator-name = "3MP_CORE_1.2V";
  575. regulator-min-microvolt = <1200000>;
  576. regulator-max-microvolt = <1200000>;
  577. regulator-state-mem {
  578. regulator-off-in-suspend;
  579. };
  580. };
  581. };
  582. };
  583. };
  584. &mshc_0 {
  585. broken-cd;
  586. non-removable;
  587. card-detect-delay = <200>;
  588. clock-frequency = <400000000>;
  589. samsung,dw-mshc-ciu-div = <0>;
  590. samsung,dw-mshc-sdr-timing = <2 3>;
  591. samsung,dw-mshc-ddr-timing = <1 2>;
  592. pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
  593. pinctrl-names = "default";
  594. bus-width = <4>;
  595. cap-mmc-highspeed;
  596. cap-sd-highspeed;
  597. status = "okay";
  598. };
  599. &pinctrl_0 {
  600. pinctrl-names = "default";
  601. pinctrl-0 = <&sleep0>;
  602. tsp_reg_gpio_2: tsp-reg-gpio-2-pins {
  603. samsung,pins = "gpb-5";
  604. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  605. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  606. };
  607. tsp_reg_gpio_3: tsp-reg-gpio-3-pins {
  608. samsung,pins = "gpb-7";
  609. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  610. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  611. };
  612. lcd_enable: lcd-enable-pins {
  613. samsung,pins = "gpc0-1";
  614. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  615. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  616. };
  617. sleep0: sleep-state {
  618. PIN_SLP(gpa0-0, INPUT, NONE);
  619. PIN_SLP(gpa0-1, OUT0, NONE);
  620. PIN_SLP(gpa0-2, INPUT, NONE);
  621. PIN_SLP(gpa0-3, INPUT, UP);
  622. PIN_SLP(gpa0-4, INPUT, NONE);
  623. PIN_SLP(gpa0-5, INPUT, DOWN);
  624. PIN_SLP(gpa0-6, INPUT, DOWN);
  625. PIN_SLP(gpa0-7, INPUT, UP);
  626. PIN_SLP(gpa1-0, INPUT, DOWN);
  627. PIN_SLP(gpa1-1, INPUT, DOWN);
  628. PIN_SLP(gpa1-2, INPUT, DOWN);
  629. PIN_SLP(gpa1-3, INPUT, DOWN);
  630. PIN_SLP(gpa1-4, INPUT, DOWN);
  631. PIN_SLP(gpa1-5, INPUT, DOWN);
  632. PIN_SLP(gpb-0, INPUT, NONE);
  633. PIN_SLP(gpb-1, INPUT, NONE);
  634. PIN_SLP(gpb-2, INPUT, NONE);
  635. PIN_SLP(gpb-3, INPUT, NONE);
  636. PIN_SLP(gpb-4, INPUT, DOWN);
  637. PIN_SLP(gpb-5, INPUT, DOWN);
  638. PIN_SLP(gpb-6, INPUT, DOWN);
  639. PIN_SLP(gpb-7, INPUT, DOWN);
  640. PIN_SLP(gpc0-0, INPUT, DOWN);
  641. PIN_SLP(gpc0-1, INPUT, DOWN);
  642. PIN_SLP(gpc0-2, INPUT, DOWN);
  643. PIN_SLP(gpc0-3, INPUT, DOWN);
  644. PIN_SLP(gpc0-4, INPUT, DOWN);
  645. PIN_SLP(gpc1-0, INPUT, UP);
  646. PIN_SLP(gpc1-1, PREV, NONE);
  647. PIN_SLP(gpc1-2, INPUT, UP);
  648. PIN_SLP(gpc1-3, INPUT, UP);
  649. PIN_SLP(gpc1-4, INPUT, UP);
  650. PIN_SLP(gpd0-0, INPUT, DOWN);
  651. PIN_SLP(gpd0-1, OUT0, NONE);
  652. PIN_SLP(gpd0-2, INPUT, NONE);
  653. PIN_SLP(gpd0-3, INPUT, NONE);
  654. PIN_SLP(gpd1-0, INPUT, DOWN);
  655. PIN_SLP(gpd1-1, INPUT, DOWN);
  656. PIN_SLP(gpd1-2, INPUT, NONE);
  657. PIN_SLP(gpd1-3, INPUT, NONE);
  658. PIN_SLP(gpf0-0, OUT0, NONE);
  659. PIN_SLP(gpf0-1, OUT0, NONE);
  660. PIN_SLP(gpf0-2, OUT0, NONE);
  661. PIN_SLP(gpf0-3, OUT0, NONE);
  662. PIN_SLP(gpf0-4, OUT0, NONE);
  663. PIN_SLP(gpf0-5, OUT0, NONE);
  664. PIN_SLP(gpf0-6, OUT0, NONE);
  665. PIN_SLP(gpf0-7, OUT0, NONE);
  666. PIN_SLP(gpf1-0, OUT0, NONE);
  667. PIN_SLP(gpf1-1, OUT0, NONE);
  668. PIN_SLP(gpf1-2, OUT0, NONE);
  669. PIN_SLP(gpf1-3, OUT0, NONE);
  670. PIN_SLP(gpf1-4, OUT0, NONE);
  671. PIN_SLP(gpf1-5, OUT0, NONE);
  672. PIN_SLP(gpf1-6, OUT0, NONE);
  673. PIN_SLP(gpf1-7, OUT0, NONE);
  674. PIN_SLP(gpf2-0, OUT0, NONE);
  675. PIN_SLP(gpf2-1, OUT0, NONE);
  676. PIN_SLP(gpf2-2, OUT0, NONE);
  677. PIN_SLP(gpf2-3, OUT0, NONE);
  678. PIN_SLP(gpf2-4, OUT0, NONE);
  679. PIN_SLP(gpf2-5, OUT0, NONE);
  680. PIN_SLP(gpf2-6, OUT0, NONE);
  681. PIN_SLP(gpf2-7, OUT0, NONE);
  682. PIN_SLP(gpf3-0, OUT0, NONE);
  683. PIN_SLP(gpf3-1, OUT0, NONE);
  684. PIN_SLP(gpf3-2, OUT0, NONE);
  685. PIN_SLP(gpf3-3, OUT0, NONE);
  686. PIN_SLP(gpf3-4, OUT0, NONE);
  687. PIN_SLP(gpf3-5, OUT0, NONE);
  688. PIN_SLP(gpj0-0, INPUT, DOWN);
  689. PIN_SLP(gpj0-1, INPUT, DOWN);
  690. PIN_SLP(gpj0-2, INPUT, DOWN);
  691. PIN_SLP(gpj0-3, PREV, NONE);
  692. PIN_SLP(gpj0-4, PREV, NONE);
  693. PIN_SLP(gpj0-5, OUT0, NONE);
  694. PIN_SLP(gpj0-6, OUT0, NONE);
  695. PIN_SLP(gpj0-7, OUT0, NONE);
  696. PIN_SLP(gpj1-0, OUT0, NONE);
  697. PIN_SLP(gpj1-1, INPUT, DOWN);
  698. PIN_SLP(gpj1-2, PREV, NONE);
  699. PIN_SLP(gpj1-3, OUT0, NONE);
  700. };
  701. };
  702. &pinctrl_1 {
  703. pinctrl-names = "default";
  704. pinctrl-0 = <&sleep1>;
  705. sd3_wifi: sd3-wifi-pins {
  706. samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
  707. samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
  708. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  709. };
  710. bt_shutdown: bt-shutdown-pins {
  711. samsung,pins = "gpl0-6";
  712. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  713. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  714. };
  715. uart_sel: uart-sel-pins {
  716. samsung,pins = "gpl2-7";
  717. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  718. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  719. samsung,pin-val = <1>;
  720. /* 0 = CP, 1 = AP (serial output) */
  721. };
  722. led_bl_reset: led-bl-reset-pins {
  723. samsung,pins = "gpm0-1";
  724. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  725. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  726. };
  727. tsp_rst: tsp-rst-pins {
  728. samsung,pins = "gpm0-4";
  729. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  730. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  731. };
  732. lvds_nshdn: lvds-nshdn-pins {
  733. samsung,pins = "gpm0-5";
  734. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  735. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  736. };
  737. tsp_irq: tsp-irq-pins {
  738. samsung,pins = "gpm2-3";
  739. samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
  740. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  741. };
  742. wifi_reset: wifi-reset-pins {
  743. samsung,pins = "gpm3-5";
  744. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  745. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  746. };
  747. tsp_reg_gpio_1: tsp-reg-gpio-1-pins {
  748. samsung,pins = "gpm4-5";
  749. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  750. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  751. };
  752. ak8975_irq: ak8975-irq-pins {
  753. samsung,pins = "gpm4-7";
  754. samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
  755. samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
  756. };
  757. stmpe_adc_irq: stmpe-adc-irq-pins {
  758. samsung,pins = "gpx0-1";
  759. samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
  760. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  761. };
  762. max77686_irq: max77686-irq-pins {
  763. samsung,pins = "gpx0-7";
  764. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  765. };
  766. gpio_keys: gpio-keys-pins {
  767. samsung,pins = "gpx2-2", "gpx2-7", "gpx3-3";
  768. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  769. };
  770. fuel_alert_irq: fuel-alert-irq-pins {
  771. samsung,pins = "gpx2-3";
  772. samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
  773. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  774. };
  775. wifi_host_wake: wifi-host-wake-pins {
  776. samsung,pins = "gpx2-5";
  777. samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
  778. samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
  779. };
  780. bt_host_wakeup: bt-host-wakeup-pins {
  781. samsung,pins = "gpx2-6";
  782. samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
  783. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  784. };
  785. bt_device_wakeup: bt-device-wakeup-pins {
  786. samsung,pins = "gpx3-1";
  787. samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
  788. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  789. };
  790. sdhci2_cd: sdhci2-cd-pins {
  791. samsung,pins = "gpx3-4";
  792. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  793. };
  794. sleep1: sleep-state {
  795. PIN_SLP(gpk0-0, PREV, NONE);
  796. PIN_SLP(gpk0-1, PREV, NONE);
  797. PIN_SLP(gpk0-2, PREV, NONE);
  798. PIN_SLP(gpk0-3, PREV, NONE);
  799. PIN_SLP(gpk0-4, PREV, NONE);
  800. PIN_SLP(gpk0-5, PREV, NONE);
  801. PIN_SLP(gpk0-6, PREV, NONE);
  802. PIN_SLP(gpk1-0, INPUT, DOWN);
  803. PIN_SLP(gpk1-1, INPUT, DOWN);
  804. PIN_SLP(gpk1-2, INPUT, DOWN);
  805. PIN_SLP(gpk1-3, PREV, NONE);
  806. PIN_SLP(gpk1-4, PREV, NONE);
  807. PIN_SLP(gpk1-5, PREV, NONE);
  808. PIN_SLP(gpk1-6, PREV, NONE);
  809. PIN_SLP(gpk2-0, INPUT, DOWN);
  810. PIN_SLP(gpk2-1, INPUT, DOWN);
  811. PIN_SLP(gpk2-2, INPUT, DOWN);
  812. PIN_SLP(gpk2-3, INPUT, DOWN);
  813. PIN_SLP(gpk2-4, INPUT, DOWN);
  814. PIN_SLP(gpk2-5, INPUT, DOWN);
  815. PIN_SLP(gpk2-6, INPUT, DOWN);
  816. PIN_SLP(gpk3-0, OUT0, NONE);
  817. PIN_SLP(gpk3-1, INPUT, NONE);
  818. PIN_SLP(gpk3-2, INPUT, DOWN);
  819. PIN_SLP(gpk3-3, INPUT, NONE);
  820. PIN_SLP(gpk3-4, INPUT, NONE);
  821. PIN_SLP(gpk3-5, INPUT, NONE);
  822. PIN_SLP(gpk3-6, INPUT, NONE);
  823. PIN_SLP(gpl0-0, OUT0, NONE);
  824. PIN_SLP(gpl0-1, INPUT, NONE);
  825. PIN_SLP(gpl0-2, INPUT, NONE);
  826. PIN_SLP(gpl0-3, INPUT, DOWN);
  827. PIN_SLP(gpl0-4, PREV, NONE);
  828. PIN_SLP(gpl0-6, PREV, NONE);
  829. PIN_SLP(gpl1-0, OUT0, NONE);
  830. PIN_SLP(gpl1-1, OUT0, NONE);
  831. PIN_SLP(gpl2-0, INPUT, DOWN);
  832. PIN_SLP(gpl2-1, INPUT, DOWN);
  833. PIN_SLP(gpl2-2, INPUT, DOWN);
  834. PIN_SLP(gpl2-3, INPUT, DOWN);
  835. PIN_SLP(gpl2-4, OUT0, NONE);
  836. PIN_SLP(gpl2-5, INPUT, DOWN);
  837. PIN_SLP(gpl2-6, PREV, NONE);
  838. PIN_SLP(gpl2-7, PREV, NONE);
  839. PIN_SLP(gpm0-0, PREV, NONE);
  840. PIN_SLP(gpm0-1, OUT0, NONE);
  841. PIN_SLP(gpm0-2, INPUT, DOWN);
  842. PIN_SLP(gpm0-3, INPUT, NONE);
  843. PIN_SLP(gpm0-4, OUT0, NONE);
  844. PIN_SLP(gpm0-5, OUT0, NONE);
  845. PIN_SLP(gpm0-6, INPUT, DOWN);
  846. PIN_SLP(gpm0-7, OUT0, NONE);
  847. PIN_SLP(gpm1-0, INPUT, NONE);
  848. PIN_SLP(gpm1-1, INPUT, NONE);
  849. PIN_SLP(gpm1-2, INPUT, NONE);
  850. PIN_SLP(gpm1-3, INPUT, NONE);
  851. PIN_SLP(gpm1-4, INPUT, NONE);
  852. PIN_SLP(gpm1-5, INPUT, NONE);
  853. PIN_SLP(gpm1-6, INPUT, DOWN);
  854. PIN_SLP(gpm2-0, INPUT, NONE);
  855. PIN_SLP(gpm2-1, INPUT, NONE);
  856. PIN_SLP(gpm2-2, OUT0, NONE);
  857. PIN_SLP(gpm2-3, OUT0, DOWN);
  858. PIN_SLP(gpm2-4, INPUT, DOWN);
  859. PIN_SLP(gpm3-0, PREV, NONE);
  860. PIN_SLP(gpm3-1, PREV, NONE);
  861. PIN_SLP(gpm3-2, PREV, NONE);
  862. PIN_SLP(gpm3-3, OUT1, NONE);
  863. PIN_SLP(gpm3-4, OUT0, DOWN);
  864. PIN_SLP(gpm3-5, PREV, NONE);
  865. PIN_SLP(gpm3-6, PREV, NONE);
  866. PIN_SLP(gpm3-7, OUT0, NONE);
  867. PIN_SLP(gpm4-0, INPUT, NONE);
  868. PIN_SLP(gpm4-1, INPUT, NONE);
  869. PIN_SLP(gpm4-2, INPUT, DOWN);
  870. PIN_SLP(gpm4-3, INPUT, DOWN);
  871. PIN_SLP(gpm4-4, PREV, NONE);
  872. PIN_SLP(gpm4-5, OUT0, NONE);
  873. PIN_SLP(gpm4-6, OUT0, NONE);
  874. PIN_SLP(gpm4-7, INPUT, DOWN);
  875. PIN_SLP(gpy0-0, INPUT, DOWN);
  876. PIN_SLP(gpy0-1, INPUT, DOWN);
  877. PIN_SLP(gpy0-2, INPUT, NONE);
  878. PIN_SLP(gpy0-3, INPUT, NONE);
  879. PIN_SLP(gpy0-4, INPUT, NONE);
  880. PIN_SLP(gpy0-5, INPUT, NONE);
  881. PIN_SLP(gpy1-0, INPUT, DOWN);
  882. PIN_SLP(gpy1-1, INPUT, DOWN);
  883. PIN_SLP(gpy1-2, INPUT, DOWN);
  884. PIN_SLP(gpy1-3, INPUT, DOWN);
  885. PIN_SLP(gpy2-0, PREV, NONE);
  886. PIN_SLP(gpy2-1, INPUT, DOWN);
  887. PIN_SLP(gpy2-2, INPUT, NONE);
  888. PIN_SLP(gpy2-3, INPUT, NONE);
  889. PIN_SLP(gpy2-4, INPUT, NONE);
  890. PIN_SLP(gpy2-5, INPUT, NONE);
  891. PIN_SLP(gpy3-0, INPUT, DOWN);
  892. PIN_SLP(gpy3-1, INPUT, DOWN);
  893. PIN_SLP(gpy3-2, INPUT, DOWN);
  894. PIN_SLP(gpy3-3, INPUT, DOWN);
  895. PIN_SLP(gpy3-4, INPUT, DOWN);
  896. PIN_SLP(gpy3-5, INPUT, DOWN);
  897. PIN_SLP(gpy3-6, INPUT, DOWN);
  898. PIN_SLP(gpy3-7, INPUT, DOWN);
  899. PIN_SLP(gpy4-0, INPUT, DOWN);
  900. PIN_SLP(gpy4-1, INPUT, DOWN);
  901. PIN_SLP(gpy4-2, INPUT, DOWN);
  902. PIN_SLP(gpy4-3, INPUT, DOWN);
  903. PIN_SLP(gpy4-4, INPUT, DOWN);
  904. PIN_SLP(gpy4-5, INPUT, DOWN);
  905. PIN_SLP(gpy4-6, INPUT, DOWN);
  906. PIN_SLP(gpy4-7, INPUT, DOWN);
  907. PIN_SLP(gpy5-0, INPUT, DOWN);
  908. PIN_SLP(gpy5-1, INPUT, DOWN);
  909. PIN_SLP(gpy5-2, INPUT, DOWN);
  910. PIN_SLP(gpy5-3, INPUT, DOWN);
  911. PIN_SLP(gpy5-4, INPUT, DOWN);
  912. PIN_SLP(gpy5-5, INPUT, DOWN);
  913. PIN_SLP(gpy5-6, INPUT, DOWN);
  914. PIN_SLP(gpy5-7, INPUT, DOWN);
  915. PIN_SLP(gpy6-0, INPUT, DOWN);
  916. PIN_SLP(gpy6-1, INPUT, DOWN);
  917. PIN_SLP(gpy6-2, INPUT, DOWN);
  918. PIN_SLP(gpy6-3, INPUT, DOWN);
  919. PIN_SLP(gpy6-4, INPUT, DOWN);
  920. PIN_SLP(gpy6-5, INPUT, DOWN);
  921. PIN_SLP(gpy6-6, INPUT, DOWN);
  922. PIN_SLP(gpy6-7, INPUT, DOWN);
  923. };
  924. };
  925. &pinctrl_2 {
  926. pinctrl-names = "default";
  927. pinctrl-0 = <&sleep2>;
  928. sleep2: sleep-state {
  929. PIN_SLP(gpz-0, INPUT, DOWN);
  930. PIN_SLP(gpz-1, INPUT, DOWN);
  931. PIN_SLP(gpz-2, INPUT, DOWN);
  932. PIN_SLP(gpz-3, INPUT, DOWN);
  933. PIN_SLP(gpz-4, INPUT, DOWN);
  934. PIN_SLP(gpz-5, INPUT, DOWN);
  935. PIN_SLP(gpz-6, INPUT, DOWN);
  936. };
  937. };
  938. &pinctrl_3 {
  939. pinctrl-names = "default";
  940. pinctrl-0 = <&sleep3>;
  941. sleep3: sleep-state {
  942. PIN_SLP(gpv0-0, INPUT, DOWN);
  943. PIN_SLP(gpv0-1, INPUT, DOWN);
  944. PIN_SLP(gpv0-2, INPUT, DOWN);
  945. PIN_SLP(gpv0-3, INPUT, DOWN);
  946. PIN_SLP(gpv0-4, INPUT, DOWN);
  947. PIN_SLP(gpv0-5, INPUT, DOWN);
  948. PIN_SLP(gpv0-6, INPUT, DOWN);
  949. PIN_SLP(gpv0-7, INPUT, DOWN);
  950. PIN_SLP(gpv1-0, INPUT, DOWN);
  951. PIN_SLP(gpv1-1, INPUT, DOWN);
  952. PIN_SLP(gpv1-2, INPUT, DOWN);
  953. PIN_SLP(gpv1-3, INPUT, DOWN);
  954. PIN_SLP(gpv1-4, INPUT, DOWN);
  955. PIN_SLP(gpv1-5, INPUT, DOWN);
  956. PIN_SLP(gpv1-6, INPUT, DOWN);
  957. PIN_SLP(gpv1-7, INPUT, DOWN);
  958. PIN_SLP(gpv2-0, INPUT, DOWN);
  959. PIN_SLP(gpv2-1, INPUT, DOWN);
  960. PIN_SLP(gpv2-2, INPUT, DOWN);
  961. PIN_SLP(gpv2-3, INPUT, DOWN);
  962. PIN_SLP(gpv2-4, INPUT, DOWN);
  963. PIN_SLP(gpv2-5, INPUT, DOWN);
  964. PIN_SLP(gpv2-6, INPUT, DOWN);
  965. PIN_SLP(gpv2-7, INPUT, DOWN);
  966. PIN_SLP(gpv3-0, INPUT, DOWN);
  967. PIN_SLP(gpv3-1, INPUT, DOWN);
  968. PIN_SLP(gpv3-2, INPUT, DOWN);
  969. PIN_SLP(gpv3-3, INPUT, DOWN);
  970. PIN_SLP(gpv3-4, INPUT, DOWN);
  971. PIN_SLP(gpv3-5, INPUT, DOWN);
  972. PIN_SLP(gpv3-6, INPUT, DOWN);
  973. PIN_SLP(gpv3-7, INPUT, DOWN);
  974. PIN_SLP(gpv4-0, INPUT, DOWN);
  975. PIN_SLP(gpv4-1, INPUT, DOWN);
  976. };
  977. };
  978. &pmu_system_controller {
  979. assigned-clocks = <&pmu_system_controller 0>;
  980. assigned-clock-parents = <&clock CLK_XUSBXTI>;
  981. };
  982. &pwm {
  983. pinctrl-0 = <&pwm1_out>;
  984. pinctrl-names = "default";
  985. samsung,pwm-outputs = <1>;
  986. status = "okay";
  987. };
  988. &rtc {
  989. clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
  990. clock-names = "rtc", "rtc_src";
  991. status = "okay";
  992. };
  993. &sdhci_2 {
  994. bus-width = <4>;
  995. cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
  996. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
  997. pinctrl-names = "default";
  998. vmmc-supply = <&ldo21_reg>;
  999. status = "okay";
  1000. };
  1001. &sdhci_3 {
  1002. #address-cells = <1>;
  1003. #size-cells = <0>;
  1004. non-removable;
  1005. bus-width = <4>;
  1006. mmc-pwrseq = <&wlan_pwrseq>;
  1007. pinctrl-names = "default";
  1008. pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_wifi>;
  1009. status = "okay";
  1010. wifi@1 {
  1011. compatible = "brcm,bcm4329-fmac";
  1012. reg = <0x1>;
  1013. pinctrl-names = "default";
  1014. pinctrl-0 = <&wifi_host_wake>;
  1015. interrupt-parent = <&gpx2>;
  1016. interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
  1017. interrupt-names = "host-wake";
  1018. };
  1019. };
  1020. &serial_0 {
  1021. pinctrl-0 = <&uart0_data &uart0_fctl>;
  1022. pinctrl-names = "default";
  1023. status = "okay";
  1024. bluetooth {
  1025. compatible = "brcm,bcm4330-bt";
  1026. pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
  1027. pinctrl-names = "default";
  1028. max-speed = <2000000>;
  1029. shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>;
  1030. device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
  1031. host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
  1032. clocks = <&max77686 MAX77686_CLK_PMIC>;
  1033. clock-names = "lpo";
  1034. };
  1035. };
  1036. &serial_2 {
  1037. pinctrl-0 = <&uart_sel>;
  1038. pinctrl-names = "default";
  1039. status = "okay";
  1040. };
  1041. &tmu {
  1042. status = "okay";
  1043. };