blob: ce96ce40a73b69368aa4c52eeaf60add732db7db [file] [log] [blame]
Kever Yang2e91e202019-08-15 11:40:56 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * (C) Copyright 2019 Rockchip Electronics Co., Ltd
4 */
5
Quentin Schulz05713d52022-09-02 15:10:52 +02006#include "rockchip-u-boot.dtsi"
7
Kever Yang2e91e202019-08-15 11:40:56 +08008/ {
9 aliases {
10 mmc0 = &emmc;
11 mmc1 = &sdmmc;
Johannes Krottmayerb5716c12020-07-08 23:57:40 +020012 spi0 = &spi0;
Kever Yang2e91e202019-08-15 11:40:56 +080013 };
14
15 chosen {
16 u-boot,spl-boot-order = &emmc, &sdmmc;
17 };
18
19 dmc: dmc {
Simon Glass8c103c32023-02-13 08:56:33 -070020 bootph-all;
Kever Yang2e91e202019-08-15 11:40:56 +080021 compatible = "rockchip,rk3328-dmc";
22 reg = <0x0 0xff400000 0x0 0x1000
23 0x0 0xff780000 0x0 0x3000
24 0x0 0xff100000 0x0 0x1000
25 0x0 0xff440000 0x0 0x1000
26 0x0 0xff720000 0x0 0x1000
27 0x0 0xff798000 0x0 0x1000>;
28 };
Kever Yang2e91e202019-08-15 11:40:56 +080029};
30
31&cru {
Simon Glass8c103c32023-02-13 08:56:33 -070032 bootph-all;
Kever Yang2e91e202019-08-15 11:40:56 +080033};
34
35&grf {
Simon Glass8c103c32023-02-13 08:56:33 -070036 bootph-all;
Kever Yang2e91e202019-08-15 11:40:56 +080037};
38
39&uart2 {
Simon Glass8c103c32023-02-13 08:56:33 -070040 bootph-all;
Kever Yang2e91e202019-08-15 11:40:56 +080041 clock-frequency = <24000000>;
42};
43
44&emmc {
Simon Glass8c103c32023-02-13 08:56:33 -070045 bootph-all;
Kever Yangfa2047c2019-12-31 15:57:55 +080046
47 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
48 u-boot,spl-fifo-mode;
Kever Yang2e91e202019-08-15 11:40:56 +080049};
50
51&sdmmc {
Simon Glass8c103c32023-02-13 08:56:33 -070052 bootph-all;
Kever Yangfa2047c2019-12-31 15:57:55 +080053
54 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
55 u-boot,spl-fifo-mode;
Kever Yang2e91e202019-08-15 11:40:56 +080056};
Chen-Yu Tsai32fd6162020-04-27 14:52:48 +080057
58&usb20_otg {
59 hnp-srp-disable;
60};
Johannes Krottmayerb5716c12020-07-08 23:57:40 +020061
62&spi0 {
Simon Glass8c103c32023-02-13 08:56:33 -070063 bootph-all;
Johannes Krottmayerb5716c12020-07-08 23:57:40 +020064};