blob: 8b857ccfc79726b76dbfa2f4e5effa30635c7fe8 [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
28 dmc: dmc {
29 u-boot,dm-pre-reloc;
30 compatible = "rockchip,rk3399-dmc";
31 devfreq-events = <&dfi>;
32 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH 0>;
33 clocks = <&cru SCLK_DDRCLK>;
34 clock-names = "dmc_clk";
35 reg = <0x0 0xffa80000 0x0 0x0800
36 0x0 0xffa80800 0x0 0x1800
37 0x0 0xffa82000 0x0 0x2000
38 0x0 0xffa84000 0x0 0x1000
39 0x0 0xffa88000 0x0 0x0800
40 0x0 0xffa88800 0x0 0x1800
41 0x0 0xffa8a000 0x0 0x2000
42 0x0 0xffa8c000 0x0 0x1000>;
43 };
44
45 pmusgrf: syscon@ff330000 {
46 u-boot,dm-pre-reloc;
47 compatible = "rockchip,rk3399-pmusgrf", "syscon";
48 reg = <0x0 0xff330000 0x0 0xe3d4>;
49 };
50
Peter Robinsonf459e232019-11-09 20:30:05 +000051};
52
53&cru {
54 u-boot,dm-pre-reloc;
55};
56
Peter Robinsonf459e232019-11-09 20:30:05 +000057&grf {
58 u-boot,dm-pre-reloc;
59};
60
61&pinctrl {
62 u-boot,dm-pre-reloc;
63};
64
Jagan Tekiab0ce362019-07-16 17:27:34 +053065&pmu {
66 u-boot,dm-pre-reloc;
67};
68
Peter Robinsonf459e232019-11-09 20:30:05 +000069&pmugrf {
70 u-boot,dm-pre-reloc;
71};
72
73&pmu {
74 u-boot,dm-pre-reloc;
75};
76
77&pmucru {
78 u-boot,dm-pre-reloc;
79};
80
Peter Robinsonf459e232019-11-09 20:30:05 +000081&sdhci {
82 u-boot,dm-pre-reloc;
83};
84
Jagan Tekie05b4a42019-03-11 13:50:03 +053085&sdmmc {
86 u-boot,dm-pre-reloc;
87};
Jagan Tekib5f88912019-05-07 23:51:51 +053088
89&spi1 {
90 u-boot,dm-pre-reloc;
91};
Jagan Teki16b0dd42019-06-21 00:25:02 +053092
93&uart0 {
94 u-boot,dm-pre-reloc;
95};
96
97&uart2 {
98 u-boot,dm-pre-reloc;
99};
Peter Robinsonf459e232019-11-09 20:30:05 +0000100
101&vopb {
102 u-boot,dm-pre-reloc;
103};
104
105&vopl {
106 u-boot,dm-pre-reloc;
107};