Lee Jones | 6af7fd8 | 2012-08-30 15:53:39 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 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 | |
Linus Walleij | 2ce05a1 | 2013-08-07 15:37:52 +0200 | [diff] [blame] | 12 | #include "ste-dbx5x0.dtsi" |
| 13 | #include "ste-href.dtsi" |
Lee Jones | 6af7fd8 | 2012-08-30 15:53:39 +0100 | [diff] [blame] | 14 | |
| 15 | / { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 16 | model = "ST-Ericsson HREF (v60+) platform with Device Tree"; |
Lee Jones | 79b4075 | 2012-10-15 10:07:55 +0100 | [diff] [blame] | 17 | compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; |
Lee Jones | 6b8db13 | 2012-09-26 17:09:17 +0100 | [diff] [blame] | 18 | |
| 19 | gpio_keys { |
| 20 | button@1 { |
Linus Walleij | 0ca3399 | 2013-10-02 14:56:49 +0200 | [diff] [blame] | 21 | gpios = <&gpio5 25 0x4>; |
Lee Jones | 6b8db13 | 2012-09-26 17:09:17 +0100 | [diff] [blame] | 22 | }; |
| 23 | }; |
Lee Jones | cbebba7 | 2012-09-28 14:41:06 +0100 | [diff] [blame] | 24 | |
Gabriel Fernandez | b1ba143 | 2013-03-01 14:38:07 +0100 | [diff] [blame] | 25 | soc { |
Lee Jones | 7127c57 | 2012-09-14 15:27:41 +0100 | [diff] [blame] | 26 | // External Micro SD slot |
| 27 | sdi0_per1@80126000 { |
| 28 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 29 | max-frequency = <100000000>; |
Lee Jones | 7127c57 | 2012-09-14 15:27:41 +0100 | [diff] [blame] | 30 | bus-width = <4>; |
| 31 | mmc-cap-sd-highspeed; |
| 32 | mmc-cap-mmc-highspeed; |
| 33 | vmmc-supply = <&ab8500_ldo_aux3_reg>; |
| 34 | |
Linus Walleij | bf7a9b6 | 2013-10-02 16:12:52 +0200 | [diff] [blame] | 35 | cd-gpios = <&gpio2 31 0x4>; // 95 |
Lee Jones | 7127c57 | 2012-09-14 15:27:41 +0100 | [diff] [blame] | 36 | |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | |
| 40 | // WLAN SDIO channel |
| 41 | sdi1_per2@80118000 { |
| 42 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 43 | max-frequency = <100000000>; |
Lee Jones | 7127c57 | 2012-09-14 15:27:41 +0100 | [diff] [blame] | 44 | bus-width = <4>; |
| 45 | |
| 46 | status = "okay"; |
| 47 | }; |
| 48 | |
| 49 | // PoP:ed eMMC |
| 50 | sdi2_per3@80005000 { |
| 51 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 52 | max-frequency = <100000000>; |
Lee Jones | 7127c57 | 2012-09-14 15:27:41 +0100 | [diff] [blame] | 53 | bus-width = <8>; |
| 54 | mmc-cap-mmc-highspeed; |
| 55 | |
| 56 | status = "okay"; |
| 57 | }; |
| 58 | |
| 59 | // On-board eMMC |
| 60 | sdi4_per2@80114000 { |
| 61 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 62 | max-frequency = <100000000>; |
Lee Jones | 7127c57 | 2012-09-14 15:27:41 +0100 | [diff] [blame] | 63 | bus-width = <8>; |
| 64 | mmc-cap-mmc-highspeed; |
| 65 | vmmc-supply = <&ab8500_ldo_aux2_reg>; |
| 66 | |
| 67 | status = "okay"; |
| 68 | }; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame^] | 69 | |
| 70 | pinctrl { |
| 71 | sdi0 { |
| 72 | /* SD card detect GPIO pin, extend default state */ |
| 73 | sdi0_default_mode: sdi0_default { |
| 74 | default_hrefv60_cfg1 { |
| 75 | ste,pins = "GPIO95_E8"; |
| 76 | ste,config = <&gpio_in_pu>; |
| 77 | }; |
| 78 | }; |
| 79 | }; |
| 80 | }; |
Lee Jones | cbebba7 | 2012-09-28 14:41:06 +0100 | [diff] [blame] | 81 | }; |
Lee Jones | 6af7fd8 | 2012-08-30 15:53:39 +0100 | [diff] [blame] | 82 | }; |