summaryrefslogtreecommitdiff
path: root/arch/arm/dts/rk322x-u-boot.dtsi
blob: aea917544b1c5c32c1f4f8b047eff7761fca4c68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// SPDX-License-Identifier: GPL-2.0+

#include "rockchip-u-boot.dtsi"

/ {
	bus_intmem@10080000 {
		compatible = "mmio-sram";
		reg = <0x10080000 0x9000>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x10080000 0x9000>;

		smp-sram@0 {
			compatible = "rockchip,rk322x-smp-sram";
			reg = <0x00 0x10>;
		};

		ddr_sram: ddr-sram@1000 {
			compatible = "rockchip,rk322x-ddr-sram";
			reg = <0x1000 0x8000>;
		};
	};

	dmc: dmc@11200000 {
		compatible = "rockchip,rk3228-dmc", "syscon";
		reg = <0x11200000 0x3fc
		       0x12000000 0x400>;
		rockchip,cru = <&cru>;
		rockchip,grf = <&grf>;
		rockchip,msch = <&service_msch>;
		rockchip,sram = <&ddr_sram>;
		bootph-all;
	};

	service_msch: syscon@31090000 {
		compatible = "rockchip,rk3228-msch", "syscon";
		reg = <0x31090000 0x2000>;
		bootph-all;
	};
};

&cru {
	bootph-all;
};

&emmc {
	max-frequency = <150000000>;
};

&grf {
	bootph-all;
};

&sdmmc {
	max-frequency = <150000000>;
};