1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * Copyright (C) 2012-2013 Linaro Ltd. 4 * Author: Haojian Zhuang <haojian.zhuang@lina 5 */ 6 7 /dts-v1/; 8 9 #include "hi3620.dtsi" 10 11 / { 12 model = "Hisilicon Hi4511 Development 13 compatible = "hisilicon,hi3620-hi4511" 14 15 chosen { 16 bootargs = "root=/dev/ram0"; 17 stdout-path = "serial0:115200n 18 }; 19 20 memory@40000000 { 21 device_type = "memory"; 22 reg = <0x40000000 0x20000000>; 23 }; 24 25 amba-bus { 26 dual_timer0: dual_timer@800000 27 status = "okay"; 28 }; 29 30 uart0: serial@b00000 { /* con 31 pinctrl-names = "defau 32 pinctrl-0 = <&uart0_pm 33 pinctrl-1 = <&uart0_pm 34 status = "okay"; 35 }; 36 37 uart1: serial@b01000 { /* mode 38 pinctrl-names = "defau 39 pinctrl-0 = <&uart1_pm 40 pinctrl-1 = <&uart1_pm 41 status = "okay"; 42 }; 43 44 uart2: serial@b02000 { /* audi 45 pinctrl-names = "defau 46 pinctrl-0 = <&uart2_pm 47 pinctrl-1 = <&uart2_pm 48 status = "okay"; 49 }; 50 51 uart3: serial@b03000 { 52 pinctrl-names = "defau 53 pinctrl-0 = <&uart3_pm 54 pinctrl-1 = <&uart3_pm 55 status = "okay"; 56 }; 57 58 uart4: serial@b04000 { 59 pinctrl-names = "defau 60 pinctrl-0 = <&uart4_pm 61 pinctrl-1 = <&uart4_pm 62 status = "okay"; 63 }; 64 65 pmx0: pinmux@803000 { 66 pinctrl-names = "defau 67 pinctrl-0 = <&board_pm 68 69 board_pmx_pins: board- 70 pinctrl-single 71 0x008 72 0x100 73 >; 74 }; 75 uart0_pmx_func: uart0- 76 pinctrl-single 77 0x0f0 78 0x0f4 79 >; 80 }; 81 uart0_pmx_idle: uart0- 82 pinctrl-single 83 /*0x0f 84 0x0f4 85 >; 86 }; 87 uart1_pmx_func: uart1- 88 pinctrl-single 89 0x0f8 90 0x0fc 91 >; 92 }; 93 uart1_pmx_idle: uart1- 94 pinctrl-single 95 0x0f8 96 0x0fc 97 >; 98 }; 99 uart2_pmx_func: uart2- 100 pinctrl-single 101 0x104 102 0x108 103 >; 104 }; 105 uart2_pmx_idle: uart2- 106 pinctrl-single 107 0x104 108 0x108 109 >; 110 }; 111 uart3_pmx_func: uart3- 112 pinctrl-single 113 0x160 114 0x164 115 >; 116 }; 117 uart3_pmx_idle: uart3- 118 pinctrl-single 119 0x160 120 0x164 121 >; 122 }; 123 uart4_pmx_func: uart4- 124 pinctrl-single 125 0x168 126 0x16c 127 0x170 128 >; 129 }; 130 uart4_pmx_idle: uart4- 131 pinctrl-single 132 0x168 133 0x16c 134 0x170 135 >; 136 }; 137 i2c0_pmx_func: i2c0-pi 138 pinctrl-single 139 0x0b4 140 >; 141 }; 142 i2c0_pmx_idle: i2c0-id 143 pinctrl-single 144 0x0b4 145 >; 146 }; 147 i2c1_pmx_func: i2c1-pi 148 pinctrl-single 149 0x0b8 150 >; 151 }; 152 i2c1_pmx_idle: i2c1-id 153 pinctrl-single 154 0x0b8 155 >; 156 }; 157 i2c2_pmx_func: i2c2-pi 158 pinctrl-single 159 0x068 160 0x06c 161 >; 162 }; 163 i2c2_pmx_idle: i2c2-id 164 pinctrl-single 165 0x068 166 0x06c 167 >; 168 }; 169 i2c3_pmx_func: i2c3-pi 170 pinctrl-single 171 0x050 172 0x054 173 >; 174 }; 175 i2c3_pmx_idle: i2c3-id 176 pinctrl-single 177 0x050 178 0x054 179 >; 180 }; 181 spi0_pmx_func: spi0-pi 182 pinctrl-single 183 0x0d4 184 0x0d8 185 0x0dc 186 0x0e0 187 0x0e4 188 >; 189 }; 190 spi0_pmx_idle: spi0-id 191 pinctrl-single 192 0x0d4 193 0x0d8 194 0x0dc 195 0x0e0 196 0x0e4 197 >; 198 }; 199 spi1_pmx_func: spi1-pi 200 pinctrl-single 201 0x184 202 0x0e8 203 0x0ec 204 >; 205 }; 206 spi1_pmx_idle: spi1-id 207 pinctrl-single 208 0x184 209 0x0e8 210 0x0ec 211 >; 212 }; 213 kpc_pmx_func: kpc-pins 214 pinctrl-single 215 0x12c 216 0x130 217 0x134 218 0x10c 219 0x110 220 0x114 221 >; 222 }; 223 kpc_pmx_idle: kpc-idle 224 pinctrl-single 225 0x12c 226 0x130 227 0x134 228 0x10c 229 0x110 230 0x114 231 >; 232 }; 233 gpio_key_func: gpio-ke 234 pinctrl-single 235 0x10c 236 0x130 237 >; 238 }; 239 emmc_pmx_func: emmc-pi 240 pinctrl-single 241 0x030 242 0x018 243 0x024 244 0x028 245 0x02c 246 >; 247 }; 248 emmc_pmx_idle: emmc-id 249 pinctrl-single 250 0x030 251 0x018 252 0x024 253 0x028 254 0x02c 255 >; 256 }; 257 sd_pmx_func: sd-pins { 258 pinctrl-single 259 0x0bc 260 0x0c0 261 >; 262 }; 263 sd_pmx_idle: sd-idle-p 264 pinctrl-single 265 0x0bc 266 0x0c0 267 >; 268 }; 269 nand_pmx_func: nand-pi 270 pinctrl-single 271 0x00c 272 0x010 273 0x014 274 0x018 275 0x01c 276 0x020 277 0x024 278 0x028 279 0x02c 280 >; 281 }; 282 nand_pmx_idle: nand-id 283 pinctrl-single 284 0x00c 285 0x010 286 0x014 287 0x018 288 0x01c 289 0x020 290 0x024 291 0x028 292 0x02c 293 >; 294 }; 295 sdio_pmx_func: sdio-pi 296 pinctrl-single 297 0x0c4 298 >; 299 }; 300 sdio_pmx_idle: sdio-id 301 pinctrl-single 302 0x0c4 303 >; 304 }; 305 audio_out_pmx_func: au 306 pinctrl-single 307 0x0f0 308 >; 309 }; 310 }; 311 312 pmx1: pinmux@803800 { 313 pinctrl-names = "defau 314 pinctrl-0 = < &board 315 &board 316 &audio 317 board_pu_pins: board-p 318 pinctrl-single 319 0x014 320 0x018 321 0x01c 322 0x020 323 >; 324 pinctrl-single 325 pinctrl-single 326 }; 327 board_pd_pins: board-p 328 pinctrl-single 329 0x038 330 0x150 331 0x154 332 >; 333 pinctrl-single 334 pinctrl-single 335 }; 336 board_pd_ps_pins: boar 337 pinctrl-single 338 0x2d8 339 0x004 340 >; 341 pinctrl-single 342 pinctrl-single 343 pinctrl-single 344 }; 345 board_np_pins: board-n 346 pinctrl-single 347 0x24c 348 >; 349 pinctrl-single 350 pinctrl-single 351 }; 352 board_ps_pins: board-p 353 pinctrl-single 354 0x000 355 0x008 356 >; 357 pinctrl-single 358 }; 359 uart0_cfg_func: uart0- 360 pinctrl-single 361 0x208 362 0x20c 363 >; 364 pinctrl-single 365 pinctrl-single 366 }; 367 uart0_cfg_idle: uart0- 368 pinctrl-single 369 0x208 370 0x20c 371 >; 372 pinctrl-single 373 pinctrl-single 374 }; 375 uart1_cfg_func: uart1- 376 pinctrl-single 377 0x210 378 0x214 379 0x218 380 0x21c 381 >; 382 pinctrl-single 383 pinctrl-single 384 }; 385 uart1_cfg_idle: uart1- 386 pinctrl-single 387 0x210 388 0x214 389 0x218 390 0x21c 391 >; 392 pinctrl-single 393 pinctrl-single 394 }; 395 uart2_cfg_func: uart2- 396 pinctrl-single 397 0x220 398 0x224 399 0x228 400 0x22c 401 >; 402 pinctrl-single 403 pinctrl-single 404 }; 405 uart2_cfg_idle: uart2- 406 pinctrl-single 407 0x220 408 0x224 409 0x228 410 0x22c 411 >; 412 pinctrl-single 413 pinctrl-single 414 }; 415 uart3_cfg_func: uart3- 416 pinctrl-single 417 0x294 418 0x298 419 0x29c 420 0x2a0 421 >; 422 pinctrl-single 423 pinctrl-single 424 }; 425 uart3_cfg_idle: uart3- 426 pinctrl-single 427 0x294 428 0x298 429 0x29c 430 0x2a0 431 >; 432 pinctrl-single 433 pinctrl-single 434 }; 435 uart4_cfg_func: uart4- 436 pinctrl-single 437 0x2a4 438 0x2a8 439 0x2ac 440 0x2b0 441 >; 442 pinctrl-single 443 pinctrl-single 444 }; 445 i2c0_cfg_func: i2c0-cf 446 pinctrl-single 447 0x17c 448 0x180 449 >; 450 pinctrl-single 451 pinctrl-single 452 pinctrl-single 453 }; 454 i2c1_cfg_func: i2c1-cf 455 pinctrl-single 456 0x184 457 0x188 458 >; 459 pinctrl-single 460 pinctrl-single 461 pinctrl-single 462 }; 463 i2c2_cfg_func: i2c2-cf 464 pinctrl-single 465 0x118 466 0x11c 467 >; 468 pinctrl-single 469 pinctrl-single 470 pinctrl-single 471 }; 472 i2c3_cfg_func: i2c3-cf 473 pinctrl-single 474 0x100 475 0x104 476 >; 477 pinctrl-single 478 pinctrl-single 479 pinctrl-single 480 }; 481 spi0_cfg_func1: spi0-c 482 pinctrl-single 483 0x1d4 484 0x1d8 485 0x1dc 486 >; 487 pinctrl-single 488 pinctrl-single 489 pinctrl-single 490 }; 491 spi0_cfg_func2: spi0-c 492 pinctrl-single 493 0x1e0 494 0x1e4 495 0x1e8 496 0x1ec 497 >; 498 pinctrl-single 499 pinctrl-single 500 pinctrl-single 501 }; 502 spi1_cfg_func1: spi1-c 503 pinctrl-single 504 0x1f0 505 0x1f4 506 0x1f8 507 >; 508 pinctrl-single 509 pinctrl-single 510 pinctrl-single 511 }; 512 spi1_cfg_func2: spi1-c 513 pinctrl-single 514 0x1fc 515 >; 516 pinctrl-single 517 pinctrl-single 518 pinctrl-single 519 }; 520 kpc_cfg_func: kpc-cfg- 521 pinctrl-single 522 0x250 523 0x254 524 0x258 525 0x230 526 0x234 527 0x238 528 >; 529 pinctrl-single 530 pinctrl-single 531 }; 532 emmc_cfg_func: emmc-cf 533 pinctrl-single 534 0x0ac 535 0x0b0 536 0x058 537 0x064 538 0x068 539 0x08c 540 0x090 541 0x094 542 0x098 543 0x09c 544 0x0a0 545 0x0a4 546 0x0a8 547 >; 548 pinctrl-single 549 pinctrl-single 550 pinctrl-single 551 }; 552 sd_cfg_func1: sd-cfg-f 553 pinctrl-single 554 0x18c 555 0x190 556 >; 557 pinctrl-single 558 pinctrl-single 559 pinctrl-single 560 }; 561 sd_cfg_func2: sd-cfg-f 562 pinctrl-single 563 0x194 564 0x198 565 0x19c 566 0x1a0 567 >; 568 pinctrl-single 569 pinctrl-single 570 pinctrl-single 571 }; 572 nand_cfg_func1: nand-c 573 pinctrl-single 574 0x03c 575 0x040 576 0x06c 577 0x070 578 0x074 579 0x078 580 0x07c 581 0x080 582 0x084 583 0x088 584 0x08c 585 0x090 586 0x094 587 0x098 588 0x09c 589 0x0a0 590 0x0a4 591 0x0a8 592 >; 593 pinctrl-single 594 pinctrl-single 595 pinctrl-single 596 }; 597 nand_cfg_func2: nand-c 598 pinctrl-single 599 0x044 600 0x048 601 0x04c 602 0x050 603 0x054 604 0x058 605 0x05c 606 0x060 607 0x064 608 0x068 609 >; 610 pinctrl-single 611 pinctrl-single 612 pinctrl-single 613 }; 614 sdio_cfg_func: sdio-cf 615 pinctrl-single 616 0x1a4 617 0x1a8 618 0x1ac 619 0x1b0 620 0x1b4 621 0x1b8 622 >; 623 pinctrl-single 624 pinctrl-single 625 pinctrl-single 626 }; 627 audio_out_cfg_func: au 628 pinctrl-single 629 0x200 630 0x204 631 >; 632 pinctrl-single 633 pinctrl-single 634 }; 635 }; 636 }; 637 638 gpio-keys { 639 compatible = "gpio-keys"; 640 641 call { 642 label = "call"; 643 gpios = <&gpio17 2 0>; 644 linux,code = <169>; 645 }; 646 }; 647 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.