exynos3250-rinato.dts 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Samsung's Exynos3250 based Rinato 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 Rinato 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 Rinato board";
  19. compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
  20. chassis-type = "watch";
  21. aliases {
  22. i2c7 = &i2c_max77836;
  23. };
  24. chosen {
  25. stdout-path = &serial_1;
  26. };
  27. memory@40000000 {
  28. device_type = "memory";
  29. reg = <0x40000000 0x1ff00000>;
  30. };
  31. firmware@205f000 {
  32. compatible = "samsung,secure-firmware";
  33. reg = <0x0205F000 0x1000>;
  34. };
  35. gpio-keys {
  36. compatible = "gpio-keys";
  37. power-key {
  38. gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
  39. linux,code = <KEY_POWER>;
  40. label = "power key";
  41. debounce-interval = <10>;
  42. wakeup-source;
  43. };
  44. };
  45. wlan_pwrseq: mshc1-pwrseq {
  46. compatible = "mmc-pwrseq-simple";
  47. reset-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
  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. /* Corresponds to 500MHz */
  106. cooling-device = <&cpu0 5 5>,
  107. <&cpu1 5 5>;
  108. };
  109. map1 {
  110. /* Corresponds to 200MHz */
  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. &bus_leftbus {
  144. devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
  145. vdd-supply = <&buck3_reg>;
  146. status = "okay";
  147. };
  148. &bus_rightbus {
  149. devfreq = <&bus_leftbus>;
  150. status = "okay";
  151. };
  152. &bus_lcd0 {
  153. devfreq = <&bus_leftbus>;
  154. status = "okay";
  155. };
  156. &bus_fsys {
  157. devfreq = <&bus_leftbus>;
  158. status = "okay";
  159. };
  160. &bus_mcuisp {
  161. devfreq = <&bus_leftbus>;
  162. status = "okay";
  163. };
  164. &bus_isp {
  165. devfreq = <&bus_leftbus>;
  166. status = "okay";
  167. };
  168. &bus_peril {
  169. devfreq = <&bus_leftbus>;
  170. status = "okay";
  171. };
  172. &bus_mfc {
  173. devfreq = <&bus_leftbus>;
  174. status = "okay";
  175. };
  176. &cmu {
  177. clocks = <&xusbxti>;
  178. };
  179. &cpu0 {
  180. cpu0-supply = <&buck2_reg>;
  181. };
  182. &exynos_usbphy {
  183. status = "okay";
  184. vbus-supply = <&safeout_reg>;
  185. };
  186. &hsotg {
  187. vusb_d-supply = <&ldo15_reg>;
  188. vusb_a-supply = <&ldo12_reg>;
  189. dr_mode = "peripheral";
  190. status = "okay";
  191. };
  192. &dsi_0 {
  193. vddcore-supply = <&ldo6_reg>;
  194. vddio-supply = <&ldo6_reg>;
  195. samsung,burst-clock-frequency = <250000000>;
  196. samsung,esc-clock-frequency = <20000000>;
  197. samsung,pll-clock-frequency = <24000000>;
  198. status = "okay";
  199. panel@0 {
  200. compatible = "samsung,s6e63j0x03";
  201. reg = <0>;
  202. vdd3-supply = <&ldo16_reg>;
  203. vci-supply = <&ldo20_reg>;
  204. reset-gpios = <&gpe0 1 GPIO_ACTIVE_LOW>;
  205. te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
  206. };
  207. };
  208. &fimd {
  209. status = "okay";
  210. i80-if-timings {
  211. cs-setup = <0>;
  212. wr-setup = <0>;
  213. wr-active = <1>;
  214. wr-hold = <0>;
  215. };
  216. };
  217. &gpu {
  218. mali-supply = <&buck3_reg>;
  219. status = "okay";
  220. };
  221. &i2c_0 {
  222. #address-cells = <1>;
  223. #size-cells = <0>;
  224. samsung,i2c-sda-delay = <100>;
  225. samsung,i2c-slave-addr = <0x10>;
  226. samsung,i2c-max-bus-freq = <100000>;
  227. status = "okay";
  228. pmic@66 {
  229. compatible = "samsung,s2mps14-pmic";
  230. interrupt-parent = <&gpx0>;
  231. interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
  232. reg = <0x66>;
  233. wakeup-source;
  234. s2mps14_osc: clocks {
  235. compatible = "samsung,s2mps14-clk";
  236. #clock-cells = <1>;
  237. clock-output-names = "s2mps14_ap", "unused",
  238. "s2mps14_bt";
  239. };
  240. regulators {
  241. ldo1_reg: LDO1 {
  242. regulator-name = "VAP_ALIVE_1.0V";
  243. regulator-min-microvolt = <1000000>;
  244. regulator-max-microvolt = <1000000>;
  245. regulator-always-on;
  246. regulator-state-mem {
  247. regulator-on-in-suspend;
  248. };
  249. };
  250. ldo2_reg: LDO2 {
  251. regulator-name = "VAP_M1_1.2V";
  252. regulator-min-microvolt = <1200000>;
  253. regulator-max-microvolt = <1200000>;
  254. regulator-always-on;
  255. regulator-state-mem {
  256. regulator-off-in-suspend;
  257. };
  258. };
  259. ldo3_reg: LDO3 {
  260. regulator-name = "VCC_AP_1.8V";
  261. regulator-min-microvolt = <1800000>;
  262. regulator-max-microvolt = <1800000>;
  263. regulator-always-on;
  264. regulator-state-mem {
  265. regulator-off-in-suspend;
  266. };
  267. };
  268. ldo4_reg: LDO4 {
  269. regulator-name = "VAP_AVDD_PLL1";
  270. regulator-min-microvolt = <1800000>;
  271. regulator-max-microvolt = <1800000>;
  272. regulator-always-on;
  273. regulator-state-mem {
  274. regulator-off-in-suspend;
  275. };
  276. };
  277. ldo5_reg: LDO5 {
  278. regulator-name = "VAP_PLL_ISO_1.0V";
  279. regulator-min-microvolt = <1000000>;
  280. regulator-max-microvolt = <1000000>;
  281. regulator-always-on;
  282. regulator-state-mem {
  283. regulator-off-in-suspend;
  284. };
  285. };
  286. ldo6_reg: LDO6 {
  287. regulator-name = "VAP_VMIPI_1.0V";
  288. regulator-min-microvolt = <1000000>;
  289. regulator-max-microvolt = <1000000>;
  290. regulator-always-on;
  291. regulator-state-mem {
  292. regulator-off-in-suspend;
  293. };
  294. };
  295. ldo7_reg: LDO7 {
  296. regulator-name = "VAP_AVDD_1.8V";
  297. regulator-min-microvolt = <1800000>;
  298. regulator-max-microvolt = <1800000>;
  299. regulator-always-on;
  300. regulator-state-mem {
  301. regulator-off-in-suspend;
  302. };
  303. };
  304. ldo8_reg: LDO8 {
  305. regulator-name = "VAP_USB_3.0V";
  306. regulator-min-microvolt = <3000000>;
  307. regulator-max-microvolt = <3000000>;
  308. regulator-always-on;
  309. regulator-state-mem {
  310. regulator-off-in-suspend;
  311. };
  312. };
  313. ldo9_reg: LDO9 {
  314. regulator-name = "V_LPDDR_1.2V";
  315. regulator-min-microvolt = <1200000>;
  316. regulator-max-microvolt = <1200000>;
  317. regulator-always-on;
  318. regulator-state-mem {
  319. regulator-on-in-suspend;
  320. };
  321. };
  322. ldo10_reg: LDO10 {
  323. regulator-name = "UNUSED_LDO10";
  324. regulator-min-microvolt = <1000000>;
  325. regulator-max-microvolt = <1000000>;
  326. regulator-state-mem {
  327. regulator-off-in-suspend;
  328. };
  329. };
  330. ldo11_reg: LDO11 {
  331. regulator-name = "V_EMMC_1.8V";
  332. regulator-min-microvolt = <1800000>;
  333. regulator-max-microvolt = <1800000>;
  334. samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
  335. };
  336. ldo12_reg: LDO12 {
  337. regulator-name = "V_EMMC_2.8V";
  338. regulator-min-microvolt = <2800000>;
  339. regulator-max-microvolt = <2800000>;
  340. samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
  341. };
  342. ldo13_reg: LDO13 {
  343. regulator-name = "CAM_AVDD_2.8V";
  344. regulator-min-microvolt = <2800000>;
  345. regulator-max-microvolt = <2800000>;
  346. regulator-state-mem {
  347. regulator-off-in-suspend;
  348. };
  349. };
  350. ldo14_reg: LDO14 {
  351. regulator-name = "UNUSED_LDO14";
  352. regulator-min-microvolt = <2700000>;
  353. regulator-max-microvolt = <2700000>;
  354. regulator-state-mem {
  355. regulator-off-in-suspend;
  356. };
  357. };
  358. ldo15_reg: LDO15 {
  359. regulator-name = "TSP_AVDD_3.3V";
  360. regulator-min-microvolt = <3300000>;
  361. regulator-max-microvolt = <3300000>;
  362. regulator-state-mem {
  363. regulator-off-in-suspend;
  364. };
  365. };
  366. ldo16_reg: LDO16 {
  367. regulator-name = "LCD_VDD_3.3V";
  368. regulator-min-microvolt = <3300000>;
  369. regulator-max-microvolt = <3300000>;
  370. regulator-state-mem {
  371. regulator-off-in-suspend;
  372. };
  373. };
  374. ldo17_reg: LDO17 {
  375. regulator-name = "V_IRLED_3.3V";
  376. regulator-min-microvolt = <3300000>;
  377. regulator-max-microvolt = <3300000>;
  378. regulator-state-mem {
  379. regulator-off-in-suspend;
  380. };
  381. };
  382. ldo18_reg: LDO18 {
  383. regulator-name = "CAM_AF_2.8V";
  384. regulator-min-microvolt = <2800000>;
  385. regulator-max-microvolt = <2800000>;
  386. regulator-state-mem {
  387. regulator-off-in-suspend;
  388. };
  389. };
  390. ldo19_reg: LDO19 {
  391. regulator-name = "TSP_VDD_1.8V";
  392. regulator-min-microvolt = <1800000>;
  393. regulator-max-microvolt = <1800000>;
  394. regulator-state-mem {
  395. regulator-off-in-suspend;
  396. };
  397. };
  398. ldo20_reg: LDO20 {
  399. regulator-name = "LCD_VDD_1.8V";
  400. regulator-min-microvolt = <1800000>;
  401. regulator-max-microvolt = <1800000>;
  402. regulator-state-mem {
  403. regulator-off-in-suspend;
  404. };
  405. };
  406. ldo21_reg: LDO21 {
  407. regulator-name = "CAM_IO_1.8V";
  408. regulator-min-microvolt = <1800000>;
  409. regulator-max-microvolt = <1800000>;
  410. regulator-state-mem {
  411. regulator-off-in-suspend;
  412. };
  413. };
  414. ldo22_reg: LDO22 {
  415. regulator-name = "CAM_DVDD_1.2V";
  416. regulator-min-microvolt = <1200000>;
  417. regulator-max-microvolt = <1200000>;
  418. regulator-state-mem {
  419. regulator-off-in-suspend;
  420. };
  421. };
  422. ldo23_reg: LDO23 {
  423. regulator-name = "HRM_VCC_1.8V";
  424. regulator-min-microvolt = <1800000>;
  425. regulator-max-microvolt = <1800000>;
  426. regulator-always-on;
  427. };
  428. ldo24_reg: LDO24 {
  429. regulator-name = "HRM_VCC_3.3V";
  430. regulator-min-microvolt = <3000000>;
  431. regulator-max-microvolt = <3000000>;
  432. regulator-state-mem {
  433. regulator-off-in-suspend;
  434. };
  435. };
  436. ldo25_reg: LDO25 {
  437. regulator-name = "UNUSED_LDO25";
  438. regulator-min-microvolt = <3000000>;
  439. regulator-max-microvolt = <3000000>;
  440. regulator-state-mem {
  441. regulator-off-in-suspend;
  442. };
  443. };
  444. buck1_reg: BUCK1 {
  445. regulator-name = "VAP_MIF_1.0V";
  446. regulator-min-microvolt = <800000>;
  447. regulator-max-microvolt = <900000>;
  448. regulator-always-on;
  449. regulator-state-mem {
  450. regulator-off-in-suspend;
  451. };
  452. };
  453. buck2_reg: BUCK2 {
  454. regulator-name = "VAP_ARM_1.0V";
  455. regulator-min-microvolt = <850000>;
  456. regulator-max-microvolt = <1150000>;
  457. regulator-always-on;
  458. regulator-state-mem {
  459. regulator-off-in-suspend;
  460. };
  461. };
  462. buck3_reg: BUCK3 {
  463. regulator-name = "VAP_INT3D_1.0V";
  464. regulator-min-microvolt = <850000>;
  465. regulator-max-microvolt = <1000000>;
  466. regulator-always-on;
  467. regulator-state-mem {
  468. regulator-off-in-suspend;
  469. };
  470. };
  471. buck4_reg: BUCK4 {
  472. regulator-name = "VCC_SUB_1.95V";
  473. regulator-min-microvolt = <1950000>;
  474. regulator-max-microvolt = <1950000>;
  475. regulator-always-on;
  476. regulator-state-mem {
  477. regulator-on-in-suspend;
  478. };
  479. };
  480. buck5_reg: BUCK5 {
  481. regulator-name = "VCC_SUB_1.35V";
  482. regulator-min-microvolt = <1350000>;
  483. regulator-max-microvolt = <1350000>;
  484. regulator-always-on;
  485. regulator-state-mem {
  486. regulator-on-in-suspend;
  487. };
  488. };
  489. };
  490. };
  491. };
  492. &i2c_1 {
  493. #address-cells = <1>;
  494. #size-cells = <0>;
  495. samsung,i2c-sda-delay = <100>;
  496. samsung,i2c-slave-addr = <0x10>;
  497. samsung,i2c-max-bus-freq = <400000>;
  498. status = "okay";
  499. fuelgauge@36 {
  500. compatible = "maxim,max77836-battery";
  501. interrupt-parent = <&gpx1>;
  502. interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  503. reg = <0x36>;
  504. };
  505. };
  506. &i2s2 {
  507. status = "okay";
  508. };
  509. &jpeg {
  510. status = "okay";
  511. };
  512. &mshc_0 {
  513. broken-cd;
  514. non-removable;
  515. cap-mmc-highspeed;
  516. desc-num = <4>;
  517. mmc-hs200-1_8v;
  518. card-detect-delay = <200>;
  519. vmmc-supply = <&ldo12_reg>;
  520. clock-frequency = <100000000>;
  521. max-frequency = <100000000>;
  522. samsung,dw-mshc-ciu-div = <1>;
  523. samsung,dw-mshc-sdr-timing = <0 1>;
  524. samsung,dw-mshc-ddr-timing = <1 2>;
  525. pinctrl-names = "default";
  526. pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
  527. bus-width = <8>;
  528. status = "okay";
  529. };
  530. &mshc_1 {
  531. status = "okay";
  532. #address-cells = <1>;
  533. #size-cells = <0>;
  534. non-removable;
  535. cap-sd-highspeed;
  536. cap-sdio-irq;
  537. keep-power-in-suspend;
  538. samsung,dw-mshc-ciu-div = <1>;
  539. samsung,dw-mshc-sdr-timing = <0 1>;
  540. samsung,dw-mshc-ddr-timing = <1 2>;
  541. pinctrl-names = "default";
  542. pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus1 &sd1_bus4>;
  543. bus-width = <4>;
  544. mmc-pwrseq = <&wlan_pwrseq>;
  545. brcmf: wifi@1 {
  546. compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac";
  547. reg = <1>;
  548. interrupt-parent = <&gpx1>;
  549. interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
  550. interrupt-names = "host-wake";
  551. };
  552. };
  553. &serial_0 {
  554. assigned-clocks = <&cmu CLK_SCLK_UART0>;
  555. assigned-clock-rates = <100000000>;
  556. status = "okay";
  557. bluetooth {
  558. compatible = "brcm,bcm4330-bt";
  559. max-speed = <3000000>;
  560. shutdown-gpios = <&gpe0 0 GPIO_ACTIVE_HIGH>;
  561. device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
  562. host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
  563. clocks = <&s2mps14_osc S2MPS11_CLK_BT>;
  564. };
  565. };
  566. &serial_1 {
  567. status = "okay";
  568. };
  569. &tmu {
  570. vtmu-supply = <&ldo7_reg>;
  571. status = "okay";
  572. };
  573. &rtc {
  574. clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
  575. clock-names = "rtc", "rtc_src";
  576. status = "okay";
  577. };
  578. &xusbxti {
  579. clock-frequency = <24000000>;
  580. };
  581. &pinctrl_0 {
  582. pinctrl-names = "default";
  583. pinctrl-0 = <&initial0 &sleep0>;
  584. initial0: initial-state {
  585. PIN_IN(gpa1-4, DOWN, LV1);
  586. PIN_IN(gpa1-5, DOWN, LV1);
  587. PIN_IN(gpc0-0, DOWN, LV1);
  588. PIN_IN(gpc0-1, DOWN, LV1);
  589. PIN_IN(gpc0-2, DOWN, LV1);
  590. PIN_IN(gpc0-3, DOWN, LV1);
  591. PIN_IN(gpc0-4, DOWN, LV1);
  592. PIN_IN(gpd0-0, DOWN, LV1);
  593. PIN_IN(gpd0-1, DOWN, LV1);
  594. };
  595. sleep0: sleep-state {
  596. PIN_SLP(gpa0-0, INPUT, DOWN);
  597. PIN_SLP(gpa0-1, INPUT, DOWN);
  598. PIN_SLP(gpa0-2, INPUT, DOWN);
  599. PIN_SLP(gpa0-3, INPUT, DOWN);
  600. PIN_SLP(gpa0-4, INPUT, DOWN);
  601. PIN_SLP(gpa0-5, INPUT, DOWN);
  602. PIN_SLP(gpa0-6, INPUT, DOWN);
  603. PIN_SLP(gpa0-7, INPUT, DOWN);
  604. PIN_SLP(gpa1-0, INPUT, DOWN);
  605. PIN_SLP(gpa1-1, INPUT, DOWN);
  606. PIN_SLP(gpa1-2, INPUT, DOWN);
  607. PIN_SLP(gpa1-3, INPUT, DOWN);
  608. PIN_SLP(gpa1-4, INPUT, DOWN);
  609. PIN_SLP(gpa1-5, INPUT, DOWN);
  610. PIN_SLP(gpb-0, PREV, NONE);
  611. PIN_SLP(gpb-1, PREV, NONE);
  612. PIN_SLP(gpb-2, PREV, NONE);
  613. PIN_SLP(gpb-3, PREV, NONE);
  614. PIN_SLP(gpb-4, INPUT, DOWN);
  615. PIN_SLP(gpb-5, INPUT, DOWN);
  616. PIN_SLP(gpb-6, INPUT, DOWN);
  617. PIN_SLP(gpb-7, INPUT, DOWN);
  618. PIN_SLP(gpc0-0, INPUT, DOWN);
  619. PIN_SLP(gpc0-1, INPUT, DOWN);
  620. PIN_SLP(gpc0-2, INPUT, DOWN);
  621. PIN_SLP(gpc0-3, INPUT, DOWN);
  622. PIN_SLP(gpc0-4, INPUT, DOWN);
  623. PIN_SLP(gpc1-0, INPUT, DOWN);
  624. PIN_SLP(gpc1-1, INPUT, DOWN);
  625. PIN_SLP(gpc1-2, INPUT, DOWN);
  626. PIN_SLP(gpc1-3, INPUT, DOWN);
  627. PIN_SLP(gpc1-4, INPUT, DOWN);
  628. PIN_SLP(gpd0-0, INPUT, DOWN);
  629. PIN_SLP(gpd0-1, INPUT, DOWN);
  630. PIN_SLP(gpd0-2, INPUT, NONE);
  631. PIN_SLP(gpd0-3, INPUT, NONE);
  632. PIN_SLP(gpd1-0, INPUT, NONE);
  633. PIN_SLP(gpd1-1, INPUT, NONE);
  634. PIN_SLP(gpd1-2, INPUT, NONE);
  635. PIN_SLP(gpd1-3, INPUT, NONE);
  636. };
  637. };
  638. &pinctrl_1 {
  639. pinctrl-names = "default";
  640. pinctrl-0 = <&initial1 &sleep1>;
  641. initial1: initial-state {
  642. PIN_IN(gpe0-6, DOWN, LV1);
  643. PIN_IN(gpe0-7, DOWN, LV1);
  644. PIN_IN(gpe1-0, DOWN, LV1);
  645. PIN_IN(gpe1-3, DOWN, LV1);
  646. PIN_IN(gpe1-4, DOWN, LV1);
  647. PIN_IN(gpe1-5, DOWN, LV1);
  648. PIN_IN(gpe1-6, DOWN, LV1);
  649. PIN_IN(gpk2-0, DOWN, LV1);
  650. PIN_IN(gpk2-1, DOWN, LV1);
  651. PIN_IN(gpk2-2, DOWN, LV1);
  652. PIN_IN(gpk2-3, DOWN, LV1);
  653. PIN_IN(gpk2-4, DOWN, LV1);
  654. PIN_IN(gpk2-5, DOWN, LV1);
  655. PIN_IN(gpk2-6, DOWN, LV1);
  656. PIN_IN(gpm0-0, DOWN, LV1);
  657. PIN_IN(gpm0-1, DOWN, LV1);
  658. PIN_IN(gpm0-2, DOWN, LV1);
  659. PIN_IN(gpm0-3, DOWN, LV1);
  660. PIN_IN(gpm0-4, DOWN, LV1);
  661. PIN_IN(gpm0-5, DOWN, LV1);
  662. PIN_IN(gpm0-6, DOWN, LV1);
  663. PIN_IN(gpm0-7, DOWN, LV1);
  664. PIN_IN(gpm1-0, DOWN, LV1);
  665. PIN_IN(gpm1-1, DOWN, LV1);
  666. PIN_IN(gpm1-2, DOWN, LV1);
  667. PIN_IN(gpm1-3, DOWN, LV1);
  668. PIN_IN(gpm1-4, DOWN, LV1);
  669. PIN_IN(gpm1-5, DOWN, LV1);
  670. PIN_IN(gpm1-6, DOWN, LV1);
  671. PIN_IN(gpm2-0, DOWN, LV1);
  672. PIN_IN(gpm2-1, DOWN, LV1);
  673. PIN_IN(gpm3-0, DOWN, LV1);
  674. PIN_IN(gpm3-1, DOWN, LV1);
  675. PIN_IN(gpm3-2, DOWN, LV1);
  676. PIN_IN(gpm3-3, DOWN, LV1);
  677. PIN_IN(gpm3-4, DOWN, LV1);
  678. PIN_IN(gpm4-1, DOWN, LV1);
  679. PIN_IN(gpm4-2, DOWN, LV1);
  680. PIN_IN(gpm4-3, DOWN, LV1);
  681. PIN_IN(gpm4-4, DOWN, LV1);
  682. PIN_IN(gpm4-5, DOWN, LV1);
  683. PIN_IN(gpm4-6, DOWN, LV1);
  684. PIN_IN(gpm4-7, DOWN, LV1);
  685. };
  686. sleep1: sleep-state {
  687. PIN_SLP(gpe0-0, PREV, NONE);
  688. PIN_SLP(gpe0-1, PREV, NONE);
  689. PIN_SLP(gpe0-2, INPUT, DOWN);
  690. PIN_SLP(gpe0-3, INPUT, UP);
  691. PIN_SLP(gpe0-4, INPUT, DOWN);
  692. PIN_SLP(gpe0-5, INPUT, DOWN);
  693. PIN_SLP(gpe0-6, INPUT, DOWN);
  694. PIN_SLP(gpe0-7, INPUT, DOWN);
  695. PIN_SLP(gpe1-0, INPUT, DOWN);
  696. PIN_SLP(gpe1-1, PREV, NONE);
  697. PIN_SLP(gpe1-2, INPUT, DOWN);
  698. PIN_SLP(gpe1-3, INPUT, DOWN);
  699. PIN_SLP(gpe1-4, INPUT, DOWN);
  700. PIN_SLP(gpe1-5, INPUT, DOWN);
  701. PIN_SLP(gpe1-6, INPUT, DOWN);
  702. PIN_SLP(gpe1-7, INPUT, NONE);
  703. PIN_SLP(gpe2-0, INPUT, NONE);
  704. PIN_SLP(gpe2-1, INPUT, NONE);
  705. PIN_SLP(gpe2-2, INPUT, NONE);
  706. PIN_SLP(gpk0-0, INPUT, DOWN);
  707. PIN_SLP(gpk0-1, INPUT, DOWN);
  708. PIN_SLP(gpk0-2, OUT0, NONE);
  709. PIN_SLP(gpk0-3, INPUT, DOWN);
  710. PIN_SLP(gpk0-4, INPUT, DOWN);
  711. PIN_SLP(gpk0-5, INPUT, DOWN);
  712. PIN_SLP(gpk0-6, INPUT, DOWN);
  713. PIN_SLP(gpk0-7, INPUT, DOWN);
  714. PIN_SLP(gpk1-0, INPUT, DOWN);
  715. PIN_SLP(gpk1-1, INPUT, DOWN);
  716. PIN_SLP(gpk1-2, INPUT, DOWN);
  717. PIN_SLP(gpk1-3, INPUT, DOWN);
  718. PIN_SLP(gpk1-4, INPUT, DOWN);
  719. PIN_SLP(gpk1-5, INPUT, DOWN);
  720. PIN_SLP(gpk1-6, INPUT, DOWN);
  721. PIN_SLP(gpk2-0, INPUT, DOWN);
  722. PIN_SLP(gpk2-1, INPUT, DOWN);
  723. PIN_SLP(gpk2-2, INPUT, DOWN);
  724. PIN_SLP(gpk2-3, INPUT, DOWN);
  725. PIN_SLP(gpk2-4, INPUT, DOWN);
  726. PIN_SLP(gpk2-5, INPUT, DOWN);
  727. PIN_SLP(gpk2-6, INPUT, DOWN);
  728. PIN_SLP(gpl0-0, INPUT, DOWN);
  729. PIN_SLP(gpl0-1, INPUT, DOWN);
  730. PIN_SLP(gpl0-2, INPUT, DOWN);
  731. PIN_SLP(gpl0-3, INPUT, DOWN);
  732. PIN_SLP(gpm0-0, INPUT, DOWN);
  733. PIN_SLP(gpm0-1, INPUT, DOWN);
  734. PIN_SLP(gpm0-2, INPUT, DOWN);
  735. PIN_SLP(gpm0-3, INPUT, DOWN);
  736. PIN_SLP(gpm0-4, INPUT, DOWN);
  737. PIN_SLP(gpm0-5, INPUT, DOWN);
  738. PIN_SLP(gpm0-6, INPUT, DOWN);
  739. PIN_SLP(gpm0-7, INPUT, DOWN);
  740. PIN_SLP(gpm1-0, INPUT, DOWN);
  741. PIN_SLP(gpm1-1, INPUT, DOWN);
  742. PIN_SLP(gpm1-2, INPUT, DOWN);
  743. PIN_SLP(gpm1-3, INPUT, DOWN);
  744. PIN_SLP(gpm1-4, INPUT, DOWN);
  745. PIN_SLP(gpm1-5, INPUT, DOWN);
  746. PIN_SLP(gpm1-6, INPUT, DOWN);
  747. PIN_SLP(gpm2-0, INPUT, DOWN);
  748. PIN_SLP(gpm2-1, INPUT, DOWN);
  749. PIN_SLP(gpm2-2, INPUT, DOWN);
  750. PIN_SLP(gpm2-3, INPUT, DOWN);
  751. PIN_SLP(gpm2-4, INPUT, DOWN);
  752. PIN_SLP(gpm3-0, INPUT, DOWN);
  753. PIN_SLP(gpm3-1, INPUT, DOWN);
  754. PIN_SLP(gpm3-2, INPUT, DOWN);
  755. PIN_SLP(gpm3-3, INPUT, DOWN);
  756. PIN_SLP(gpm3-4, INPUT, DOWN);
  757. PIN_SLP(gpm3-5, INPUT, DOWN);
  758. PIN_SLP(gpm3-6, INPUT, DOWN);
  759. PIN_SLP(gpm3-7, INPUT, DOWN);
  760. PIN_SLP(gpm4-0, INPUT, DOWN);
  761. PIN_SLP(gpm4-1, INPUT, DOWN);
  762. PIN_SLP(gpm4-2, INPUT, DOWN);
  763. PIN_SLP(gpm4-3, INPUT, DOWN);
  764. PIN_SLP(gpm4-4, INPUT, DOWN);
  765. PIN_SLP(gpm4-5, INPUT, DOWN);
  766. PIN_SLP(gpm4-6, INPUT, DOWN);
  767. PIN_SLP(gpm4-7, INPUT, DOWN);
  768. };
  769. };