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 12#include <dt-bindings/interrupt-controller/irq.h> 13#include "ste-dbx5x0.dtsi" 14#include "ste-href-family-pinctrl.dtsi" 15 16/ { 17 memory { 18 reg = <0x00000000 0x20000000>; 19 }; 20 21 soc { 22 usb_per5@a03e0000 { 23 pinctrl-names = "default", "sleep"; 24 pinctrl-0 = <&musb_default_mode>; 25 pinctrl-1 = <&musb_sleep_mode>; 26 }; 27 28 uart@80120000 { 29 pinctrl-names = "default", "sleep"; 30 pinctrl-0 = <&uart0_default_mode>; 31 pinctrl-1 = <&uart0_sleep_mode>; 32 status = "okay"; 33 }; 34 35 /* This UART is unused and thus left disabled */ 36 uart@80121000 { 37 pinctrl-names = "default", "sleep"; 38 pinctrl-0 = <&uart1_default_mode>; 39 pinctrl-1 = <&uart1_sleep_mode>; 40 }; 41 42 uart@80007000 { 43 pinctrl-names = "default", "sleep"; 44 pinctrl-0 = <&uart2_default_mode>; 45 pinctrl-1 = <&uart2_sleep_mode>; 46 status = "okay"; 47 }; 48 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 61 i2c@80128000 { 62 pinctrl-names = "default","sleep"; 63 pinctrl-0 = <&i2c2_default_mode>; 64 pinctrl-1 = <&i2c2_sleep_mode>; 65 lp5521@33 { 66 compatible = "national,lp5521"; 67 reg = <0x33>; 68 label = "lp5521_pri"; 69 clock-mode = /bits/ 8 <2>; 70 chan0 { 71 led-cur = /bits/ 8 <0x2f>; 72 max-cur = /bits/ 8 <0x5f>; 73 linux,default-trigger = "heartbeat"; 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 }; 83 }; 84 lp5521@34 { 85 compatible = "national,lp5521"; 86 reg = <0x34>; 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 }; 101 }; 102 bh1780@29 { 103 compatible = "rohm,bh1780gli"; 104 reg = <0x29>; 105 }; 106 }; 107 108 i2c@80110000 { 109 pinctrl-names = "default","sleep"; 110 pinctrl-0 = <&i2c3_default_mode>; 111 pinctrl-1 = <&i2c3_sleep_mode>; 112 }; 113 114 vmmci: regulator-gpio { 115 compatible = "regulator-gpio"; 116 117 regulator-min-microvolt = <1800000>; 118 regulator-max-microvolt = <2900000>; 119 regulator-name = "mmci-reg"; 120 regulator-type = "voltage"; 121 122 startup-delay-us = <100>; 123 enable-active-high; 124 125 states = <1800000 0x1 126 2900000 0x0>; 127 }; 128 129 // External Micro SD slot 130 sdi0_per1@80126000 { 131 arm,primecell-periphid = <0x10480180>; 132 max-frequency = <100000000>; 133 bus-width = <4>; 134 cap-sd-highspeed; 135 cap-mmc-highspeed; 136 sd-uhs-sdr12; 137 sd-uhs-sdr25; 138 full-pwr-cycle; 139 st,sig-dir-dat0; 140 st,sig-dir-dat2; 141 st,sig-dir-cmd; 142 st,sig-pin-fbclk; 143 vmmc-supply = <&ab8500_ldo_aux3_reg>; 144 vqmmc-supply = <&vmmci>; 145 pinctrl-names = "default", "sleep"; 146 pinctrl-0 = <&sdi0_default_mode>; 147 pinctrl-1 = <&sdi0_sleep_mode>; 148 149 status = "okay"; 150 }; 151 152 // WLAN SDIO channel 153 sdi1_per2@80118000 { 154 arm,primecell-periphid = <0x10480180>; 155 max-frequency = <100000000>; 156 bus-width = <4>; 157 non-removable; 158 pinctrl-names = "default", "sleep"; 159 pinctrl-0 = <&sdi1_default_mode>; 160 pinctrl-1 = <&sdi1_sleep_mode>; 161 162 status = "okay"; 163 }; 164 165 // PoP:ed eMMC 166 sdi2_per3@80005000 { 167 arm,primecell-periphid = <0x10480180>; 168 max-frequency = <100000000>; 169 bus-width = <8>; 170 cap-mmc-highspeed; 171 non-removable; 172 vmmc-supply = <&db8500_vsmps2_reg>; 173 pinctrl-names = "default", "sleep"; 174 pinctrl-0 = <&sdi2_default_mode>; 175 pinctrl-1 = <&sdi2_sleep_mode>; 176 177 status = "okay"; 178 }; 179 180 // On-board eMMC 181 sdi4_per2@80114000 { 182 arm,primecell-periphid = <0x10480180>; 183 max-frequency = <100000000>; 184 bus-width = <8>; 185 cap-mmc-highspeed; 186 non-removable; 187 vmmc-supply = <&ab8500_ldo_aux2_reg>; 188 pinctrl-names = "default", "sleep"; 189 pinctrl-0 = <&sdi4_default_mode>; 190 pinctrl-1 = <&sdi4_sleep_mode>; 191 192 status = "okay"; 193 }; 194 195 sound { 196 compatible = "stericsson,snd-soc-mop500"; 197 198 stericsson,cpu-dai = <&msp1 &msp3>; 199 stericsson,audio-codec = <&codec>; 200 }; 201 202 msp0: msp@80123000 { 203 pinctrl-names = "default"; 204 pinctrl-0 = <&msp0_default_mode>; 205 status = "okay"; 206 }; 207 208 msp1: msp@80124000 { 209 pinctrl-names = "default"; 210 pinctrl-0 = <&msp1_default_mode>; 211 status = "okay"; 212 }; 213 214 msp2: msp@80117000 { 215 pinctrl-names = "default"; 216 pinctrl-0 = <&msp2_default_mode>; 217 }; 218 219 msp3: msp@80125000 { 220 status = "okay"; 221 }; 222 223 prcmu@80157000 { 224 ab8500 { 225 ab8500-gpio { 226 compatible = "stericsson,ab8500-gpio"; 227 }; 228 229 ab8500-regulators { 230 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { 231 regulator-name = "V-DISPLAY"; 232 }; 233 234 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { 235 regulator-name = "V-eMMC1"; 236 }; 237 238 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { 239 regulator-name = "V-MMC-SD"; 240 }; 241 242 ab8500_ldo_intcore_reg: ab8500_ldo_intcore { 243 regulator-name = "V-INTCORE"; 244 }; 245 246 ab8500_ldo_tvout_reg: ab8500_ldo_tvout { 247 regulator-name = "V-TVOUT"; 248 }; 249 250 ab8500_ldo_usb_reg: ab8500_ldo_usb { 251 regulator-name = "dummy"; 252 }; 253 254 ab8500_ldo_audio_reg: ab8500_ldo_audio { 255 regulator-name = "V-AUD"; 256 }; 257 258 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { 259 regulator-name = "V-AMIC1"; 260 }; 261 262 ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 { 263 regulator-name = "V-AMIC2"; 264 }; 265 266 ab8500_ldo_dmic_reg: ab8500_ldo_dmic { 267 regulator-name = "V-DMIC"; 268 }; 269 270 ab8500_ldo_ana_reg: ab8500_ldo_ana { 271 regulator-name = "V-CSI/DSI"; 272 }; 273 }; 274 }; 275 }; 276 277 mcde@a0350000 { 278 pinctrl-names = "default", "sleep"; 279 pinctrl-0 = <&lcd_default_mode>; 280 pinctrl-1 = <&lcd_sleep_mode>; 281 }; 282 }; 283}; 284