exynos3250-monk.dts 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Samsung's Exynos3250 based Monk board device tree source
  4. *
  5. * Copyright (c) 2014 Samsung Electronics Co., Ltd.
  6. * http://www.samsung.com
  7. *
  8. * Device tree source file for Samsung's Monk board which is based on
  9. * Samsung Exynos3250 SoC.
  10. */
  11. /dts-v1/;
  12. #include "exynos3250.dtsi"
  13. #include "exynos4412-ppmu-common.dtsi"
  14. #include <dt-bindings/input/input.h>
  15. #include <dt-bindings/gpio/gpio.h>
  16. #include <dt-bindings/clock/samsung,s2mps11.h>
  17. / {
  18. model = "Samsung Monk board";
  19. compatible = "samsung,monk", "samsung,exynos3250", "samsung,exynos3";
  20. aliases {
  21. i2c7 = &i2c_max77836;
  22. };
  23. memory@40000000 {
  24. device_type = "memory";
  25. reg = <0x40000000 0x1ff00000>;
  26. };
  27. firmware@205f000 {
  28. compatible = "samsung,secure-firmware";
  29. reg = <0x0205F000 0x1000>;
  30. };
  31. gpio-keys {
  32. compatible = "gpio-keys";
  33. power-key {
  34. gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
  35. linux,code = <KEY_POWER>;
  36. label = "power key";
  37. debounce-interval = <10>;
  38. wakeup-source;
  39. };
  40. };
  41. vemmc_reg: voltage-regulator-0 {
  42. compatible = "regulator-fixed";
  43. regulator-name = "V_EMMC_2.8V-fixed";
  44. regulator-min-microvolt = <2800000>;
  45. regulator-max-microvolt = <2800000>;
  46. gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
  47. enable-active-high;
  48. };
  49. i2c_max77836: i2c-gpio-0 {
  50. compatible = "i2c-gpio";
  51. sda-gpios = <&gpd0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  52. scl-gpios = <&gpd0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  53. #address-cells = <1>;
  54. #size-cells = <0>;
  55. max77836: pmic@25 {
  56. compatible = "maxim,max77836";
  57. interrupt-parent = <&gpx1>;
  58. interrupts = <5 IRQ_TYPE_NONE>;
  59. reg = <0x25>;
  60. wakeup-source;
  61. extcon {
  62. compatible = "maxim,max77836-muic";
  63. };
  64. regulators {
  65. compatible = "maxim,max77836-regulator";
  66. safeout_reg: SAFEOUT {
  67. regulator-name = "SAFEOUT";
  68. };
  69. charger_reg: CHARGER {
  70. regulator-name = "CHARGER";
  71. regulator-min-microamp = <45000>;
  72. regulator-max-microamp = <475000>;
  73. regulator-boot-on;
  74. };
  75. motor_reg: LDO1 {
  76. regulator-name = "MOT_2.7V";
  77. regulator-min-microvolt = <1100000>;
  78. regulator-max-microvolt = <2700000>;
  79. };
  80. LDO2 {
  81. regulator-name = "UNUSED_LDO2";
  82. regulator-min-microvolt = <800000>;
  83. regulator-max-microvolt = <3950000>;
  84. };
  85. };
  86. charger {
  87. compatible = "maxim,max77836-charger";
  88. maxim,constant-uvolt = <4350000>;
  89. maxim,fast-charge-uamp = <225000>;
  90. maxim,eoc-uamp = <7500>;
  91. maxim,ovp-uvolt = <6500000>;
  92. };
  93. };
  94. };
  95. haptics {
  96. compatible = "regulator-haptic";
  97. haptic-supply = <&motor_reg>;
  98. min-microvolt = <1100000>;
  99. max-microvolt = <2700000>;
  100. };
  101. thermal-zones {
  102. cpu_thermal: cpu-thermal {
  103. cooling-maps {
  104. map0 {
  105. /* Correspond to 500MHz at freq_table */
  106. cooling-device = <&cpu0 5 5>,
  107. <&cpu1 5 5>;
  108. };
  109. map1 {
  110. /* Correspond to 200MHz at freq_table */
  111. cooling-device = <&cpu0 8 8>,
  112. <&cpu1 8 8>;
  113. };
  114. };
  115. };
  116. };
  117. };
  118. &adc {
  119. vdd-supply = <&ldo3_reg>;
  120. status = "okay";
  121. assigned-clocks = <&cmu CLK_SCLK_TSADC>;
  122. assigned-clock-rates = <6000000>;
  123. thermistor-ap {
  124. compatible = "murata,ncp15wb473";
  125. pullup-uv = <1800000>;
  126. pullup-ohm = <100000>;
  127. pulldown-ohm = <100000>;
  128. io-channels = <&adc 0>;
  129. };
  130. thermistor-battery {
  131. compatible = "murata,ncp15wb473";
  132. pullup-uv = <1800000>;
  133. pullup-ohm = <100000>;
  134. pulldown-ohm = <100000>;
  135. io-channels = <&adc 1>;
  136. };
  137. };
  138. &bus_dmc {
  139. devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
  140. vdd-supply = <&buck1_reg>;
  141. status = "okay";
  142. };
  143. &cmu {
  144. clocks = <&xusbxti>;
  145. };
  146. &cpu0 {
  147. cpu0-supply = <&buck2_reg>;
  148. };
  149. &exynos_usbphy {
  150. vbus-supply = <&safeout_reg>;
  151. status = "okay";
  152. };
  153. &gpu {
  154. mali-supply = <&buck3_reg>;
  155. status = "okay";
  156. };
  157. &hsotg {
  158. vusb_d-supply = <&ldo15_reg>;
  159. vusb_a-supply = <&ldo12_reg>;
  160. dr_mode = "peripheral";
  161. status = "okay";
  162. };
  163. &i2c_0 {
  164. #address-cells = <1>;
  165. #size-cells = <0>;
  166. samsung,i2c-sda-delay = <100>;
  167. samsung,i2c-slave-addr = <0x10>;
  168. samsung,i2c-max-bus-freq = <100000>;
  169. status = "okay";
  170. pmic@66 {
  171. compatible = "samsung,s2mps14-pmic";
  172. interrupt-parent = <&gpx0>;
  173. interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
  174. reg = <0x66>;
  175. wakeup-source;
  176. s2mps14_osc: clocks {
  177. compatible = "samsung,s2mps14-clk";
  178. #clock-cells = <1>;
  179. clock-output-names = "s2mps14_ap", "unused",
  180. "s2mps14_bt";
  181. };
  182. regulators {
  183. ldo1_reg: LDO1 {
  184. regulator-name = "VAP_ALIVE_1.0V";
  185. regulator-min-microvolt = <1000000>;
  186. regulator-max-microvolt = <1000000>;
  187. regulator-always-on;
  188. };
  189. ldo2_reg: LDO2 {
  190. regulator-name = "VAP_M1_1.2V";
  191. regulator-min-microvolt = <1200000>;
  192. regulator-max-microvolt = <1200000>;
  193. regulator-always-on;
  194. };
  195. ldo3_reg: LDO3 {
  196. regulator-name = "VCC_AP_1.8V";
  197. regulator-min-microvolt = <1800000>;
  198. regulator-max-microvolt = <1800000>;
  199. regulator-always-on;
  200. };
  201. ldo4_reg: LDO4 {
  202. regulator-name = "VAP_AVDD_PLL1";
  203. regulator-min-microvolt = <1800000>;
  204. regulator-max-microvolt = <1800000>;
  205. regulator-always-on;
  206. };
  207. ldo5_reg: LDO5 {
  208. regulator-name = "VAP_PLL_ISO_1.0V";
  209. regulator-min-microvolt = <1000000>;
  210. regulator-max-microvolt = <1000000>;
  211. regulator-always-on;
  212. };
  213. ldo6_reg: LDO6 {
  214. regulator-name = "VAP_MIPI_1.0V";
  215. regulator-min-microvolt = <1000000>;
  216. regulator-max-microvolt = <1000000>;
  217. };
  218. ldo7_reg: LDO7 {
  219. regulator-name = "VAP_AVDD_1.8V";
  220. regulator-min-microvolt = <1800000>;
  221. regulator-max-microvolt = <1800000>;
  222. regulator-always-on;
  223. };
  224. ldo8_reg: LDO8 {
  225. regulator-name = "VAP_USB_3.0V";
  226. regulator-min-microvolt = <3000000>;
  227. regulator-max-microvolt = <3000000>;
  228. regulator-always-on;
  229. };
  230. ldo9_reg: LDO9 {
  231. regulator-name = "V_LPDDR_1.2V";
  232. regulator-min-microvolt = <1200000>;
  233. regulator-max-microvolt = <1200000>;
  234. regulator-always-on;
  235. };
  236. ldo10_reg: LDO10 {
  237. regulator-name = "UNUSED_LDO10";
  238. regulator-min-microvolt = <1000000>;
  239. regulator-max-microvolt = <1000000>;
  240. };
  241. ldo11_reg: LDO11 {
  242. regulator-name = "V_EMMC_1.8V";
  243. regulator-min-microvolt = <1800000>;
  244. regulator-max-microvolt = <1800000>;
  245. samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
  246. };
  247. ldo12_reg: LDO12 {
  248. regulator-name = "V_EMMC_2.8V";
  249. regulator-min-microvolt = <2800000>;
  250. regulator-max-microvolt = <2800000>;
  251. samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
  252. };
  253. ldo13_reg: LDO13 {
  254. regulator-name = "VSENSOR_2.85V";
  255. regulator-min-microvolt = <2850000>;
  256. regulator-max-microvolt = <2850000>;
  257. regulator-always-on;
  258. };
  259. ldo14_reg: LDO14 {
  260. regulator-name = "UNUSED_LDO14";
  261. regulator-min-microvolt = <1800000>;
  262. regulator-max-microvolt = <1800000>;
  263. };
  264. ldo15_reg: LDO15 {
  265. regulator-name = "TSP_AVDD_3.3V";
  266. regulator-min-microvolt = <3300000>;
  267. regulator-max-microvolt = <3300000>;
  268. };
  269. ldo16_reg: LDO16 {
  270. regulator-name = "LCD_VDD_3.3V";
  271. regulator-min-microvolt = <3300000>;
  272. regulator-max-microvolt = <3300000>;
  273. };
  274. ldo17_reg: LDO17 {
  275. regulator-name = "UNUSED_LDO17";
  276. regulator-min-microvolt = <1800000>;
  277. regulator-max-microvolt = <1800000>;
  278. };
  279. ldo18_reg: LDO18 {
  280. regulator-name = "UNUSED_LDO18";
  281. regulator-min-microvolt = <1800000>;
  282. regulator-max-microvolt = <1800000>;
  283. };
  284. ldo19_reg: LDO19 {
  285. regulator-name = "TSP_VDD_1.8V";
  286. regulator-min-microvolt = <1800000>;
  287. regulator-max-microvolt = <1800000>;
  288. };
  289. ldo20_reg: LDO20 {
  290. regulator-name = "LCD_VDD_1.8V";
  291. regulator-min-microvolt = <1800000>;
  292. regulator-max-microvolt = <1800000>;
  293. };
  294. ldo21_reg: LDO21 {
  295. regulator-name = "UNUSED_LDO21";
  296. regulator-min-microvolt = <1000000>;
  297. regulator-max-microvolt = <1000000>;
  298. };
  299. ldo22_reg: LDO22 {
  300. regulator-name = "UNUSED_LDO22";
  301. regulator-min-microvolt = <1000000>;
  302. regulator-max-microvolt = <1000000>;
  303. };
  304. ldo23_reg: LDO23 {
  305. regulator-name = "UNUSED_LDO23";
  306. regulator-min-microvolt = <1000000>;
  307. regulator-max-microvolt = <1000000>;
  308. regulator-always-on;
  309. };
  310. ldo24_reg: LDO24 {
  311. regulator-name = "UNUSED_LDO24";
  312. regulator-min-microvolt = <1800000>;
  313. regulator-max-microvolt = <1800000>;
  314. };
  315. ldo25_reg: LDO25 {
  316. regulator-name = "UNUSED_LDO25";
  317. regulator-min-microvolt = <1800000>;
  318. regulator-max-microvolt = <1800000>;
  319. };
  320. buck1_reg: BUCK1 {
  321. regulator-name = "VAP_MIF_1.0V";
  322. regulator-min-microvolt = <800000>;
  323. regulator-max-microvolt = <900000>;
  324. regulator-always-on;
  325. };
  326. buck2_reg: BUCK2 {
  327. regulator-name = "VAP_ARM_1.0V";
  328. regulator-min-microvolt = <850000>;
  329. regulator-max-microvolt = <1150000>;
  330. regulator-always-on;
  331. };
  332. buck3_reg: BUCK3 {
  333. regulator-name = "VAP_INT3D_1.0V";
  334. regulator-min-microvolt = <850000>;
  335. regulator-max-microvolt = <1000000>;
  336. regulator-always-on;
  337. };
  338. buck4_reg: BUCK4 {
  339. regulator-name = "VCC_SUB_1.95V";
  340. regulator-min-microvolt = <1950000>;
  341. regulator-max-microvolt = <1950000>;
  342. regulator-always-on;
  343. };
  344. buck5_reg: BUCK5 {
  345. regulator-name = "VCC_SUB_1.35V";
  346. regulator-min-microvolt = <1350000>;
  347. regulator-max-microvolt = <1350000>;
  348. regulator-always-on;
  349. };
  350. };
  351. };
  352. };
  353. &i2c_1 {
  354. #address-cells = <1>;
  355. #size-cells = <0>;
  356. samsung,i2c-sda-delay = <100>;
  357. samsung,i2c-slave-addr = <0x10>;
  358. samsung,i2c-max-bus-freq = <400000>;
  359. status = "okay";
  360. fuelgauge@36 {
  361. compatible = "maxim,max77836-battery";
  362. interrupt-parent = <&gpx1>;
  363. interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  364. reg = <0x36>;
  365. };
  366. };
  367. &i2s2 {
  368. status = "okay";
  369. };
  370. &mshc_0 {
  371. #address-cells = <1>;
  372. #size-cells = <0>;
  373. broken-cd;
  374. non-removable;
  375. cap-mmc-highspeed;
  376. desc-num = <4>;
  377. mmc-hs200-1_8v;
  378. card-detect-delay = <200>;
  379. vmmc-supply = <&vemmc_reg>;
  380. clock-frequency = <100000000>;
  381. max-frequency = <100000000>;
  382. samsung,dw-mshc-ciu-div = <1>;
  383. samsung,dw-mshc-sdr-timing = <0 1>;
  384. samsung,dw-mshc-ddr-timing = <1 2>;
  385. pinctrl-names = "default";
  386. pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
  387. bus-width = <8>;
  388. status = "okay";
  389. };
  390. &serial_0 {
  391. assigned-clocks = <&cmu CLK_SCLK_UART0>;
  392. assigned-clock-rates = <100000000>;
  393. status = "okay";
  394. };
  395. &serial_1 {
  396. status = "okay";
  397. };
  398. &tmu {
  399. vtmu-supply = <&ldo7_reg>;
  400. status = "okay";
  401. };
  402. &rtc {
  403. clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
  404. clock-names = "rtc", "rtc_src";
  405. status = "okay";
  406. };
  407. &xusbxti {
  408. clock-frequency = <24000000>;
  409. };
  410. &pinctrl_0 {
  411. pinctrl-names = "default";
  412. pinctrl-0 = <&sleep0>;
  413. sleep0: sleep-state {
  414. PIN_SLP(gpa0-0, INPUT, DOWN);
  415. PIN_SLP(gpa0-1, INPUT, DOWN);
  416. PIN_SLP(gpa0-2, INPUT, DOWN);
  417. PIN_SLP(gpa0-3, INPUT, DOWN);
  418. PIN_SLP(gpa0-4, INPUT, DOWN);
  419. PIN_SLP(gpa0-5, INPUT, DOWN);
  420. PIN_SLP(gpa0-6, INPUT, DOWN);
  421. PIN_SLP(gpa0-7, INPUT, DOWN);
  422. PIN_SLP(gpa1-0, INPUT, DOWN);
  423. PIN_SLP(gpa1-1, INPUT, DOWN);
  424. PIN_SLP(gpa1-2, INPUT, DOWN);
  425. PIN_SLP(gpa1-3, INPUT, DOWN);
  426. PIN_SLP(gpa1-4, INPUT, DOWN);
  427. PIN_SLP(gpa1-5, INPUT, DOWN);
  428. PIN_SLP(gpb-0, PREV, NONE);
  429. PIN_SLP(gpb-1, PREV, NONE);
  430. PIN_SLP(gpb-2, PREV, NONE);
  431. PIN_SLP(gpb-3, PREV, NONE);
  432. PIN_SLP(gpb-4, INPUT, DOWN);
  433. PIN_SLP(gpb-5, INPUT, DOWN);
  434. PIN_SLP(gpb-6, INPUT, DOWN);
  435. PIN_SLP(gpb-7, INPUT, DOWN);
  436. PIN_SLP(gpc0-0, INPUT, DOWN);
  437. PIN_SLP(gpc0-1, INPUT, DOWN);
  438. PIN_SLP(gpc0-2, INPUT, DOWN);
  439. PIN_SLP(gpc0-3, INPUT, DOWN);
  440. PIN_SLP(gpc0-4, INPUT, DOWN);
  441. PIN_SLP(gpc1-0, INPUT, DOWN);
  442. PIN_SLP(gpc1-1, INPUT, DOWN);
  443. PIN_SLP(gpc1-2, INPUT, DOWN);
  444. PIN_SLP(gpc1-3, INPUT, DOWN);
  445. PIN_SLP(gpc1-4, INPUT, DOWN);
  446. PIN_SLP(gpd0-0, INPUT, DOWN);
  447. PIN_SLP(gpd0-1, INPUT, DOWN);
  448. PIN_SLP(gpd0-2, INPUT, NONE);
  449. PIN_SLP(gpd0-3, INPUT, NONE);
  450. PIN_SLP(gpd1-0, INPUT, NONE);
  451. PIN_SLP(gpd1-1, INPUT, NONE);
  452. PIN_SLP(gpd1-2, INPUT, NONE);
  453. PIN_SLP(gpd1-3, INPUT, NONE);
  454. };
  455. };
  456. &pinctrl_1 {
  457. pinctrl-names = "default";
  458. pinctrl-0 = <&initial1 &sleep1>;
  459. initial1: initial-state {
  460. PIN_IN(gpk2-0, DOWN, LV1);
  461. PIN_IN(gpk2-1, DOWN, LV1);
  462. PIN_IN(gpk2-2, DOWN, LV1);
  463. PIN_IN(gpk2-3, DOWN, LV1);
  464. PIN_IN(gpk2-4, DOWN, LV1);
  465. PIN_IN(gpk2-5, DOWN, LV1);
  466. PIN_IN(gpk2-6, DOWN, LV1);
  467. };
  468. sleep1: sleep-state {
  469. PIN_SLP(gpe0-0, PREV, NONE);
  470. PIN_SLP(gpe0-1, PREV, NONE);
  471. PIN_SLP(gpe0-2, INPUT, DOWN);
  472. PIN_SLP(gpe0-3, INPUT, DOWN);
  473. PIN_SLP(gpe0-4, PREV, NONE);
  474. PIN_SLP(gpe0-5, INPUT, DOWN);
  475. PIN_SLP(gpe0-6, INPUT, DOWN);
  476. PIN_SLP(gpe0-7, INPUT, DOWN);
  477. PIN_SLP(gpe1-0, INPUT, DOWN);
  478. PIN_SLP(gpe1-1, PREV, NONE);
  479. PIN_SLP(gpe1-2, INPUT, DOWN);
  480. PIN_SLP(gpe1-3, INPUT, DOWN);
  481. PIN_SLP(gpe1-4, INPUT, DOWN);
  482. PIN_SLP(gpe1-5, INPUT, DOWN);
  483. PIN_SLP(gpe1-6, INPUT, DOWN);
  484. PIN_SLP(gpe1-7, INPUT, NONE);
  485. PIN_SLP(gpe2-0, INPUT, NONE);
  486. PIN_SLP(gpe2-1, INPUT, NONE);
  487. PIN_SLP(gpe2-2, INPUT, NONE);
  488. PIN_SLP(gpk0-0, INPUT, DOWN);
  489. PIN_SLP(gpk0-1, INPUT, DOWN);
  490. PIN_SLP(gpk0-2, OUT0, NONE);
  491. PIN_SLP(gpk0-3, INPUT, DOWN);
  492. PIN_SLP(gpk0-4, INPUT, DOWN);
  493. PIN_SLP(gpk0-5, INPUT, DOWN);
  494. PIN_SLP(gpk0-6, INPUT, DOWN);
  495. PIN_SLP(gpk0-7, INPUT, DOWN);
  496. PIN_SLP(gpk1-0, PREV, NONE);
  497. PIN_SLP(gpk1-1, PREV, NONE);
  498. PIN_SLP(gpk1-2, INPUT, DOWN);
  499. PIN_SLP(gpk1-3, PREV, NONE);
  500. PIN_SLP(gpk1-4, PREV, NONE);
  501. PIN_SLP(gpk1-5, PREV, NONE);
  502. PIN_SLP(gpk1-6, PREV, NONE);
  503. PIN_SLP(gpk2-0, INPUT, DOWN);
  504. PIN_SLP(gpk2-1, INPUT, DOWN);
  505. PIN_SLP(gpk2-2, INPUT, DOWN);
  506. PIN_SLP(gpk2-3, INPUT, DOWN);
  507. PIN_SLP(gpk2-4, INPUT, DOWN);
  508. PIN_SLP(gpk2-5, INPUT, DOWN);
  509. PIN_SLP(gpk2-6, INPUT, DOWN);
  510. PIN_SLP(gpl0-0, INPUT, DOWN);
  511. PIN_SLP(gpl0-1, INPUT, DOWN);
  512. PIN_SLP(gpl0-2, INPUT, DOWN);
  513. PIN_SLP(gpl0-3, INPUT, DOWN);
  514. PIN_SLP(gpm0-0, INPUT, DOWN);
  515. PIN_SLP(gpm0-1, INPUT, DOWN);
  516. PIN_SLP(gpm0-2, INPUT, DOWN);
  517. PIN_SLP(gpm0-3, INPUT, DOWN);
  518. PIN_SLP(gpm0-4, INPUT, DOWN);
  519. PIN_SLP(gpm0-5, INPUT, DOWN);
  520. PIN_SLP(gpm0-6, INPUT, DOWN);
  521. PIN_SLP(gpm0-7, INPUT, DOWN);
  522. PIN_SLP(gpm1-0, INPUT, DOWN);
  523. PIN_SLP(gpm1-1, INPUT, DOWN);
  524. PIN_SLP(gpm1-2, INPUT, DOWN);
  525. PIN_SLP(gpm1-3, INPUT, DOWN);
  526. PIN_SLP(gpm1-4, INPUT, DOWN);
  527. PIN_SLP(gpm1-5, INPUT, DOWN);
  528. PIN_SLP(gpm1-6, INPUT, DOWN);
  529. PIN_SLP(gpm2-0, INPUT, DOWN);
  530. PIN_SLP(gpm2-1, INPUT, DOWN);
  531. PIN_SLP(gpm2-2, INPUT, DOWN);
  532. PIN_SLP(gpm2-3, INPUT, DOWN);
  533. PIN_SLP(gpm2-4, INPUT, DOWN);
  534. PIN_SLP(gpm3-0, INPUT, DOWN);
  535. PIN_SLP(gpm3-1, INPUT, DOWN);
  536. PIN_SLP(gpm3-2, INPUT, DOWN);
  537. PIN_SLP(gpm3-3, INPUT, DOWN);
  538. PIN_SLP(gpm3-4, INPUT, DOWN);
  539. PIN_SLP(gpm3-5, INPUT, DOWN);
  540. PIN_SLP(gpm3-6, INPUT, DOWN);
  541. PIN_SLP(gpm3-7, INPUT, DOWN);
  542. PIN_SLP(gpm4-0, INPUT, DOWN);
  543. PIN_SLP(gpm4-1, INPUT, DOWN);
  544. PIN_SLP(gpm4-2, INPUT, DOWN);
  545. PIN_SLP(gpm4-3, INPUT, DOWN);
  546. PIN_SLP(gpm4-4, INPUT, DOWN);
  547. PIN_SLP(gpm4-5, INPUT, DOWN);
  548. PIN_SLP(gpm4-6, INPUT, DOWN);
  549. PIN_SLP(gpm4-7, INPUT, DOWN);
  550. };
  551. };