blob: 9bb130a92a962689bd993d40f4377e3910c05726 [file] [log] [blame]
Jagan Teki208badd2019-03-11 13:50:03 +05301// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
4 */
Peter Robinson94fb4c42020-01-20 09:17:00 +00005#define USB_CLASS_HUB 9
Jagan Teki208badd2019-03-11 13:50:03 +05306
Peter Robinson94fb4c42020-01-20 09:17:00 +00007/ {
8 aliases {
9 mmc0 = &sdhci;
10 mmc1 = &sdmmc;
11 };
Peter Robinsondd44a152019-11-09 20:30:05 +000012
Peter Robinson94fb4c42020-01-20 09:17:00 +000013 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 Jinhan3e714cf2020-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 Robinson94fb4c42020-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 Robinsondd44a152019-11-09 20:30:05 +000057};
58
Peter Robinson94fb4c42020-01-20 09:17:00 +000059&cru {
Peter Robinsondd44a152019-11-09 20:30:05 +000060 u-boot,dm-pre-reloc;
61};
62
63&grf {
64 u-boot,dm-pre-reloc;
65};
66
67&pinctrl {
68 u-boot,dm-pre-reloc;
69};
70
Jagan Teki9b545852019-07-16 17:27:34 +053071&pmu {
72 u-boot,dm-pre-reloc;
73};
74
Peter Robinsondd44a152019-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 Robinsondd44a152019-11-09 20:30:05 +000087&sdhci {
Jagan Teki5cc21182020-04-28 15:30:17 +053088 max-frequency = <200000000>;
Peter Robinsondd44a152019-11-09 20:30:05 +000089 u-boot,dm-pre-reloc;
90};
91
Jagan Teki208badd2019-03-11 13:50:03 +053092&sdmmc {
93 u-boot,dm-pre-reloc;
94};
Jagan Teki60c5fed2019-05-07 23:51:51 +053095
96&spi1 {
97 u-boot,dm-pre-reloc;
98};
Jagan Teki2ff51fd2019-06-21 00:25:02 +053099
100&uart0 {
101 u-boot,dm-pre-reloc;
102};
103
104&uart2 {
105 u-boot,dm-pre-reloc;
106};
Peter Robinsondd44a152019-11-09 20:30:05 +0000107
108&vopb {
109 u-boot,dm-pre-reloc;
110};
111
112&vopl {
113 u-boot,dm-pre-reloc;
114};