Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +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 | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 12 | #include <dt-bindings/interrupt-controller/irq.h> |
Linus Walleij | 2ce05a1 | 2013-08-07 15:37:52 +0200 | [diff] [blame] | 13 | #include "ste-dbx5x0.dtsi" |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 14 | #include "ste-href-family-pinctrl.dtsi" |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | memory { |
| 18 | reg = <0x00000000 0x20000000>; |
| 19 | }; |
| 20 | |
Lee Jones | 6b8db13 | 2012-09-26 17:09:17 +0100 | [diff] [blame] | 21 | gpio_keys { |
| 22 | compatible = "gpio-keys"; |
| 23 | #address-cells = <1>; |
| 24 | #size-cells = <0>; |
| 25 | |
| 26 | button@1 { |
| 27 | linux,code = <11>; |
| 28 | label = "SFH7741 Proximity Sensor"; |
| 29 | }; |
| 30 | }; |
| 31 | |
Gabriel Fernandez | b1ba143 | 2013-03-01 14:38:07 +0100 | [diff] [blame] | 32 | soc { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 33 | uart@80120000 { |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 34 | pinctrl-names = "default", "sleep"; |
| 35 | pinctrl-0 = <&uart0_default_mode>; |
| 36 | pinctrl-1 = <&uart0_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 37 | status = "okay"; |
| 38 | }; |
| 39 | |
| 40 | uart@80121000 { |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 41 | pinctrl-names = "default", "sleep"; |
| 42 | pinctrl-0 = <&uart1_default_mode>; |
| 43 | pinctrl-1 = <&uart1_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 44 | status = "okay"; |
| 45 | }; |
| 46 | |
| 47 | uart@80007000 { |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 48 | pinctrl-names = "default", "sleep"; |
| 49 | pinctrl-0 = <&uart2_default_mode>; |
| 50 | pinctrl-1 = <&uart2_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 51 | status = "okay"; |
| 52 | }; |
| 53 | |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame^] | 54 | i2c@80004000 { |
| 55 | pinctrl-names = "default","sleep"; |
| 56 | pinctrl-0 = <&i2c0_default_mode>; |
| 57 | pinctrl-1 = <&i2c0_sleep_mode>; |
| 58 | }; |
| 59 | |
| 60 | i2c@80122000 { |
| 61 | pinctrl-names = "default","sleep"; |
| 62 | pinctrl-0 = <&i2c1_default_mode>; |
| 63 | pinctrl-1 = <&i2c1_sleep_mode>; |
| 64 | }; |
| 65 | |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 66 | i2c@80128000 { |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame^] | 67 | pinctrl-names = "default","sleep"; |
| 68 | pinctrl-0 = <&i2c2_default_mode>; |
| 69 | pinctrl-1 = <&i2c2_sleep_mode>; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 70 | lp5521@33 { |
| 71 | compatible = "national,lp5521"; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 72 | reg = <0x33>; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 73 | label = "lp5521_pri"; |
| 74 | clock-mode = /bits/ 8 <2>; |
| 75 | chan0 { |
| 76 | led-cur = /bits/ 8 <0x2f>; |
| 77 | max-cur = /bits/ 8 <0x5f>; |
Linus Walleij | 385d61c | 2013-09-15 12:01:07 +0200 | [diff] [blame] | 78 | linux,default-trigger = "heartbeat"; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 79 | }; |
| 80 | chan1 { |
| 81 | led-cur = /bits/ 8 <0x2f>; |
| 82 | max-cur = /bits/ 8 <0x5f>; |
| 83 | }; |
| 84 | chan2 { |
| 85 | led-cur = /bits/ 8 <0x2f>; |
| 86 | max-cur = /bits/ 8 <0x5f>; |
| 87 | }; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 88 | }; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 89 | lp5521@34 { |
| 90 | compatible = "national,lp5521"; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 91 | reg = <0x34>; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 92 | label = "lp5521_sec"; |
| 93 | clock-mode = /bits/ 8 <2>; |
| 94 | chan0 { |
| 95 | led-cur = /bits/ 8 <0x2f>; |
| 96 | max-cur = /bits/ 8 <0x5f>; |
| 97 | }; |
| 98 | chan1 { |
| 99 | led-cur = /bits/ 8 <0x2f>; |
| 100 | max-cur = /bits/ 8 <0x5f>; |
| 101 | }; |
| 102 | chan2 { |
| 103 | led-cur = /bits/ 8 <0x2f>; |
| 104 | max-cur = /bits/ 8 <0x5f>; |
| 105 | }; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 106 | }; |
Linus Walleij | d594224 | 2013-06-04 11:50:32 +0200 | [diff] [blame] | 107 | bh1780@29 { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 108 | compatible = "rohm,bh1780gli"; |
Linus Walleij | 7e9dee0 | 2013-10-02 13:40:09 +0200 | [diff] [blame] | 109 | reg = <0x29>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 110 | }; |
| 111 | }; |
| 112 | |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame^] | 113 | i2c@80110000 { |
| 114 | pinctrl-names = "default","sleep"; |
| 115 | pinctrl-0 = <&i2c3_default_mode>; |
| 116 | pinctrl-1 = <&i2c3_sleep_mode>; |
| 117 | }; |
| 118 | |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 119 | // External Micro SD slot |
| 120 | sdi0_per1@80126000 { |
| 121 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 122 | max-frequency = <100000000>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 123 | bus-width = <4>; |
| 124 | mmc-cap-sd-highspeed; |
| 125 | mmc-cap-mmc-highspeed; |
| 126 | vmmc-supply = <&ab8500_ldo_aux3_reg>; |
Lee Jones | d05b066 | 2012-12-06 15:08:45 +0000 | [diff] [blame] | 127 | vqmmc-supply = <&vmmci>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 128 | |
| 129 | cd-gpios = <&tc3589x_gpio 3 0x4>; |
| 130 | |
| 131 | status = "okay"; |
| 132 | }; |
| 133 | |
| 134 | // WLAN SDIO channel |
| 135 | sdi1_per2@80118000 { |
| 136 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 137 | max-frequency = <100000000>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 138 | bus-width = <4>; |
| 139 | |
| 140 | status = "okay"; |
| 141 | }; |
| 142 | |
| 143 | // PoP:ed eMMC |
| 144 | sdi2_per3@80005000 { |
| 145 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 146 | max-frequency = <100000000>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 147 | bus-width = <8>; |
| 148 | mmc-cap-mmc-highspeed; |
| 149 | |
| 150 | status = "okay"; |
| 151 | }; |
| 152 | |
| 153 | // On-board eMMC |
| 154 | sdi4_per2@80114000 { |
| 155 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 156 | max-frequency = <100000000>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 157 | bus-width = <8>; |
| 158 | mmc-cap-mmc-highspeed; |
| 159 | vmmc-supply = <&ab8500_ldo_aux2_reg>; |
| 160 | |
| 161 | status = "okay"; |
| 162 | }; |
| 163 | |
| 164 | sound { |
| 165 | compatible = "stericsson,snd-soc-mop500"; |
| 166 | |
| 167 | stericsson,cpu-dai = <&msp1 &msp3>; |
| 168 | stericsson,audio-codec = <&codec>; |
| 169 | }; |
| 170 | |
| 171 | msp1: msp@80124000 { |
| 172 | status = "okay"; |
| 173 | }; |
| 174 | |
| 175 | msp3: msp@80125000 { |
| 176 | status = "okay"; |
| 177 | }; |
| 178 | |
| 179 | prcmu@80157000 { |
Arnd Bergmann | d52701d3 | 2013-03-12 09:39:01 +0100 | [diff] [blame] | 180 | ab8500 { |
Linus Walleij | c90c36e | 2013-09-26 15:09:14 +0200 | [diff] [blame] | 181 | ab8500-gpio { |
| 182 | compatible = "stericsson,ab8500-gpio"; |
| 183 | }; |
| 184 | |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 185 | ab8500-regulators { |
| 186 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { |
| 187 | regulator-name = "V-DISPLAY"; |
| 188 | }; |
| 189 | |
| 190 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { |
| 191 | regulator-name = "V-eMMC1"; |
| 192 | }; |
| 193 | |
| 194 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { |
| 195 | regulator-name = "V-MMC-SD"; |
| 196 | }; |
| 197 | |
Fabio Baltieri | 99b38ee | 2013-04-09 11:16:56 +0200 | [diff] [blame] | 198 | ab8500_ldo_intcore_reg: ab8500_ldo_intcore { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 199 | regulator-name = "V-INTCORE"; |
| 200 | }; |
| 201 | |
| 202 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { |
| 203 | regulator-name = "V-TVOUT"; |
| 204 | }; |
| 205 | |
| 206 | ab8500_ldo_usb_reg: ab8500_ldo_usb { |
| 207 | regulator-name = "dummy"; |
| 208 | }; |
| 209 | |
| 210 | ab8500_ldo_audio_reg: ab8500_ldo_audio { |
| 211 | regulator-name = "V-AUD"; |
| 212 | }; |
| 213 | |
| 214 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { |
| 215 | regulator-name = "V-AMIC1"; |
| 216 | }; |
| 217 | |
Fabio Baltieri | 5510ed9 | 2013-05-30 15:27:42 +0200 | [diff] [blame] | 218 | ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 219 | regulator-name = "V-AMIC2"; |
| 220 | }; |
| 221 | |
| 222 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { |
| 223 | regulator-name = "V-DMIC"; |
| 224 | }; |
| 225 | |
| 226 | ab8500_ldo_ana_reg: ab8500_ldo_ana { |
| 227 | regulator-name = "V-CSI/DSI"; |
| 228 | }; |
| 229 | }; |
| 230 | }; |
| 231 | }; |
| 232 | }; |
| 233 | }; |