2020-08-31 06:03:05 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2020-08-31 06:03:03 +00:00
|
|
|
#include <dt-bindings/clock/aspeed-clock.h>
|
2017-04-17 19:00:25 +00:00
|
|
|
#include <dt-bindings/reset/ast2500-reset.h>
|
2017-01-18 21:44:56 +00:00
|
|
|
|
|
|
|
#include "ast2500.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
scu: clock-controller@1e6e2000 {
|
|
|
|
compatible = "aspeed,ast2500-scu";
|
|
|
|
reg = <0x1e6e2000 0x1000>;
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2017-01-18 21:44:56 +00:00
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2017-04-17 19:00:25 +00:00
|
|
|
rst: reset-controller {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2017-04-17 19:00:25 +00:00
|
|
|
compatible = "aspeed,ast2500-reset";
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2017-01-18 21:44:56 +00:00
|
|
|
sdrammc: sdrammc@1e6e0000 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2017-01-18 21:44:56 +00:00
|
|
|
compatible = "aspeed,ast2500-sdrammc";
|
|
|
|
reg = <0x1e6e0000 0x174
|
|
|
|
0x1e6e0200 0x1d4 >;
|
2017-04-17 19:00:25 +00:00
|
|
|
#reset-cells = <1>;
|
2020-08-31 06:03:04 +00:00
|
|
|
clocks = <&scu ASPEED_CLK_MPLL>;
|
2020-10-15 02:25:13 +00:00
|
|
|
resets = <&rst ASPEED_RESET_SDRAM>;
|
2017-01-18 21:44:56 +00:00
|
|
|
};
|
2017-04-17 19:00:34 +00:00
|
|
|
};
|
2017-01-18 21:44:56 +00:00
|
|
|
|
2017-04-17 19:00:34 +00:00
|
|
|
&uart1 {
|
2020-08-31 06:03:04 +00:00
|
|
|
clocks = <&scu ASPEED_CLK_GATE_UART1CLK>;
|
2017-04-17 19:00:34 +00:00
|
|
|
};
|
2017-01-18 21:44:56 +00:00
|
|
|
|
2017-04-17 19:00:34 +00:00
|
|
|
&uart2 {
|
2020-08-31 06:03:04 +00:00
|
|
|
clocks = <&scu ASPEED_CLK_GATE_UART2CLK>;
|
2017-04-17 19:00:34 +00:00
|
|
|
};
|
2017-01-18 21:44:56 +00:00
|
|
|
|
2017-04-17 19:00:34 +00:00
|
|
|
&uart3 {
|
2020-08-31 06:03:04 +00:00
|
|
|
clocks = <&scu ASPEED_CLK_GATE_UART3CLK>;
|
2017-04-17 19:00:34 +00:00
|
|
|
};
|
2017-01-18 21:44:56 +00:00
|
|
|
|
2017-04-17 19:00:34 +00:00
|
|
|
&uart4 {
|
2020-08-31 06:03:04 +00:00
|
|
|
clocks = <&scu ASPEED_CLK_GATE_UART4CLK>;
|
2017-04-17 19:00:34 +00:00
|
|
|
};
|
2017-01-18 21:44:56 +00:00
|
|
|
|
2017-04-17 19:00:34 +00:00
|
|
|
&uart5 {
|
2020-08-31 06:03:04 +00:00
|
|
|
clocks = <&scu ASPEED_CLK_GATE_UART5CLK>;
|
2017-04-17 19:00:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&timer {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2017-01-18 21:44:56 +00:00
|
|
|
};
|
2017-04-17 19:00:32 +00:00
|
|
|
|
|
|
|
&mac0 {
|
2020-08-31 06:03:04 +00:00
|
|
|
clocks = <&scu ASPEED_CLK_GATE_MAC1CLK>, <&scu ASPEED_CLK_D2PLL>;
|
2017-04-17 19:00:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&mac1 {
|
2020-08-31 06:03:04 +00:00
|
|
|
clocks = <&scu ASPEED_CLK_GATE_MAC1CLK>, <&scu ASPEED_CLK_D2PLL>;
|
2017-04-17 19:00:32 +00:00
|
|
|
};
|