ste-snowball.dts 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. /*
  2. * Copyright 2011 ST-Ericsson AB
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. /dts-v1/;
  12. #include "ste-dbx5x0.dtsi"
  13. #include "ste-href-ab8500.dtsi"
  14. #include "ste-href-family-pinctrl.dtsi"
  15. / {
  16. model = "Calao Systems Snowball platform with device tree";
  17. compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
  18. /* This stablilizes the serial port enumeration */
  19. aliases {
  20. serial0 = &ux500_serial0;
  21. serial1 = &ux500_serial1;
  22. serial2 = &ux500_serial2;
  23. };
  24. memory {
  25. reg = <0x00000000 0x20000000>;
  26. };
  27. en_3v3_reg: en_3v3 {
  28. compatible = "regulator-fixed";
  29. regulator-name = "en-3v3-fixed-supply";
  30. regulator-min-microvolt = <3300000>;
  31. regulator-max-microvolt = <3300000>;
  32. /* AB8500 GPIOs start from 1 - offset 25 is GPIO26. */
  33. gpio = <&ab8500_gpio 25 0x4>;
  34. startup-delay-us = <5000>;
  35. enable-active-high;
  36. };
  37. gpio_keys {
  38. compatible = "gpio-keys";
  39. #address-cells = <1>;
  40. #size-cells = <0>;
  41. button@1 {
  42. debounce_interval = <50>;
  43. wakeup-source;
  44. linux,code = <2>;
  45. label = "userpb";
  46. gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
  47. };
  48. button@2 {
  49. debounce_interval = <50>;
  50. wakeup-source;
  51. linux,code = <3>;
  52. label = "extkb1";
  53. gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
  54. };
  55. button@3 {
  56. debounce_interval = <50>;
  57. wakeup-source;
  58. linux,code = <4>;
  59. label = "extkb2";
  60. gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>;
  61. };
  62. button@4 {
  63. debounce_interval = <50>;
  64. wakeup-source;
  65. linux,code = <5>;
  66. label = "extkb3";
  67. gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
  68. };
  69. button@5 {
  70. debounce_interval = <50>;
  71. wakeup-source;
  72. linux,code = <6>;
  73. label = "extkb4";
  74. gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;
  75. };
  76. };
  77. leds {
  78. compatible = "gpio-leds";
  79. pinctrl-names = "default";
  80. pinctrl-0 = <&gpioled_snowball_mode>;
  81. used-led {
  82. label = "user_led";
  83. gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>;
  84. default-state = "on";
  85. linux,default-trigger = "heartbeat";
  86. };
  87. };
  88. soc {
  89. /* Name the GPIO muxed rails on the Snowball board */
  90. gpio@8012e000 {
  91. /* GPIOs 0 - 31 */
  92. gpio-line-names = "", "", "", "", "", "", "", "",
  93. "", "", "", "", "", "", "", "",
  94. "", "", "", "", "", "", "", "",
  95. "", "", "", "", "", "", "",
  96. "AP_GPIO31";
  97. };
  98. gpio@8012e080 {
  99. /* GPIOs 32 - 63 */
  100. gpio-line-names = "USR PB", "", "", "", "", "", "", "",
  101. "", "", "", "", "", "", "", "",
  102. "", "", "", "", "", "", "", "",
  103. "", "", "", "", "", "", "", "";
  104. };
  105. gpio@8000e000 {
  106. /* GPIOs 64 - 95 */
  107. gpio-line-names = "", "", "", "", "AP_GPIO68", "", "", "",
  108. "", "", "", "", "", "", "", "",
  109. "", "", "", "", "", "", "", "",
  110. "", "", "", "", "", "", "", "";
  111. };
  112. gpio@8000e100 {
  113. /* GPIOs 128 - 159 */
  114. gpio-line-names = "", "", "", "", "", "", "", "",
  115. "", "", "", "", "IRQ_LAN", "RSTn_LAN",
  116. "USR_LED", "", "", "", "", "", "",
  117. "", "", "AP_GPIO151", "AP_GPIO152",
  118. "", "", "", "", "", "", "";
  119. };
  120. gpio@8000e180 {
  121. /* GPIOs 160 - 191 */
  122. gpio-line-names = "", "AP_GPIO161", "AP_GPIO162",
  123. "ACCELEROMETER_INT1_RDY",
  124. "ACCELEROMETER_INT2", "MAG_DRDY",
  125. "GYRO_DRDY", "RSTn_MLC", "RSTn_SLC",
  126. "GYRO_INT", "UART_WAKE", "GBF_RESET",
  127. "", "", "", "",
  128. "", "", "", "", "", "", "", "",
  129. "", "", "", "", "", "", "", "";
  130. };
  131. gpio@8011e000 {
  132. /* GPIOs 192 - 223 */
  133. gpio-line-names = "HDTV_INTn", "", "", "", "HDTV_RST",
  134. "", "", "", "", "", "", "", "", "",
  135. "", "", "", "", "", "", "", "", "",
  136. "WLAN_RESETN", "WLAN_IRQ", "MMC_EN",
  137. "MMC_CD", "", "", "", "", "";
  138. };
  139. gpio@8011e080 {
  140. /* GPIOs 224 - 255 */
  141. gpio-line-names = "", "", "", "", "SD_SEL", "", "", "",
  142. "", "", "", "", "", "", "", "",
  143. "", "", "", "", "", "", "", "",
  144. "", "", "", "", "", "", "", "";
  145. };
  146. msp0: msp@80123000 {
  147. pinctrl-names = "default";
  148. pinctrl-0 = <&msp0_default_mode>;
  149. status = "okay";
  150. };
  151. msp1: msp@80124000 {
  152. pinctrl-names = "default";
  153. pinctrl-0 = <&msp1_default_mode>;
  154. status = "okay";
  155. };
  156. msp2: msp@80117000 {
  157. pinctrl-names = "default";
  158. pinctrl-0 = <&msp2_default_mode>;
  159. };
  160. msp3: msp@80125000 {
  161. status = "okay";
  162. };
  163. external-bus@50000000 {
  164. status = "okay";
  165. ethernet@0 {
  166. compatible = "smsc,lan9115";
  167. reg = <0 0x10000>;
  168. interrupts = <12 IRQ_TYPE_EDGE_RISING>;
  169. interrupt-parent = <&gpio4>;
  170. vdd33a-supply = <&en_3v3_reg>;
  171. vddvario-supply = <&db8500_vape_reg>;
  172. pinctrl-names = "default";
  173. pinctrl-0 = <&eth_snowball_mode>;
  174. reg-shift = <1>;
  175. reg-io-width = <2>;
  176. smsc,force-internal-phy;
  177. smsc,irq-active-high;
  178. smsc,irq-push-pull;
  179. clocks = <&prcc_pclk 3 0>;
  180. };
  181. };
  182. /* ST6G3244ME level translator for 1.8/2.9 V */
  183. vmmci: regulator-gpio {
  184. compatible = "regulator-gpio";
  185. /* GPIO228 SD_SEL */
  186. gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
  187. /* GPIO217 MMC_EN */
  188. enable-gpio = <&gpio6 25 GPIO_ACTIVE_HIGH>;
  189. enable-active-high;
  190. regulator-min-microvolt = <1800000>;
  191. regulator-max-microvolt = <2900000>;
  192. regulator-name = "mmci-reg";
  193. regulator-type = "voltage";
  194. startup-delay-us = <100>;
  195. states = <1800000 0x1
  196. 2900000 0x0>;
  197. };
  198. // External Micro SD slot
  199. sdi0_per1@80126000 {
  200. arm,primecell-periphid = <0x10480180>;
  201. max-frequency = <100000000>;
  202. bus-width = <4>;
  203. cap-sd-highspeed;
  204. cap-mmc-highspeed;
  205. sd-uhs-sdr12;
  206. sd-uhs-sdr25;
  207. /* All direction control is used */
  208. st,sig-dir-cmd;
  209. st,sig-dir-dat0;
  210. st,sig-dir-dat2;
  211. st,sig-dir-dat31;
  212. st,sig-pin-fbclk;
  213. full-pwr-cycle;
  214. vmmc-supply = <&ab8500_ldo_aux3_reg>;
  215. vqmmc-supply = <&vmmci>;
  216. pinctrl-names = "default", "sleep";
  217. pinctrl-0 = <&sdi0_default_mode>;
  218. pinctrl-1 = <&sdi0_sleep_mode>;
  219. /* GPIO218 MMC_CD */
  220. cd-gpios = <&gpio6 26 GPIO_ACTIVE_LOW>;
  221. status = "okay";
  222. };
  223. // WLAN SDIO channel
  224. sdi1_per2@80118000 {
  225. arm,primecell-periphid = <0x10480180>;
  226. max-frequency = <100000000>;
  227. bus-width = <4>;
  228. pinctrl-names = "default", "sleep";
  229. pinctrl-0 = <&sdi1_default_mode>;
  230. pinctrl-1 = <&sdi1_sleep_mode>;
  231. status = "okay";
  232. };
  233. // Unused PoP eMMC - register and put it to sleep by default */
  234. sdi2_per3@80005000 {
  235. arm,primecell-periphid = <0x10480180>;
  236. pinctrl-names = "default";
  237. pinctrl-0 = <&sdi2_sleep_mode>;
  238. status = "okay";
  239. };
  240. // On-board eMMC
  241. sdi4_per2@80114000 {
  242. arm,primecell-periphid = <0x10480180>;
  243. max-frequency = <100000000>;
  244. bus-width = <8>;
  245. cap-mmc-highspeed;
  246. vmmc-supply = <&ab8500_ldo_aux2_reg>;
  247. pinctrl-names = "default", "sleep";
  248. pinctrl-0 = <&sdi4_default_mode>;
  249. pinctrl-1 = <&sdi4_sleep_mode>;
  250. status = "okay";
  251. };
  252. uart@80120000 {
  253. pinctrl-names = "default", "sleep";
  254. pinctrl-0 = <&uart0_default_mode>;
  255. pinctrl-1 = <&uart0_sleep_mode>;
  256. status = "okay";
  257. };
  258. /* This UART is unused and thus left disabled */
  259. uart@80121000 {
  260. pinctrl-names = "default", "sleep";
  261. pinctrl-0 = <&uart1_default_mode>;
  262. pinctrl-1 = <&uart1_sleep_mode>;
  263. };
  264. uart@80007000 {
  265. pinctrl-names = "default", "sleep";
  266. pinctrl-0 = <&uart2_default_mode>;
  267. pinctrl-1 = <&uart2_sleep_mode>;
  268. status = "okay";
  269. };
  270. i2c@80004000 {
  271. pinctrl-names = "default","sleep";
  272. pinctrl-0 = <&i2c0_default_mode>;
  273. pinctrl-1 = <&i2c0_sleep_mode>;
  274. };
  275. i2c@80122000 {
  276. pinctrl-names = "default","sleep";
  277. pinctrl-0 = <&i2c1_default_mode>;
  278. pinctrl-1 = <&i2c1_sleep_mode>;
  279. };
  280. i2c@80128000 {
  281. pinctrl-names = "default","sleep";
  282. pinctrl-0 = <&i2c2_default_mode>;
  283. pinctrl-1 = <&i2c2_sleep_mode>;
  284. lsm303dlh@18 {
  285. /* Accelerometer */
  286. compatible = "st,lsm303dlh-accel";
  287. st,drdy-int-pin = <1>;
  288. reg = <0x18>;
  289. vdd-supply = <&ab8500_ldo_aux1_reg>;
  290. vddio-supply = <&db8500_vsmps2_reg>;
  291. pinctrl-names = "default";
  292. pinctrl-0 = <&accel_snowball_mode>;
  293. interrupt-parent = <&gpio5>;
  294. interrupts = <3 IRQ_TYPE_EDGE_RISING>, /* INT1 */
  295. <4 IRQ_TYPE_EDGE_RISING>; /* INT2 */
  296. };
  297. lsm303dlh@1e {
  298. /* Magnetometer */
  299. compatible = "st,lsm303dlh-magn";
  300. reg = <0x1e>;
  301. vdd-supply = <&ab8500_ldo_aux1_reg>;
  302. vddio-supply = <&db8500_vsmps2_reg>;
  303. pinctrl-names = "default";
  304. pinctrl-0 = <&magneto_snowball_mode>;
  305. interrupt-parent = <&gpio5>;
  306. interrupts = <5 IRQ_TYPE_EDGE_RISING>; /* DRDY line */
  307. };
  308. l3g4200d@68 {
  309. /* Gyroscope */
  310. compatible = "st,l3g4200d-gyro";
  311. st,drdy-int-pin = <2>;
  312. reg = <0x68>;
  313. vdd-supply = <&ab8500_ldo_aux1_reg>;
  314. vddio-supply = <&db8500_vsmps2_reg>;
  315. pinctrl-names = "default";
  316. pinctrl-0 = <&gyro_snowball_mode>;
  317. interrupt-parent = <&gpio5>;
  318. interrupts = <6 IRQ_TYPE_EDGE_RISING>, /* DRDY line */
  319. <9 IRQ_TYPE_EDGE_RISING>; /* INT1 */
  320. };
  321. lsp001wm@5c {
  322. /* Barometer/pressure sensor */
  323. compatible = "st,lps001wp-press";
  324. reg = <0x5c>;
  325. vdd-supply = <&ab8500_ldo_aux1_reg>;
  326. vddio-supply = <&db8500_vsmps2_reg>;
  327. };
  328. };
  329. i2c@80110000 {
  330. pinctrl-names = "default","sleep";
  331. pinctrl-0 = <&i2c3_default_mode>;
  332. pinctrl-1 = <&i2c3_sleep_mode>;
  333. };
  334. ssp@80002000 {
  335. pinctrl-names = "default";
  336. pinctrl-0 = <&ssp0_snowball_mode>;
  337. };
  338. cpufreq-cooling {
  339. status = "okay";
  340. };
  341. prcmu@80157000 {
  342. cpufreq {
  343. status = "okay";
  344. };
  345. thermal@801573c0 {
  346. num-trips = <4>;
  347. trip0-temp = <70000>;
  348. trip0-type = "active";
  349. trip0-cdev-num = <1>;
  350. trip0-cdev-name0 = "thermal-cpufreq-0";
  351. trip1-temp = <75000>;
  352. trip1-type = "active";
  353. trip1-cdev-num = <1>;
  354. trip1-cdev-name0 = "thermal-cpufreq-0";
  355. trip2-temp = <80000>;
  356. trip2-type = "active";
  357. trip2-cdev-num = <1>;
  358. trip2-cdev-name0 = "thermal-cpufreq-0";
  359. trip3-temp = <85000>;
  360. trip3-type = "critical";
  361. trip3-cdev-num = <0>;
  362. status = "okay";
  363. };
  364. ab8500 {
  365. ab8500-gpio {
  366. /*
  367. * AB8500 GPIOs are numbered starting from 1, so the first
  368. * index 0 is what in the datasheet is called "GPIO1", and
  369. * the second is "GPIO2" and so forth. Confusingly, the
  370. * Snowball schematic then names the "GPIO2" line "PM_GPIO1".
  371. * while later naming "GPIO4" as "PM_GPIO4".
  372. */
  373. gpio-line-names = "", /* AB8500 GPIO1 */
  374. "PM_GPIO1", /* AB8500 GPIO2 */
  375. "WLAN_CLK_REQ", /* AB8500 GPIO3 */
  376. "PM_GPIO4", /* AB8500 GPIO4 */
  377. "", "", "", "", "", "", "", "", "", "", "",
  378. "EN_3V6", /* AB8500 GPIO16 */
  379. "", "", "", "" ,"", "", "", "", "",
  380. "EN_3V3", /* AB8500 GPIO26 */
  381. "", "", "", "", "", "", "", "", "", "", "", "", "",
  382. "PM_GPIO40", /* AB8500 GPIO40 */
  383. "PM_GPIO41", /* AB8500 GPIO41 */
  384. "PM_GPIO42"; /* AB8500 GPIO42 */
  385. };
  386. ab8500_usb {
  387. pinctrl-names = "default", "sleep";
  388. pinctrl-0 = <&musb_default_mode>;
  389. pinctrl-1 = <&musb_sleep_mode>;
  390. };
  391. ext_regulators: ab8500-ext-regulators {
  392. ab8500_ext1_reg: ab8500_ext1 {
  393. regulator-name = "ab8500-ext-supply1";
  394. };
  395. ab8500_ext2_reg_reg: ab8500_ext2 {
  396. regulator-name = "ab8500-ext-supply2";
  397. };
  398. ab8500_ext3_reg_reg: ab8500_ext3 {
  399. regulator-name = "ab8500-ext-supply3";
  400. };
  401. };
  402. ab8500-regulators {
  403. ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
  404. regulator-name = "V-DISPLAY";
  405. };
  406. ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
  407. regulator-name = "V-eMMC1";
  408. };
  409. ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
  410. regulator-name = "V-MMC-SD";
  411. };
  412. ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
  413. regulator-name = "V-INTCORE";
  414. };
  415. ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
  416. regulator-name = "V-TVOUT";
  417. };
  418. ab8500_ldo_usb_reg: ab8500_ldo_usb {
  419. regulator-name = "dummy";
  420. };
  421. ab8500_ldo_audio_reg: ab8500_ldo_audio {
  422. regulator-name = "V-AUD";
  423. };
  424. ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
  425. regulator-name = "V-AMIC1";
  426. };
  427. ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
  428. regulator-name = "V-AMIC2";
  429. };
  430. ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
  431. regulator-name = "V-DMIC";
  432. };
  433. ab8500_ldo_ana_reg: ab8500_ldo_ana {
  434. regulator-name = "V-CSI/DSI";
  435. };
  436. };
  437. };
  438. };
  439. pinctrl {
  440. /*
  441. * Set this up using hogs, as time goes by and as seems fit, these
  442. * can be moved over to being controlled by respective device.
  443. */
  444. pinctrl-names = "default";
  445. pinctrl-0 = <&gbf_snowball_mode>,
  446. <&wlan_snowball_mode>;
  447. ethernet {
  448. /*
  449. * Mux in "SM" which is used for the
  450. * SMSC911x Ethernet adapter
  451. */
  452. eth_snowball_mode: eth_snowball {
  453. snowball_mux {
  454. function = "sm";
  455. groups = "sm_b_1";
  456. };
  457. /* LAN IRQ pin */
  458. snowball_cfg1 {
  459. pins = "GPIO140_B11";
  460. ste,config = <&in_nopull>;
  461. };
  462. /* LAN reset pin */
  463. snowball_cfg2 {
  464. pins = "GPIO141_C12";
  465. ste,config = <&gpio_out_hi>;
  466. };
  467. };
  468. };
  469. sdi0 {
  470. sdi0_default_mode: sdi0_default {
  471. snowball_mux {
  472. function = "mc0";
  473. /* Add the DAT31 pin even if it is not really used */
  474. groups = "mc0dat31dir_a_1";
  475. };
  476. snowball_cfg1 {
  477. pins = "GPIO21_AB3"; /* DAT31DIR */
  478. ste,config = <&out_hi>;
  479. };
  480. /* SD card detect GPIO pin, extend default state */
  481. snowball_cfg2 {
  482. pins = "GPIO218_AH11";
  483. ste,config = <&gpio_in_pu>;
  484. };
  485. /* VMMCI level-shifter enable */
  486. snowball_cfg3 {
  487. pins = "GPIO217_AH12";
  488. ste,config = <&gpio_out_hi>;
  489. };
  490. /* VMMCI level-shifter voltage select */
  491. snowball_cfg4 {
  492. pins = "GPIO228_AJ6";
  493. ste,config = <&gpio_out_hi>;
  494. };
  495. };
  496. };
  497. ssp0 {
  498. ssp0_snowball_mode: ssp0_snowball_default {
  499. snowball_mux {
  500. function = "ssp0";
  501. groups = "ssp0_a_1";
  502. };
  503. snowball_cfg1 {
  504. pins = "GPIO144_B13"; /* FRM */
  505. ste,config = <&gpio_out_hi>;
  506. };
  507. snowball_cfg2 {
  508. pins = "GPIO145_C13"; /* RXD */
  509. ste,config = <&in_pd>;
  510. };
  511. snowball_cfg3 {
  512. pins =
  513. "GPIO146_D13", /* TXD */
  514. "GPIO143_D12"; /* CLK */
  515. ste,config = <&out_lo>;
  516. };
  517. };
  518. };
  519. gpio_led {
  520. gpioled_snowball_mode: gpioled_default {
  521. snowball_cfg1 {
  522. pins = "GPIO142_C11";
  523. ste,config = <&gpio_out_hi>;
  524. };
  525. };
  526. };
  527. accelerometer {
  528. accel_snowball_mode: accel_snowball {
  529. /* Accelerometer lines */
  530. snowball_cfg1 {
  531. pins =
  532. "GPIO163_C20", /* ACCEL_IRQ1 */
  533. "GPIO164_B21"; /* ACCEL_IRQ2 */
  534. ste,config = <&gpio_in_pu>;
  535. };
  536. };
  537. };
  538. gyro {
  539. gyro_snowball_mode: gyro_snowball {
  540. snowball_cfg1 {
  541. pins =
  542. "GPIO166_A22", /* DRDY */
  543. "GPIO169_D22"; /* INT */
  544. ste,config = <&gpio_in_pu>;
  545. };
  546. };
  547. };
  548. magnetometer {
  549. magneto_snowball_mode: magneto_snowball {
  550. snowball_cfg1 {
  551. pins = "GPIO165_C21"; /* MAG_DRDY */
  552. ste,config = <&gpio_in_pu>;
  553. };
  554. };
  555. };
  556. gbf {
  557. gbf_snowball_mode: gbf_snowball {
  558. /*
  559. * GBF (GPS, Bluetooth, FM-radio) interface,
  560. * pull low to reset state
  561. */
  562. snowball_cfg1 {
  563. pins = "GPIO171_D23"; /* GBF_ENA_RESET */
  564. ste,config = <&gpio_out_lo>;
  565. };
  566. };
  567. };
  568. wlan {
  569. wlan_snowball_mode: wlan_snowball {
  570. /*
  571. * Activate this mode with the WLAN chip.
  572. * These are plain GPIO pins used by WLAN
  573. */
  574. snowball_cfg1 {
  575. pins =
  576. "GPIO161_D21", /* WLAN_PMU_EN */
  577. "GPIO215_AH13"; /* WLAN_ENA */
  578. ste,config = <&gpio_out_lo>;
  579. };
  580. snowball_cfg2 {
  581. pins = "GPIO216_AG12"; /* WLAN_IRQ */
  582. ste,config = <&gpio_in_pu>;
  583. };
  584. };
  585. };
  586. };
  587. mcde@a0350000 {
  588. pinctrl-names = "default", "sleep";
  589. pinctrl-0 = <&lcd_default_mode>;
  590. pinctrl-1 = <&lcd_sleep_mode>;
  591. };
  592. };
  593. };