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 | |
Gabriel Fernandez | b1ba143 | 2013-03-01 14:38:07 +0100 | [diff] [blame] | 21 | soc { |
Linus Walleij | a12f703 | 2013-11-13 15:59:40 +0100 | [diff] [blame] | 22 | usb_per5@a03e0000 { |
| 23 | pinctrl-names = "default", "sleep"; |
| 24 | pinctrl-0 = <&musb_default_mode>; |
| 25 | pinctrl-1 = <&musb_sleep_mode>; |
| 26 | }; |
| 27 | |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 28 | uart@80120000 { |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 29 | pinctrl-names = "default", "sleep"; |
| 30 | pinctrl-0 = <&uart0_default_mode>; |
| 31 | pinctrl-1 = <&uart0_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 32 | status = "okay"; |
| 33 | }; |
| 34 | |
| 35 | uart@80121000 { |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 36 | pinctrl-names = "default", "sleep"; |
| 37 | pinctrl-0 = <&uart1_default_mode>; |
| 38 | pinctrl-1 = <&uart1_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 39 | status = "okay"; |
| 40 | }; |
| 41 | |
| 42 | uart@80007000 { |
Linus Walleij | 3bfdebb | 2013-11-13 10:32:20 +0100 | [diff] [blame] | 43 | pinctrl-names = "default", "sleep"; |
| 44 | pinctrl-0 = <&uart2_default_mode>; |
| 45 | pinctrl-1 = <&uart2_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 46 | status = "okay"; |
| 47 | }; |
| 48 | |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 49 | i2c@80004000 { |
| 50 | pinctrl-names = "default","sleep"; |
| 51 | pinctrl-0 = <&i2c0_default_mode>; |
| 52 | pinctrl-1 = <&i2c0_sleep_mode>; |
| 53 | }; |
| 54 | |
| 55 | i2c@80122000 { |
| 56 | pinctrl-names = "default","sleep"; |
| 57 | pinctrl-0 = <&i2c1_default_mode>; |
| 58 | pinctrl-1 = <&i2c1_sleep_mode>; |
| 59 | }; |
| 60 | |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 61 | i2c@80128000 { |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 62 | pinctrl-names = "default","sleep"; |
| 63 | pinctrl-0 = <&i2c2_default_mode>; |
| 64 | pinctrl-1 = <&i2c2_sleep_mode>; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 65 | lp5521@33 { |
| 66 | compatible = "national,lp5521"; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 67 | reg = <0x33>; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 68 | label = "lp5521_pri"; |
| 69 | clock-mode = /bits/ 8 <2>; |
| 70 | chan0 { |
| 71 | led-cur = /bits/ 8 <0x2f>; |
| 72 | max-cur = /bits/ 8 <0x5f>; |
Linus Walleij | 385d61c | 2013-09-15 12:01:07 +0200 | [diff] [blame] | 73 | linux,default-trigger = "heartbeat"; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 74 | }; |
| 75 | chan1 { |
| 76 | led-cur = /bits/ 8 <0x2f>; |
| 77 | max-cur = /bits/ 8 <0x5f>; |
| 78 | }; |
| 79 | chan2 { |
| 80 | led-cur = /bits/ 8 <0x2f>; |
| 81 | max-cur = /bits/ 8 <0x5f>; |
| 82 | }; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 83 | }; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 84 | lp5521@34 { |
| 85 | compatible = "national,lp5521"; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 86 | reg = <0x34>; |
Linus Walleij | 2bd7378 | 2013-05-22 10:09:39 +0200 | [diff] [blame] | 87 | label = "lp5521_sec"; |
| 88 | clock-mode = /bits/ 8 <2>; |
| 89 | chan0 { |
| 90 | led-cur = /bits/ 8 <0x2f>; |
| 91 | max-cur = /bits/ 8 <0x5f>; |
| 92 | }; |
| 93 | chan1 { |
| 94 | led-cur = /bits/ 8 <0x2f>; |
| 95 | max-cur = /bits/ 8 <0x5f>; |
| 96 | }; |
| 97 | chan2 { |
| 98 | led-cur = /bits/ 8 <0x2f>; |
| 99 | max-cur = /bits/ 8 <0x5f>; |
| 100 | }; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 101 | }; |
Linus Walleij | d594224 | 2013-06-04 11:50:32 +0200 | [diff] [blame] | 102 | bh1780@29 { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 103 | compatible = "rohm,bh1780gli"; |
Linus Walleij | 7e9dee0 | 2013-10-02 13:40:09 +0200 | [diff] [blame] | 104 | reg = <0x29>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 105 | }; |
| 106 | }; |
| 107 | |
Linus Walleij | 96fee13 | 2013-11-13 11:10:07 +0100 | [diff] [blame] | 108 | i2c@80110000 { |
| 109 | pinctrl-names = "default","sleep"; |
| 110 | pinctrl-0 = <&i2c3_default_mode>; |
| 111 | pinctrl-1 = <&i2c3_sleep_mode>; |
| 112 | }; |
| 113 | |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 114 | // External Micro SD slot |
| 115 | sdi0_per1@80126000 { |
| 116 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 117 | max-frequency = <100000000>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 118 | bus-width = <4>; |
Ulf Hansson | 30cdd66 | 2014-03-18 20:34:04 +0100 | [diff] [blame] | 119 | cap-sd-highspeed; |
| 120 | cap-mmc-highspeed; |
Ulf Hansson | 09585ab | 2014-03-19 14:11:44 +0100 | [diff] [blame] | 121 | sd-uhs-sdr12; |
| 122 | sd-uhs-sdr25; |
| 123 | full-pwr-cycle; |
Ulf Hansson | d63df63 | 2014-03-18 10:47:25 +0100 | [diff] [blame] | 124 | st,sig-dir-dat0; |
| 125 | st,sig-dir-dat2; |
| 126 | st,sig-dir-cmd; |
| 127 | st,sig-pin-fbclk; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 128 | vmmc-supply = <&ab8500_ldo_aux3_reg>; |
Lee Jones | d05b066 | 2012-12-06 15:08:45 +0000 | [diff] [blame] | 129 | vqmmc-supply = <&vmmci>; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 130 | pinctrl-names = "default", "sleep"; |
| 131 | pinctrl-0 = <&sdi0_default_mode>; |
| 132 | pinctrl-1 = <&sdi0_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 133 | |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 134 | status = "okay"; |
| 135 | }; |
| 136 | |
| 137 | // WLAN SDIO channel |
| 138 | sdi1_per2@80118000 { |
| 139 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 140 | max-frequency = <100000000>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 141 | bus-width = <4>; |
Ulf Hansson | 09585ab | 2014-03-19 14:11:44 +0100 | [diff] [blame] | 142 | non-removable; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 143 | pinctrl-names = "default", "sleep"; |
| 144 | pinctrl-0 = <&sdi1_default_mode>; |
| 145 | pinctrl-1 = <&sdi1_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 146 | |
| 147 | status = "okay"; |
| 148 | }; |
| 149 | |
| 150 | // PoP:ed eMMC |
| 151 | sdi2_per3@80005000 { |
| 152 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 153 | max-frequency = <100000000>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 154 | bus-width = <8>; |
Ulf Hansson | 30cdd66 | 2014-03-18 20:34:04 +0100 | [diff] [blame] | 155 | cap-mmc-highspeed; |
Ulf Hansson | 09585ab | 2014-03-19 14:11:44 +0100 | [diff] [blame] | 156 | non-removable; |
Ulf Hansson | e1a309a | 2014-03-20 14:07:34 +0100 | [diff] [blame] | 157 | vmmc-supply = <&db8500_vsmps2_reg>; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 158 | pinctrl-names = "default", "sleep"; |
| 159 | pinctrl-0 = <&sdi2_default_mode>; |
| 160 | pinctrl-1 = <&sdi2_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 161 | |
| 162 | status = "okay"; |
| 163 | }; |
| 164 | |
| 165 | // On-board eMMC |
| 166 | sdi4_per2@80114000 { |
| 167 | arm,primecell-periphid = <0x10480180>; |
Linus Walleij | 90ccde4 | 2013-05-27 13:15:05 +0200 | [diff] [blame] | 168 | max-frequency = <100000000>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 169 | bus-width = <8>; |
Ulf Hansson | 30cdd66 | 2014-03-18 20:34:04 +0100 | [diff] [blame] | 170 | cap-mmc-highspeed; |
Ulf Hansson | 09585ab | 2014-03-19 14:11:44 +0100 | [diff] [blame] | 171 | non-removable; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 172 | vmmc-supply = <&ab8500_ldo_aux2_reg>; |
Linus Walleij | 1e66235 | 2013-11-13 13:46:57 +0100 | [diff] [blame] | 173 | pinctrl-names = "default", "sleep"; |
| 174 | pinctrl-0 = <&sdi4_default_mode>; |
| 175 | pinctrl-1 = <&sdi4_sleep_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 176 | |
| 177 | status = "okay"; |
| 178 | }; |
| 179 | |
| 180 | sound { |
| 181 | compatible = "stericsson,snd-soc-mop500"; |
| 182 | |
| 183 | stericsson,cpu-dai = <&msp1 &msp3>; |
| 184 | stericsson,audio-codec = <&codec>; |
| 185 | }; |
| 186 | |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 187 | msp0: msp@80123000 { |
| 188 | pinctrl-names = "default"; |
| 189 | pinctrl-0 = <&msp0_default_mode>; |
| 190 | status = "okay"; |
| 191 | }; |
| 192 | |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 193 | msp1: msp@80124000 { |
Linus Walleij | 70b41ab | 2013-11-13 14:45:06 +0100 | [diff] [blame] | 194 | pinctrl-names = "default"; |
| 195 | pinctrl-0 = <&msp1_default_mode>; |
| 196 | status = "okay"; |
| 197 | }; |
| 198 | |
| 199 | msp2: msp@80117000 { |
| 200 | pinctrl-names = "default"; |
| 201 | pinctrl-0 = <&msp2_default_mode>; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 202 | }; |
| 203 | |
| 204 | msp3: msp@80125000 { |
| 205 | status = "okay"; |
| 206 | }; |
| 207 | |
| 208 | prcmu@80157000 { |
Arnd Bergmann | d52701d3 | 2013-03-12 09:39:01 +0100 | [diff] [blame] | 209 | ab8500 { |
Linus Walleij | c90c36e | 2013-09-26 15:09:14 +0200 | [diff] [blame] | 210 | ab8500-gpio { |
| 211 | compatible = "stericsson,ab8500-gpio"; |
| 212 | }; |
| 213 | |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 214 | ab8500-regulators { |
| 215 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { |
| 216 | regulator-name = "V-DISPLAY"; |
| 217 | }; |
| 218 | |
| 219 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { |
| 220 | regulator-name = "V-eMMC1"; |
| 221 | }; |
| 222 | |
| 223 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { |
| 224 | regulator-name = "V-MMC-SD"; |
| 225 | }; |
| 226 | |
Fabio Baltieri | 99b38ee | 2013-04-09 11:16:56 +0200 | [diff] [blame] | 227 | ab8500_ldo_intcore_reg: ab8500_ldo_intcore { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 228 | regulator-name = "V-INTCORE"; |
| 229 | }; |
| 230 | |
| 231 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { |
| 232 | regulator-name = "V-TVOUT"; |
| 233 | }; |
| 234 | |
| 235 | ab8500_ldo_usb_reg: ab8500_ldo_usb { |
| 236 | regulator-name = "dummy"; |
| 237 | }; |
| 238 | |
| 239 | ab8500_ldo_audio_reg: ab8500_ldo_audio { |
| 240 | regulator-name = "V-AUD"; |
| 241 | }; |
| 242 | |
| 243 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { |
| 244 | regulator-name = "V-AMIC1"; |
| 245 | }; |
| 246 | |
Fabio Baltieri | 5510ed9 | 2013-05-30 15:27:42 +0200 | [diff] [blame] | 247 | ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 { |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 248 | regulator-name = "V-AMIC2"; |
| 249 | }; |
| 250 | |
| 251 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { |
| 252 | regulator-name = "V-DMIC"; |
| 253 | }; |
| 254 | |
| 255 | ab8500_ldo_ana_reg: ab8500_ldo_ana { |
| 256 | regulator-name = "V-CSI/DSI"; |
| 257 | }; |
| 258 | }; |
| 259 | }; |
| 260 | }; |
Linus Walleij | 817a5b9 | 2013-11-14 15:23:20 +0100 | [diff] [blame] | 261 | |
| 262 | mcde@a0350000 { |
| 263 | pinctrl-names = "default", "sleep"; |
| 264 | pinctrl-0 = <&lcd_default_mode>; |
| 265 | pinctrl-1 = <&lcd_sleep_mode>; |
| 266 | }; |
Lee Jones | d1b8bfa | 2012-09-26 13:29:09 +0100 | [diff] [blame] | 267 | }; |
| 268 | }; |