blob: f06f58204f44b8b24faac610fee2bc424b6d0018 [file] [log] [blame]
Chia-Wei, Wangec55a1d2020-12-14 13:54:27 +08001// SPDX-License-Identifier: GPL-2.0+
2#include <dt-bindings/clock/ast2600-clock.h>
3#include <dt-bindings/reset/ast2600-reset.h>
4
5#include "ast2600.dtsi"
6
7/ {
8 scu: clock-controller@1e6e2000 {
9 compatible = "aspeed,ast2600-scu";
10 reg = <0x1e6e2000 0x1000>;
Simon Glass8c103c32023-02-13 08:56:33 -070011 bootph-all;
Chia-Wei, Wangec55a1d2020-12-14 13:54:27 +080012 #clock-cells = <1>;
13 #reset-cells = <1>;
14 uart-clk-source = <0x0>; /* uart clock source selection: 0: uxclk 1: huxclk*/
15 };
16
17 rst: reset-controller {
Simon Glass8c103c32023-02-13 08:56:33 -070018 bootph-all;
Chia-Wei, Wangec55a1d2020-12-14 13:54:27 +080019 compatible = "aspeed,ast2600-reset";
20 aspeed,wdt = <&wdt1>;
21 #reset-cells = <1>;
22 };
23
24 sdrammc: sdrammc@1e6e0000 {
Simon Glass8c103c32023-02-13 08:56:33 -070025 bootph-all;
Chia-Wei, Wangec55a1d2020-12-14 13:54:27 +080026 compatible = "aspeed,ast2600-sdrammc";
27 reg = <0x1e6e0000 0x100
28 0x1e6e0100 0x300
29 0x1e6e0400 0x200 >;
30 #reset-cells = <1>;
31 clocks = <&scu ASPEED_CLK_MPLL>;
32 resets = <&rst ASPEED_RESET_SDRAM>;
33 };
34
35 ahb {
Simon Glass8c103c32023-02-13 08:56:33 -070036 bootph-all;
Chia-Wei, Wangec55a1d2020-12-14 13:54:27 +080037
38 apb {
Simon Glass8c103c32023-02-13 08:56:33 -070039 bootph-all;
Chia-Wei, Wangec55a1d2020-12-14 13:54:27 +080040 };
41
42 };
43};
44