blob: 7f80bad7d050dc42a42d341366deff33971b9733 [file] [log] [blame]
maxims@google.com2d5a2ad2017-01-18 13:44:56 -08001#include <dt-bindings/clock/ast2500-scu.h>
maxims@google.comed365e32017-04-17 12:00:25 -07002#include <dt-bindings/reset/ast2500-reset.h>
maxims@google.com2d5a2ad2017-01-18 13:44:56 -08003
4#include "ast2500.dtsi"
5
6/ {
7 scu: clock-controller@1e6e2000 {
8 compatible = "aspeed,ast2500-scu";
9 reg = <0x1e6e2000 0x1000>;
10 u-boot,dm-pre-reloc;
11 #clock-cells = <1>;
12 #reset-cells = <1>;
13 };
14
maxims@google.comed365e32017-04-17 12:00:25 -070015 rst: reset-controller {
16 u-boot,dm-pre-reloc;
17 compatible = "aspeed,ast2500-reset";
18 aspeed,wdt = <&wdt1>;
19 #reset-cells = <1>;
20 };
21
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080022 sdrammc: sdrammc@1e6e0000 {
23 u-boot,dm-pre-reloc;
24 compatible = "aspeed,ast2500-sdrammc";
25 reg = <0x1e6e0000 0x174
26 0x1e6e0200 0x1d4 >;
maxims@google.comed365e32017-04-17 12:00:25 -070027 #reset-cells = <1>;
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080028 clocks = <&scu PLL_MPLL>;
maxims@google.comed365e32017-04-17 12:00:25 -070029 resets = <&rst AST_RESET_SDRAM>;
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080030 };
31
32 ahb {
33 u-boot,dm-pre-reloc;
34
35 apb {
36 u-boot,dm-pre-reloc;
maxims@google.com232b01a2017-04-17 12:00:34 -070037 };
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080038
maxims@google.com232b01a2017-04-17 12:00:34 -070039 };
40};
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080041
maxims@google.com232b01a2017-04-17 12:00:34 -070042&uart1 {
43 clocks = <&scu PCLK_UART1>;
44};
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080045
maxims@google.com232b01a2017-04-17 12:00:34 -070046&uart2 {
47 clocks = <&scu PCLK_UART2>;
48};
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080049
maxims@google.com232b01a2017-04-17 12:00:34 -070050&uart3 {
51 clocks = <&scu PCLK_UART3>;
52};
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080053
maxims@google.com232b01a2017-04-17 12:00:34 -070054&uart4 {
55 clocks = <&scu PCLK_UART4>;
56};
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080057
maxims@google.com232b01a2017-04-17 12:00:34 -070058&uart5 {
59 clocks = <&scu PCLK_UART5>;
60};
61
62&timer {
63 u-boot,dm-pre-reloc;
maxims@google.com2d5a2ad2017-01-18 13:44:56 -080064};
maxims@google.com15016af2017-04-17 12:00:32 -070065
66&mac0 {
67 clocks = <&scu PCLK_MAC1>, <&scu PLL_D2PLL>;
68};
69
70&mac1 {
71 clocks = <&scu PCLK_MAC2>, <&scu PLL_D2PLL>;
72};