blob: 22017ecd60da0606f8d0a9bb58b55a23aa464b7a [file] [log] [blame]
Jagan Tekie05b4a42019-03-11 13:50:03 +05301// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
4 */
Peter Robinson5532e3b2020-01-20 09:17:00 +00005#define USB_CLASS_HUB 9
Jagan Tekie05b4a42019-03-11 13:50:03 +05306
Peter Robinson5532e3b2020-01-20 09:17:00 +00007/ {
8 aliases {
9 mmc0 = &sdhci;
10 mmc1 = &sdmmc;
11 };
12
13 cic: syscon@ff620000 {
14 u-boot,dm-pre-reloc;
15 compatible = "rockchip,rk3399-cic", "syscon";
16 reg = <0x0 0xff620000 0x0 0x100>;
17 };
18
19 dfi: dfi@ff630000 {
20 u-boot,dm-pre-reloc;
21 reg = <0x00 0xff630000 0x00 0x4000>;
22 compatible = "rockchip,rk3399-dfi";
23 rockchip,pmu = <&pmugrf>;
24 clocks = <&cru PCLK_DDR_MON>;
25 clock-names = "pclk_ddr_mon";
26 };
27
Lin Jinhan91e858d2020-03-31 17:39:57 +080028 rng: rng@ff8b8000 {
29 compatible = "rockchip,cryptov1-rng";
30 reg = <0x0 0xff8b8000 0x0 0x1000>;
31 status = "disabled";
32 };
33
Peter Robinson5532e3b2020-01-20 09:17:00 +000034 dmc: dmc {
35 u-boot,dm-pre-reloc;
36 compatible = "rockchip,rk3399-dmc";
37 devfreq-events = <&dfi>;
38 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH 0>;
39 clocks = <&cru SCLK_DDRCLK>;
40 clock-names = "dmc_clk";
41 reg = <0x0 0xffa80000 0x0 0x0800
42 0x0 0xffa80800 0x0 0x1800
43 0x0 0xffa82000 0x0 0x2000
44 0x0 0xffa84000 0x0 0x1000
45 0x0 0xffa88000 0x0 0x0800
46 0x0 0xffa88800 0x0 0x1800
47 0x0 0xffa8a000 0x0 0x2000
48 0x0 0xffa8c000 0x0 0x1000>;
49 };
50
51 pmusgrf: syscon@ff330000 {
52 u-boot,dm-pre-reloc;
53 compatible = "rockchip,rk3399-pmusgrf", "syscon";
54 reg = <0x0 0xff330000 0x0 0xe3d4>;
55 };
56
Peter Robinsonf459e232019-11-09 20:30:05 +000057};
58
59&cru {
60 u-boot,dm-pre-reloc;
61};
62
Peter Robinsonf459e232019-11-09 20:30:05 +000063&grf {
64 u-boot,dm-pre-reloc;
65};
66
67&pinctrl {
68 u-boot,dm-pre-reloc;
69};
70
Jagan Tekiab0ce362019-07-16 17:27:34 +053071&pmu {
72 u-boot,dm-pre-reloc;
73};
74
Peter Robinsonf459e232019-11-09 20:30:05 +000075&pmugrf {
76 u-boot,dm-pre-reloc;
77};
78
79&pmu {
80 u-boot,dm-pre-reloc;
81};
82
83&pmucru {
84 u-boot,dm-pre-reloc;
85};
86
Peter Robinsonf459e232019-11-09 20:30:05 +000087&sdhci {
Jagan Teki167efc22020-04-28 15:30:17 +053088 max-frequency = <200000000>;
Peter Robinsonf459e232019-11-09 20:30:05 +000089 u-boot,dm-pre-reloc;
90};
91
Jagan Tekie05b4a42019-03-11 13:50:03 +053092&sdmmc {
93 u-boot,dm-pre-reloc;
Deepak Das5c606ca2020-04-15 08:55:24 +053094
95 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
96 u-boot,spl-fifo-mode;
Jagan Tekie05b4a42019-03-11 13:50:03 +053097};
Jagan Tekib5f88912019-05-07 23:51:51 +053098
99&spi1 {
100 u-boot,dm-pre-reloc;
101};
Jagan Teki16b0dd42019-06-21 00:25:02 +0530102
103&uart0 {
104 u-boot,dm-pre-reloc;
105};
106
107&uart2 {
108 u-boot,dm-pre-reloc;
109};
Peter Robinsonf459e232019-11-09 20:30:05 +0000110
111&vopb {
112 u-boot,dm-pre-reloc;
113};
114
115&vopl {
116 u-boot,dm-pre-reloc;
117};