s5pv210-aries.dtsi 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Samsung's S5PV210 based Galaxy Aries board device tree source
  4. */
  5. /dts-v1/;
  6. #include <dt-bindings/gpio/gpio.h>
  7. #include <dt-bindings/interrupt-controller/irq.h>
  8. #include "s5pv210.dtsi"
  9. / {
  10. compatible = "samsung,aries", "samsung,s5pv210";
  11. aliases: aliases {
  12. i2c4 = &i2c_sound;
  13. i2c5 = &i2c_accel;
  14. i2c6 = &i2c_pmic;
  15. i2c7 = &i2c_musb;
  16. i2c9 = &i2c_fuel;
  17. i2c10 = &i2c_touchkey;
  18. i2c11 = &i2c_prox;
  19. i2c12 = &i2c_magnetometer;
  20. };
  21. memory@30000000 {
  22. device_type = "memory";
  23. reg = <0x30000000 0x05000000>,
  24. <0x40000000 0x10000000>,
  25. <0x50000000 0x08000000>;
  26. };
  27. reserved-memory {
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. ranges;
  31. mfc_left: region@43000000 {
  32. compatible = "shared-dma-pool";
  33. no-map;
  34. reg = <0x43000000 0x2000000>;
  35. };
  36. mfc_right: region@51000000 {
  37. compatible = "shared-dma-pool";
  38. no-map;
  39. reg = <0x51000000 0x2000000>;
  40. };
  41. };
  42. pmic_ap_clk: clock-0 {
  43. /* Workaround for missing clock on PMIC */
  44. compatible = "fixed-clock";
  45. #clock-cells = <0>;
  46. clock-frequency = <32768>;
  47. };
  48. bt_codec: bt-sco {
  49. compatible = "linux,bt-sco";
  50. #sound-dai-cells = <0>;
  51. };
  52. vibrator_pwr: regulator-fixed-0 {
  53. compatible = "regulator-fixed";
  54. regulator-name = "vibrator-en";
  55. enable-active-high;
  56. gpio = <&gpj1 1 GPIO_ACTIVE_HIGH>;
  57. pinctrl-names = "default";
  58. pinctrl-0 = <&vibrator_ena>;
  59. };
  60. touchkey_vdd: regulator-fixed-1 {
  61. compatible = "regulator-fixed";
  62. regulator-name = "VTOUCH_3.3V";
  63. regulator-min-microvolt = <3300000>;
  64. regulator-max-microvolt = <3300000>;
  65. enable-active-high;
  66. gpio = <&gpj3 2 GPIO_ACTIVE_HIGH>;
  67. pinctrl-names = "default";
  68. pinctrl-0 = <&touchkey_vdd_ena>;
  69. };
  70. gp2a_vled: regulator-fixed-2 {
  71. compatible = "regulator-fixed";
  72. regulator-name = "VLED";
  73. enable-active-high;
  74. gpio = <&gpj1 4 GPIO_ACTIVE_HIGH>;
  75. regulator-min-microvolt = <2800000>;
  76. regulator-max-microvolt = <2800000>;
  77. pinctrl-names = "default";
  78. pinctrl-0 = <&gp2a_power>;
  79. };
  80. wifi_pwrseq: wifi-pwrseq {
  81. compatible = "mmc-pwrseq-simple";
  82. reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>;
  83. pinctrl-names = "default";
  84. pinctrl-0 = <&wlan_gpio_rst>;
  85. post-power-on-delay-ms = <500>;
  86. power-off-delay-us = <500>;
  87. };
  88. i2c_sound: i2c-gpio-0 {
  89. compatible = "i2c-gpio";
  90. sda-gpios = <&mp05 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  91. scl-gpios = <&mp05 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  92. i2c-gpio,delay-us = <2>;
  93. #address-cells = <1>;
  94. #size-cells = <0>;
  95. pinctrl-names = "default";
  96. pinctrl-0 = <&sound_i2c_pins>;
  97. wm8994: audio-codec@1a {
  98. compatible = "wlf,wm8994";
  99. reg = <0x1a>;
  100. #sound-dai-cells = <0>;
  101. gpio-controller;
  102. #gpio-cells = <2>;
  103. clocks = <&clocks MOUT_CLKOUT>;
  104. clock-names = "MCLK1";
  105. AVDD2-supply = <&buck3_reg>;
  106. DBVDD-supply = <&buck3_reg>;
  107. CPVDD-supply = <&buck3_reg>;
  108. SPKVDD1-supply = <&buck3_reg>;
  109. SPKVDD2-supply = <&buck3_reg>;
  110. wlf,gpio-cfg = <0xa101 0x8100 0x0100 0x0100 0x8100
  111. 0xa101 0x0100 0x8100 0x0100 0x0100
  112. 0x0100>;
  113. wlf,ldo1ena = <&gpf3 4 GPIO_ACTIVE_HIGH>;
  114. wlf,ldo2ena = <&gpf3 4 GPIO_ACTIVE_HIGH>;
  115. wlf,lineout1-se;
  116. wlf,lineout2-se;
  117. assigned-clocks = <&clocks MOUT_CLKOUT>;
  118. assigned-clock-rates = <0>;
  119. assigned-clock-parents = <&xusbxti>;
  120. pinctrl-names = "default";
  121. pinctrl-0 = <&codec_ldo>;
  122. };
  123. };
  124. i2c_accel: i2c-gpio-1 {
  125. compatible = "i2c-gpio";
  126. sda-gpios = <&gpj3 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  127. scl-gpios = <&gpj3 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  128. i2c-gpio,delay-us = <2>;
  129. #address-cells = <1>;
  130. #size-cells = <0>;
  131. pinctrl-names = "default";
  132. pinctrl-0 = <&accel_i2c_pins>;
  133. accelerometer@38 {
  134. compatible = "bosch,bma023";
  135. reg = <0x38>;
  136. vdd-supply = <&ldo9_reg>;
  137. vddio-supply = <&ldo9_reg>;
  138. };
  139. };
  140. i2c_pmic: i2c-gpio-2 {
  141. compatible = "i2c-gpio";
  142. sda-gpios = <&gpj4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  143. scl-gpios = <&gpj4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  144. i2c-gpio,delay-us = <2>;
  145. #address-cells = <1>;
  146. #size-cells = <0>;
  147. pinctrl-names = "default";
  148. pinctrl-0 = <&pmic_i2c_pins>;
  149. pmic@66 {
  150. compatible = "maxim,max8998";
  151. reg = <0x66>;
  152. interrupt-parent = <&gph0>;
  153. interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
  154. max8998,pmic-buck1-default-dvs-idx = <1>;
  155. max8998,pmic-buck1-dvs-gpios = <&gph0 3 GPIO_ACTIVE_HIGH>,
  156. <&gph0 4 GPIO_ACTIVE_HIGH>;
  157. max8998,pmic-buck1-dvs-voltage = <1275000>, <1200000>,
  158. <1050000>, <950000>;
  159. max8998,pmic-buck2-default-dvs-idx = <0>;
  160. max8998,pmic-buck2-dvs-gpio = <&gph0 5 GPIO_ACTIVE_HIGH>;
  161. max8998,pmic-buck2-dvs-voltage = <1100000>, <1000000>;
  162. pinctrl-names = "default";
  163. pinctrl-0 = <&pmic_dvs_pins &pmic_irq>;
  164. regulators {
  165. ldo2_reg: LDO2 {
  166. regulator-name = "VALIVE_1.2V";
  167. regulator-min-microvolt = <1200000>;
  168. regulator-max-microvolt = <1200000>;
  169. regulator-always-on;
  170. regulator-state-mem {
  171. regulator-on-in-suspend;
  172. };
  173. };
  174. ldo3_reg: LDO3 {
  175. regulator-name = "VUSB_1.1V";
  176. regulator-min-microvolt = <1100000>;
  177. regulator-max-microvolt = <1100000>;
  178. regulator-state-mem {
  179. regulator-off-in-suspend;
  180. };
  181. };
  182. ldo4_reg: LDO4 {
  183. regulator-name = "VADC_3.3V";
  184. regulator-min-microvolt = <3300000>;
  185. regulator-max-microvolt = <3300000>;
  186. regulator-state-mem {
  187. regulator-off-in-suspend;
  188. };
  189. };
  190. ldo5_reg: LDO5 {
  191. regulator-name = "VTF_2.8V";
  192. regulator-min-microvolt = <2800000>;
  193. regulator-max-microvolt = <2800000>;
  194. regulator-state-mem {
  195. regulator-off-in-suspend;
  196. };
  197. };
  198. ldo6_reg: LDO6 {
  199. regulator-name = "LDO6";
  200. regulator-min-microvolt = <1600000>;
  201. regulator-max-microvolt = <3600000>;
  202. };
  203. ldo7_reg: LDO7 {
  204. regulator-name = "VLCD_1.8V";
  205. regulator-min-microvolt = <1800000>;
  206. regulator-max-microvolt = <1800000>;
  207. regulator-state-mem {
  208. regulator-off-in-suspend;
  209. };
  210. };
  211. ldo8_reg: LDO8 {
  212. regulator-name = "VUSB_3.3V";
  213. regulator-min-microvolt = <3300000>;
  214. regulator-max-microvolt = <3300000>;
  215. regulator-state-mem {
  216. regulator-off-in-suspend;
  217. };
  218. };
  219. ldo9_reg: LDO9 {
  220. regulator-name = "VCC_2.8V_PDA";
  221. regulator-min-microvolt = <2800000>;
  222. regulator-max-microvolt = <2800000>;
  223. regulator-always-on;
  224. };
  225. ldo10_reg: LDO10 {
  226. regulator-name = "VPLL_1.2V";
  227. regulator-min-microvolt = <1200000>;
  228. regulator-max-microvolt = <1200000>;
  229. regulator-always-on;
  230. regulator-state-mem {
  231. regulator-on-in-suspend;
  232. };
  233. };
  234. ldo11_reg: LDO11 {
  235. regulator-name = "CAM_AF_3.0V";
  236. regulator-min-microvolt = <3000000>;
  237. regulator-max-microvolt = <3000000>;
  238. regulator-state-mem {
  239. regulator-off-in-suspend;
  240. };
  241. };
  242. ldo12_reg: LDO12 {
  243. regulator-name = "CAM_SENSOR_CORE_1.2V";
  244. regulator-min-microvolt = <1200000>;
  245. regulator-max-microvolt = <1200000>;
  246. regulator-state-mem {
  247. regulator-off-in-suspend;
  248. };
  249. };
  250. ldo13_reg: LDO13 {
  251. regulator-name = "VGA_VDDIO_2.8V";
  252. regulator-min-microvolt = <2800000>;
  253. regulator-max-microvolt = <2800000>;
  254. regulator-state-mem {
  255. regulator-off-in-suspend;
  256. };
  257. };
  258. ldo14_reg: LDO14 {
  259. regulator-name = "VGA_DVDD_1.8V";
  260. regulator-min-microvolt = <1800000>;
  261. regulator-max-microvolt = <1800000>;
  262. regulator-state-mem {
  263. regulator-off-in-suspend;
  264. };
  265. };
  266. ldo15_reg: LDO15 {
  267. regulator-name = "CAM_ISP_HOST_2.8V";
  268. regulator-min-microvolt = <2800000>;
  269. regulator-max-microvolt = <2800000>;
  270. regulator-state-mem {
  271. regulator-off-in-suspend;
  272. };
  273. };
  274. ldo16_reg: LDO16 {
  275. regulator-name = "VGA_AVDD_2.8V";
  276. regulator-min-microvolt = <2800000>;
  277. regulator-max-microvolt = <2800000>;
  278. regulator-state-mem {
  279. regulator-off-in-suspend;
  280. };
  281. };
  282. ldo17_reg: LDO17 {
  283. regulator-name = "VCC_3.0V_LCD";
  284. regulator-min-microvolt = <3000000>;
  285. regulator-max-microvolt = <3000000>;
  286. regulator-state-mem {
  287. regulator-off-in-suspend;
  288. };
  289. };
  290. buck1_reg: BUCK1 {
  291. regulator-name = "vddarm";
  292. regulator-min-microvolt = <750000>;
  293. regulator-max-microvolt = <1500000>;
  294. regulator-state-mem {
  295. regulator-off-in-suspend;
  296. regulator-suspend-microvolt = <1250000>;
  297. };
  298. };
  299. buck2_reg: BUCK2 {
  300. regulator-name = "vddint";
  301. regulator-min-microvolt = <750000>;
  302. regulator-max-microvolt = <1500000>;
  303. regulator-state-mem {
  304. regulator-off-in-suspend;
  305. regulator-suspend-microvolt = <1100000>;
  306. };
  307. };
  308. buck3_reg: BUCK3 {
  309. regulator-name = "VCC_1.8V";
  310. regulator-min-microvolt = <1800000>;
  311. regulator-max-microvolt = <1800000>;
  312. regulator-always-on;
  313. };
  314. buck4_reg: BUCK4 {
  315. regulator-name = "CAM_ISP_CORE_1.2V";
  316. regulator-min-microvolt = <1200000>;
  317. regulator-max-microvolt = <1200000>;
  318. regulator-state-mem {
  319. regulator-off-in-suspend;
  320. };
  321. };
  322. ap32khz_reg: EN32KHz-AP {
  323. regulator-name = "32KHz AP";
  324. regulator-always-on;
  325. };
  326. cp32khz_reg: EN32KHz-CP {
  327. regulator-name = "32KHz CP";
  328. };
  329. vichg_reg: ENVICHG {
  330. regulator-name = "VICHG";
  331. regulator-always-on;
  332. };
  333. safe1_sreg: ESAFEOUT1 {
  334. regulator-name = "SAFEOUT1";
  335. };
  336. safe2_sreg: ESAFEOUT2 {
  337. regulator-name = "SAFEOUT2";
  338. };
  339. };
  340. };
  341. };
  342. i2c_musb: i2c-gpio-3 {
  343. compatible = "i2c-gpio";
  344. sda-gpios = <&gpj3 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  345. scl-gpios = <&gpj3 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  346. i2c-gpio,delay-us = <2>;
  347. #address-cells = <1>;
  348. #size-cells = <0>;
  349. pinctrl-names = "default";
  350. pinctrl-0 = <&musb_i2c_pins>;
  351. fsa9480: musb@25 {
  352. compatible = "fcs,fsa9480";
  353. reg = <0x25>;
  354. interrupt-parent = <&gph2>;
  355. interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
  356. pinctrl-names = "default";
  357. pinctrl-0 = <&musb_irq>;
  358. };
  359. };
  360. i2c_fuel: i2c-gpio-4 {
  361. compatible = "i2c-gpio";
  362. sda-gpios = <&mp05 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  363. scl-gpios = <&mp05 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  364. i2c-gpio,delay-us = <2>;
  365. #address-cells = <1>;
  366. #size-cells = <0>;
  367. pinctrl-names = "default";
  368. pinctrl-0 = <&fg_i2c_pins>;
  369. fg: fuelgauge@36 {
  370. compatible = "maxim,max17040";
  371. reg = <0x36>;
  372. };
  373. };
  374. i2c_touchkey: i2c-gpio-5 {
  375. compatible = "i2c-gpio";
  376. sda-gpios = <&gpj3 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  377. scl-gpios = <&gpj3 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  378. i2c-gpio,delay-us = <2>;
  379. #address-cells = <1>;
  380. #size-cells = <0>;
  381. pinctrl-names = "default";
  382. pinctrl-0 = <&touchkey_i2c_pins>;
  383. touchkey@20 {
  384. compatible = "cypress,aries-touchkey";
  385. reg = <0x20>;
  386. vdd-supply = <&touchkey_vdd>;
  387. vcc-supply = <&buck3_reg>;
  388. linux,keycodes = <KEY_MENU KEY_BACK
  389. KEY_HOMEPAGE KEY_SEARCH>;
  390. interrupt-parent = <&gpj4>;
  391. interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
  392. pinctrl-names = "default";
  393. pinctrl-0 = <&touchkey_irq>;
  394. };
  395. };
  396. i2c_prox: i2c-gpio-6 {
  397. compatible = "i2c-gpio";
  398. sda-gpios = <&gpg2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  399. scl-gpios = <&gpg0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  400. i2c-gpio,delay-us = <2>;
  401. #address-cells = <1>;
  402. #size-cells = <0>;
  403. pinctrl-names = "default";
  404. pinctrl-0 = <&prox_i2c_pins>;
  405. light-sensor@44 {
  406. compatible = "sharp,gp2ap002a00f";
  407. reg = <0x44>;
  408. interrupt-parent = <&gph0>;
  409. interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
  410. vdd-supply = <&gp2a_vled>;
  411. vio-supply = <&gp2a_vled>;
  412. io-channels = <&gp2a_shunt>;
  413. io-channel-names = "alsout";
  414. sharp,proximity-far-hysteresis = /bits/ 8 <0x40>;
  415. sharp,proximity-close-hysteresis = /bits/ 8 <0x20>;
  416. pinctrl-names = "default";
  417. pinctrl-0 = <&gp2a_irq>;
  418. };
  419. };
  420. i2c_magnetometer: i2c-gpio-7 {
  421. compatible = "i2c-gpio";
  422. sda-gpios = <&gpj0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  423. scl-gpios = <&gpj0 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  424. i2c-gpio,delay-us = <2>;
  425. #address-cells = <1>;
  426. #size-cells = <0>;
  427. pinctrl-names = "default";
  428. pinctrl-0 = <&magnetometer_i2c_pins>;
  429. status = "disabled";
  430. /* Yamaha yas529 magnetometer, no mainline binding */
  431. };
  432. vibrator: pwm-vibrator {
  433. compatible = "pwm-vibrator";
  434. pwms = <&pwm 1 44642 0>;
  435. pwm-names = "enable";
  436. vcc-supply = <&vibrator_pwr>;
  437. pinctrl-names = "default";
  438. pinctrl-0 = <&pwm1_out>;
  439. };
  440. poweroff: syscon-poweroff {
  441. compatible = "syscon-poweroff";
  442. regmap = <&pmu_syscon>;
  443. offset = <0x681c>; /* PS_HOLD_CONTROL */
  444. value = <0x5200>;
  445. };
  446. spi_lcd: spi-2 {
  447. compatible = "spi-gpio";
  448. #address-cells = <1>;
  449. #size-cells = <0>;
  450. sck-gpios = <&mp04 1 GPIO_ACTIVE_HIGH>;
  451. mosi-gpios = <&mp04 3 GPIO_ACTIVE_HIGH>;
  452. cs-gpios = <&mp01 1 GPIO_ACTIVE_HIGH>;
  453. num-chipselects = <1>;
  454. pinctrl-names = "default";
  455. pinctrl-0 = <&lcd_spi_pins>;
  456. panel@0 {
  457. compatible = "samsung,s6e63m0";
  458. reg = <0>;
  459. reset-gpios = <&mp05 5 GPIO_ACTIVE_LOW>;
  460. vdd3-supply = <&ldo7_reg>;
  461. vci-supply = <&ldo17_reg>;
  462. spi-max-frequency = <1200000>;
  463. pinctrl-names = "default";
  464. pinctrl-0 = <&panel_rst>;
  465. port {
  466. lcd_ep: endpoint {
  467. remote-endpoint = <&fimd_ep>;
  468. };
  469. };
  470. };
  471. };
  472. };
  473. &adc {
  474. vdd-supply = <&ldo4_reg>;
  475. status = "okay";
  476. gp2a_shunt: current-sense-shunt {
  477. compatible = "current-sense-shunt";
  478. io-channels = <&adc 9>;
  479. shunt-resistor-micro-ohms = <47000000>; /* 47 ohms */
  480. #io-channel-cells = <0>;
  481. };
  482. };
  483. &fimd {
  484. pinctrl-names = "default";
  485. pinctrl-0 = <&lcd_clk &lcd_data24>;
  486. status = "okay";
  487. samsung,invert-vden;
  488. samsung,invert-vclk;
  489. #address-cells = <1>;
  490. #size-cells = <0>;
  491. port@3 {
  492. reg = <3>;
  493. fimd_ep: endpoint {
  494. remote-endpoint = <&lcd_ep>;
  495. };
  496. };
  497. };
  498. &hsotg {
  499. vusb_a-supply = <&ldo8_reg>;
  500. vusb_d-supply = <&ldo3_reg>;
  501. dr_mode = "peripheral";
  502. status = "okay";
  503. };
  504. &i2c2 {
  505. samsung,i2c-sda-delay = <100>;
  506. samsung,i2c-max-bus-freq = <400000>;
  507. samsung,i2c-slave-addr = <0x10>;
  508. status = "okay";
  509. touchscreen@4a {
  510. compatible = "atmel,maxtouch";
  511. reg = <0x4a>;
  512. interrupt-parent = <&gpj0>;
  513. interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
  514. pinctrl-names = "default";
  515. pinctrl-0 = <&ts_irq>;
  516. reset-gpios = <&gpj1 3 GPIO_ACTIVE_LOW>;
  517. };
  518. };
  519. &i2s0 {
  520. dmas = <&pdma0 10>, <&pdma0 9>, <&pdma0 11>;
  521. status = "okay";
  522. };
  523. &mfc {
  524. memory-region = <&mfc_left>, <&mfc_right>;
  525. };
  526. &pinctrl0 {
  527. bt_reset: bt-reset-pins {
  528. samsung,pins = "gpb-3";
  529. samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
  530. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  531. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  532. };
  533. wlan_bt_en: wlan-bt-en-pins {
  534. samsung,pins = "gpb-5";
  535. samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
  536. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  537. samsung,pin-val = <1>;
  538. };
  539. codec_ldo: codec-ldo-pins {
  540. samsung,pins = "gpf3-4";
  541. samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
  542. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  543. };
  544. prox_i2c_pins: gp2a-i2c-pins {
  545. samsung,pins = "gpg0-2", "gpg2-2";
  546. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  547. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  548. };
  549. wlan_gpio_rst: wlan-gpio-rst-pins {
  550. samsung,pins = "gpg1-2";
  551. samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
  552. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  553. };
  554. bt_wake: bt-wake-pins {
  555. samsung,pins = "gpg3-4";
  556. samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
  557. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  558. };
  559. gp2a_irq: gp2a-irq-pins {
  560. samsung,pins = "gph0-2";
  561. samsung,pin-function = <S5PV210_PIN_FUNC_F>;
  562. samsung,pin-pud = <S5PV210_PIN_PULL_DOWN>;
  563. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  564. };
  565. pmic_dvs_pins: pmic-dvs-pins {
  566. samsung,pins = "gph0-3", "gph0-4", "gph0-5";
  567. samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
  568. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  569. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  570. samsung,pin-val = <0>;
  571. };
  572. pmic_irq: pmic-irq-pins {
  573. samsung,pins = "gph0-7";
  574. samsung,pin-function = <S5PV210_PIN_FUNC_F>;
  575. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  576. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  577. };
  578. wifi_host_wake: wifi-host-wake-pins {
  579. samsung,pins = "gph2-4";
  580. samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>;
  581. samsung,pin-pud = <S5PV210_PIN_PULL_DOWN>;
  582. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  583. };
  584. bt_host_wake: bt-host-wake-pins {
  585. samsung,pins = "gph2-5";
  586. samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>;
  587. samsung,pin-pud = <S5PV210_PIN_PULL_DOWN>;
  588. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  589. };
  590. musb_irq: musq-irq-pins {
  591. samsung,pins = "gph2-7";
  592. samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>;
  593. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  594. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  595. };
  596. tf_detect: tf-detect-pins {
  597. samsung,pins = "gph3-4";
  598. samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>;
  599. samsung,pin-pud = <S5PV210_PIN_PULL_DOWN>;
  600. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  601. };
  602. wifi_wake: wifi-wake-pins {
  603. samsung,pins = "gph3-5";
  604. samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
  605. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  606. };
  607. magnetometer_i2c_pins: yas529-i2c-pins {
  608. samsung,pins = "gpj0-0", "gpj0-1";
  609. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  610. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  611. };
  612. ts_irq: ts-irq-pins {
  613. samsung,pins = "gpj0-5";
  614. samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>;
  615. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  616. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  617. };
  618. vibrator_ena: vibrator-ena-pins {
  619. samsung,pins = "gpj1-1";
  620. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  621. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  622. };
  623. gp2a_power: gp2a-power-pins {
  624. samsung,pins = "gpj1-4";
  625. samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>;
  626. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  627. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  628. };
  629. touchkey_i2c_pins: touchkey-i2c-pins {
  630. samsung,pins = "gpj3-0", "gpj3-1";
  631. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  632. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  633. };
  634. touchkey_vdd_ena: touchkey-vdd-ena-pins {
  635. samsung,pins = "gpj3-2";
  636. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  637. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  638. };
  639. musb_i2c_pins: musb-i2c-pins {
  640. samsung,pins = "gpj3-4", "gpj3-5";
  641. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  642. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  643. };
  644. accel_i2c_pins: accel-i2c-pins {
  645. samsung,pins = "gpj3-6", "gpj3-7";
  646. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  647. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  648. };
  649. pmic_i2c_pins: pmic-i2c-pins {
  650. samsung,pins = "gpj4-0", "gpj4-3";
  651. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  652. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  653. };
  654. touchkey_irq: touchkey-irq-pins {
  655. samsung,pins = "gpj4-1";
  656. samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>;
  657. samsung,pin-pud = <S5PV210_PIN_PULL_UP>;
  658. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  659. };
  660. lcd_spi_pins: spi-lcd-pins {
  661. samsung,pins = "mp01-1", "mp04-1", "mp04-3";
  662. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  663. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  664. };
  665. fg_i2c_pins: fg-i2c-pins {
  666. samsung,pins = "mp05-0", "mp05-1";
  667. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  668. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  669. };
  670. sound_i2c_pins: sound-i2c-pins {
  671. samsung,pins = "mp05-2", "mp05-3";
  672. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  673. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  674. };
  675. panel_rst: panel-rst-pins {
  676. samsung,pins = "mp05-5";
  677. samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;
  678. samsung,pin-drv = <S5PV210_PIN_DRV_LV1>;
  679. };
  680. };
  681. &pwm {
  682. samsung,pwm-outputs = <1>;
  683. };
  684. &rtc {
  685. clocks = <&clocks CLK_RTC>, <&pmic_ap_clk>;
  686. clock-names = "rtc", "rtc_src";
  687. };
  688. &sdhci1 {
  689. #address-cells = <1>;
  690. #size-cells = <0>;
  691. bus-width = <4>;
  692. max-frequency = <38400000>;
  693. pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4 &wifi_wake &wifi_host_wake &wlan_bt_en>;
  694. pinctrl-names = "default";
  695. cap-sd-highspeed;
  696. cap-mmc-highspeed;
  697. keep-power-in-suspend;
  698. mmc-pwrseq = <&wifi_pwrseq>;
  699. non-removable;
  700. status = "okay";
  701. assigned-clocks = <&clocks MOUT_MMC1>, <&clocks SCLK_MMC1>;
  702. assigned-clock-rates = <0>, <50000000>;
  703. assigned-clock-parents = <&clocks MOUT_MPLL>;
  704. wlan@1 {
  705. reg = <1>;
  706. compatible = "brcm,bcm4329-fmac";
  707. interrupt-parent = <&gph2>;
  708. interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
  709. interrupt-names = "host-wake";
  710. };
  711. };
  712. &sdhci2 {
  713. bus-width = <4>;
  714. cd-gpios = <&gph3 4 GPIO_ACTIVE_LOW>;
  715. vmmc-supply = <&ldo5_reg>;
  716. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &tf_detect>;
  717. pinctrl-names = "default";
  718. status = "okay";
  719. assigned-clocks = <&clocks MOUT_MMC2>, <&clocks SCLK_MMC2>;
  720. assigned-clock-rates = <0>, <50000000>;
  721. assigned-clock-parents = <&clocks MOUT_MPLL>;
  722. };
  723. &uart0 {
  724. assigned-clocks = <&clocks MOUT_UART0>, <&clocks SCLK_UART0>;
  725. assigned-clock-rates = <0>, <111166667>;
  726. assigned-clock-parents = <&clocks MOUT_MPLL>;
  727. status = "okay";
  728. bluetooth {
  729. compatible = "brcm,bcm4329-bt";
  730. max-speed = <3000000>;
  731. pinctrl-names = "default";
  732. pinctrl-0 = <&uart0_data &uart0_fctl &bt_host_wake
  733. &bt_reset &bt_wake>;
  734. shutdown-gpios = <&gpb 3 GPIO_ACTIVE_HIGH>;
  735. device-wakeup-gpios = <&gpg3 4 GPIO_ACTIVE_HIGH>;
  736. interrupt-parent = <&gph2>;
  737. interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
  738. interrupt-names = "host-wakeup";
  739. };
  740. };
  741. &uart1 {
  742. status = "okay";
  743. };
  744. &uart2 {
  745. status = "okay";
  746. };
  747. &usbphy {
  748. status = "okay";
  749. vbus-supply = <&safe1_sreg>;
  750. };
  751. &xusbxti {
  752. clock-frequency = <24000000>;
  753. };