| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 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 | 4 | */ |
|---|
| 11 | 5 | |
|---|
| 12 | 6 | /dts-v1/; |
|---|
| 13 | | -#include "ste-dbx5x0.dtsi" |
|---|
| 7 | +#include "ste-db9500.dtsi" |
|---|
| 14 | 8 | #include "ste-href-ab8500.dtsi" |
|---|
| 15 | 9 | #include "ste-href-family-pinctrl.dtsi" |
|---|
| 16 | 10 | |
|---|
| .. | .. |
|---|
| 18 | 12 | model = "Calao Systems Snowball platform with device tree"; |
|---|
| 19 | 13 | compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; |
|---|
| 20 | 14 | |
|---|
| 21 | | - /* This stablilizes the serial port enumeration */ |
|---|
| 22 | | - aliases { |
|---|
| 23 | | - serial0 = &ux500_serial0; |
|---|
| 24 | | - serial1 = &ux500_serial1; |
|---|
| 25 | | - serial2 = &ux500_serial2; |
|---|
| 26 | | - }; |
|---|
| 27 | | - |
|---|
| 28 | 15 | memory { |
|---|
| 16 | + device_type = "memory"; |
|---|
| 29 | 17 | reg = <0x00000000 0x20000000>; |
|---|
| 30 | 18 | }; |
|---|
| 31 | 19 | |
|---|
| .. | .. |
|---|
| 161 | 149 | |
|---|
| 162 | 150 | msp0: msp@80123000 { |
|---|
| 163 | 151 | pinctrl-names = "default"; |
|---|
| 164 | | - pinctrl-0 = <&msp0_default_mode>; |
|---|
| 152 | + pinctrl-0 = <&msp0txrxtfstck_a_1_default>; |
|---|
| 165 | 153 | status = "okay"; |
|---|
| 166 | 154 | }; |
|---|
| 167 | 155 | |
|---|
| 168 | 156 | msp1: msp@80124000 { |
|---|
| 169 | 157 | pinctrl-names = "default"; |
|---|
| 170 | | - pinctrl-0 = <&msp1_default_mode>; |
|---|
| 158 | + pinctrl-0 = <&msp1txrx_a_1_default>; |
|---|
| 171 | 159 | status = "okay"; |
|---|
| 172 | 160 | }; |
|---|
| 173 | 161 | |
|---|
| 174 | 162 | msp2: msp@80117000 { |
|---|
| 175 | 163 | pinctrl-names = "default"; |
|---|
| 176 | | - pinctrl-0 = <&msp2_default_mode>; |
|---|
| 164 | + pinctrl-0 = <&msp2_a_1_default>; |
|---|
| 177 | 165 | }; |
|---|
| 178 | 166 | |
|---|
| 179 | 167 | msp3: msp@80125000 { |
|---|
| .. | .. |
|---|
| 243 | 231 | vmmc-supply = <&ab8500_ldo_aux3_reg>; |
|---|
| 244 | 232 | vqmmc-supply = <&vmmci>; |
|---|
| 245 | 233 | pinctrl-names = "default", "sleep"; |
|---|
| 246 | | - pinctrl-0 = <&sdi0_default_mode>; |
|---|
| 247 | | - pinctrl-1 = <&sdi0_sleep_mode>; |
|---|
| 234 | + pinctrl-0 = <&mc0_a_1_default &sdi0_default_mode>; |
|---|
| 235 | + pinctrl-1 = <&mc0_a_1_sleep>; |
|---|
| 248 | 236 | |
|---|
| 249 | 237 | /* GPIO218 MMC_CD */ |
|---|
| 250 | 238 | cd-gpios = <&gpio6 26 GPIO_ACTIVE_LOW>; |
|---|
| .. | .. |
|---|
| 258 | 246 | max-frequency = <100000000>; |
|---|
| 259 | 247 | bus-width = <4>; |
|---|
| 260 | 248 | pinctrl-names = "default", "sleep"; |
|---|
| 261 | | - pinctrl-0 = <&sdi1_default_mode>; |
|---|
| 262 | | - pinctrl-1 = <&sdi1_sleep_mode>; |
|---|
| 249 | + pinctrl-0 = <&mc1_a_1_default>; |
|---|
| 250 | + pinctrl-1 = <&mc1_a_1_sleep>; |
|---|
| 263 | 251 | |
|---|
| 264 | 252 | status = "okay"; |
|---|
| 265 | 253 | }; |
|---|
| .. | .. |
|---|
| 268 | 256 | sdi2_per3@80005000 { |
|---|
| 269 | 257 | arm,primecell-periphid = <0x10480180>; |
|---|
| 270 | 258 | pinctrl-names = "default"; |
|---|
| 271 | | - pinctrl-0 = <&sdi2_sleep_mode>; |
|---|
| 259 | + pinctrl-0 = <&mc2_a_1_sleep>; |
|---|
| 272 | 260 | |
|---|
| 273 | 261 | status = "okay"; |
|---|
| 274 | 262 | }; |
|---|
| .. | .. |
|---|
| 281 | 269 | cap-mmc-highspeed; |
|---|
| 282 | 270 | vmmc-supply = <&ab8500_ldo_aux2_reg>; |
|---|
| 283 | 271 | pinctrl-names = "default", "sleep"; |
|---|
| 284 | | - pinctrl-0 = <&sdi4_default_mode>; |
|---|
| 285 | | - pinctrl-1 = <&sdi4_sleep_mode>; |
|---|
| 272 | + pinctrl-0 = <&mc4_a_1_default>; |
|---|
| 273 | + pinctrl-1 = <&mc4_a_1_sleep>; |
|---|
| 286 | 274 | |
|---|
| 287 | 275 | status = "okay"; |
|---|
| 288 | 276 | }; |
|---|
| 289 | 277 | |
|---|
| 290 | 278 | uart@80120000 { |
|---|
| 291 | 279 | pinctrl-names = "default", "sleep"; |
|---|
| 292 | | - pinctrl-0 = <&uart0_default_mode>; |
|---|
| 293 | | - pinctrl-1 = <&uart0_sleep_mode>; |
|---|
| 280 | + pinctrl-0 = <&u0_a_1_default>; |
|---|
| 281 | + pinctrl-1 = <&u0_a_1_sleep>; |
|---|
| 294 | 282 | status = "okay"; |
|---|
| 295 | 283 | }; |
|---|
| 296 | 284 | |
|---|
| 297 | 285 | /* This UART is unused and thus left disabled */ |
|---|
| 298 | 286 | uart@80121000 { |
|---|
| 299 | 287 | pinctrl-names = "default", "sleep"; |
|---|
| 300 | | - pinctrl-0 = <&uart1_default_mode>; |
|---|
| 301 | | - pinctrl-1 = <&uart1_sleep_mode>; |
|---|
| 288 | + pinctrl-0 = <&u1rxtx_a_1_default>; |
|---|
| 289 | + pinctrl-1 = <&u1rxtx_a_1_sleep>; |
|---|
| 302 | 290 | }; |
|---|
| 303 | 291 | |
|---|
| 304 | 292 | uart@80007000 { |
|---|
| 305 | 293 | pinctrl-names = "default", "sleep"; |
|---|
| 306 | | - pinctrl-0 = <&uart2_default_mode>; |
|---|
| 307 | | - pinctrl-1 = <&uart2_sleep_mode>; |
|---|
| 294 | + pinctrl-0 = <&u2rxtx_c_1_default>; |
|---|
| 295 | + pinctrl-1 = <&u2rxtx_c_1_sleep>; |
|---|
| 308 | 296 | status = "okay"; |
|---|
| 309 | 297 | }; |
|---|
| 310 | 298 | |
|---|
| 311 | 299 | i2c@80004000 { |
|---|
| 312 | 300 | pinctrl-names = "default","sleep"; |
|---|
| 313 | | - pinctrl-0 = <&i2c0_default_mode>; |
|---|
| 314 | | - pinctrl-1 = <&i2c0_sleep_mode>; |
|---|
| 301 | + pinctrl-0 = <&i2c0_a_1_default>; |
|---|
| 302 | + pinctrl-1 = <&i2c0_a_1_sleep>; |
|---|
| 303 | + status = "okay"; |
|---|
| 315 | 304 | }; |
|---|
| 316 | 305 | |
|---|
| 317 | 306 | i2c@80122000 { |
|---|
| 318 | 307 | pinctrl-names = "default","sleep"; |
|---|
| 319 | | - pinctrl-0 = <&i2c1_default_mode>; |
|---|
| 320 | | - pinctrl-1 = <&i2c1_sleep_mode>; |
|---|
| 308 | + pinctrl-0 = <&i2c1_b_2_default>; |
|---|
| 309 | + pinctrl-1 = <&i2c1_b_2_sleep>; |
|---|
| 310 | + status = "okay"; |
|---|
| 321 | 311 | }; |
|---|
| 322 | 312 | |
|---|
| 323 | 313 | i2c@80128000 { |
|---|
| 324 | 314 | pinctrl-names = "default","sleep"; |
|---|
| 325 | | - pinctrl-0 = <&i2c2_default_mode>; |
|---|
| 326 | | - pinctrl-1 = <&i2c2_sleep_mode>; |
|---|
| 315 | + pinctrl-0 = <&i2c2_b_2_default>; |
|---|
| 316 | + pinctrl-1 = <&i2c2_b_2_sleep>; |
|---|
| 317 | + status = "okay"; |
|---|
| 327 | 318 | lsm303dlh@18 { |
|---|
| 328 | 319 | /* Accelerometer */ |
|---|
| 329 | 320 | compatible = "st,lsm303dlh-accel"; |
|---|
| .. | .. |
|---|
| 372 | 363 | |
|---|
| 373 | 364 | i2c@80110000 { |
|---|
| 374 | 365 | pinctrl-names = "default","sleep"; |
|---|
| 375 | | - pinctrl-0 = <&i2c3_default_mode>; |
|---|
| 376 | | - pinctrl-1 = <&i2c3_sleep_mode>; |
|---|
| 366 | + pinctrl-0 = <&i2c3_c_2_default>; |
|---|
| 367 | + pinctrl-1 = <&i2c3_c_2_sleep>; |
|---|
| 368 | + status = "okay"; |
|---|
| 377 | 369 | }; |
|---|
| 378 | 370 | |
|---|
| 379 | 371 | spi@80002000 { |
|---|
| 380 | 372 | pinctrl-names = "default"; |
|---|
| 381 | 373 | pinctrl-0 = <&ssp0_snowball_mode>; |
|---|
| 382 | | - }; |
|---|
| 383 | | - |
|---|
| 384 | | - cpufreq-cooling { |
|---|
| 385 | 374 | status = "okay"; |
|---|
| 386 | 375 | }; |
|---|
| 387 | 376 | |
|---|
| 388 | 377 | prcmu@80157000 { |
|---|
| 389 | | - cpufreq { |
|---|
| 390 | | - status = "okay"; |
|---|
| 391 | | - }; |
|---|
| 392 | | - |
|---|
| 393 | | - thermal@801573c0 { |
|---|
| 394 | | - num-trips = <4>; |
|---|
| 395 | | - |
|---|
| 396 | | - trip0-temp = <70000>; |
|---|
| 397 | | - trip0-type = "active"; |
|---|
| 398 | | - trip0-cdev-num = <1>; |
|---|
| 399 | | - trip0-cdev-name0 = "thermal-cpufreq-0"; |
|---|
| 400 | | - |
|---|
| 401 | | - trip1-temp = <75000>; |
|---|
| 402 | | - trip1-type = "active"; |
|---|
| 403 | | - trip1-cdev-num = <1>; |
|---|
| 404 | | - trip1-cdev-name0 = "thermal-cpufreq-0"; |
|---|
| 405 | | - |
|---|
| 406 | | - trip2-temp = <80000>; |
|---|
| 407 | | - trip2-type = "active"; |
|---|
| 408 | | - trip2-cdev-num = <1>; |
|---|
| 409 | | - trip2-cdev-name0 = "thermal-cpufreq-0"; |
|---|
| 410 | | - |
|---|
| 411 | | - trip3-temp = <85000>; |
|---|
| 412 | | - trip3-type = "critical"; |
|---|
| 413 | | - trip3-cdev-num = <0>; |
|---|
| 414 | | - |
|---|
| 415 | | - status = "okay"; |
|---|
| 416 | | - }; |
|---|
| 417 | | - |
|---|
| 418 | 378 | ab8500 { |
|---|
| 419 | | - ab8500-gpio { |
|---|
| 379 | + ab8500-gpiocontroller { |
|---|
| 420 | 380 | /* |
|---|
| 421 | 381 | * AB8500 GPIOs are numbered starting from 1, so the first |
|---|
| 422 | 382 | * index 0 is what in the datasheet is called "GPIO1", and |
|---|
| .. | .. |
|---|
| 440 | 400 | |
|---|
| 441 | 401 | ab8500_usb { |
|---|
| 442 | 402 | pinctrl-names = "default", "sleep"; |
|---|
| 443 | | - pinctrl-0 = <&musb_default_mode>; |
|---|
| 444 | | - pinctrl-1 = <&musb_sleep_mode>; |
|---|
| 403 | + pinctrl-0 = <&usb_a_1_default>; |
|---|
| 404 | + pinctrl-1 = <&usb_a_1_sleep>; |
|---|
| 445 | 405 | }; |
|---|
| 446 | 406 | |
|---|
| 447 | 407 | ext_regulators: ab8500-ext-regulators { |
|---|
| .. | .. |
|---|
| 477 | 437 | |
|---|
| 478 | 438 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { |
|---|
| 479 | 439 | regulator-name = "V-TVOUT"; |
|---|
| 480 | | - }; |
|---|
| 481 | | - |
|---|
| 482 | | - ab8500_ldo_usb_reg: ab8500_ldo_usb { |
|---|
| 483 | | - regulator-name = "dummy"; |
|---|
| 484 | 440 | }; |
|---|
| 485 | 441 | |
|---|
| 486 | 442 | ab8500_ldo_audio_reg: ab8500_ldo_audio { |
|---|