aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/ast2500-u-boot.dtsi
blob: 51a5244766c8da2b1a07165a22f59c17ed05f1df (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// SPDX-License-Identifier: GPL-2.0
#include <dt-bindings/clock/aspeed-clock.h>
#include <dt-bindings/reset/ast2500-reset.h>

#include "ast2500.dtsi"

/ {
	scu: clock-controller@1e6e2000 {
		compatible = "aspeed,ast2500-scu";
		reg = <0x1e6e2000 0x1000>;
		u-boot,dm-pre-reloc;
		#clock-cells = <1>;
		#reset-cells = <1>;
	};

	rst: reset-controller {
		u-boot,dm-pre-reloc;
		compatible = "aspeed,ast2500-reset";
		aspeed,wdt = <&wdt1>;
		#reset-cells = <1>;
	};

	sdrammc: sdrammc@1e6e0000 {
		u-boot,dm-pre-reloc;
		compatible = "aspeed,ast2500-sdrammc";
		reg = <0x1e6e0000 0x174
			0x1e6e0200 0x1d4 >;
		#reset-cells = <1>;
		clocks = <&scu ASPEED_CLK_MPLL>;
		resets = <&rst AST_RESET_SDRAM>;
	};

	ahb {
		u-boot,dm-pre-reloc;

		apb {
			u-boot,dm-pre-reloc;

			sdhci0: sdhci@1e740100 {
				compatible = "aspeed,ast2500-sdhci";
				reg = <0x1e740100>;
				#reset-cells = <1>;
				clocks = <&scu ASPEED_CLK_SDIO>;
				resets = <&rst AST_RESET_SDIO>;
			};

			sdhci1: sdhci@1e740200 {
				compatible = "aspeed,ast2500-sdhci";
				reg = <0x1e740200>;
				#reset-cells = <1>;
				clocks = <&scu ASPEED_CLK_SDIO>;
				resets = <&rst AST_RESET_SDIO>;
			};
		};

	};
};

&uart1 {
	clocks = <&scu ASPEED_CLK_GATE_UART1CLK>;
};

&uart2 {
	clocks = <&scu ASPEED_CLK_GATE_UART2CLK>;
};

&uart3 {
	clocks = <&scu ASPEED_CLK_GATE_UART3CLK>;
};

&uart4 {
	clocks = <&scu ASPEED_CLK_GATE_UART4CLK>;
};

&uart5 {
	clocks = <&scu ASPEED_CLK_GATE_UART5CLK>;
};

&timer {
	u-boot,dm-pre-reloc;
};

&mac0 {
	clocks = <&scu ASPEED_CLK_GATE_MAC1CLK>, <&scu ASPEED_CLK_D2PLL>;
};

&mac1 {
	clocks = <&scu ASPEED_CLK_GATE_MAC1CLK>, <&scu ASPEED_CLK_D2PLL>;
};