Chia-Wei, Wang | ec55a1d | 2020-12-14 13:54:27 +0800 | [diff] [blame] | 1 | // 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 Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame^] | 11 | bootph-all; |
Chia-Wei, Wang | ec55a1d | 2020-12-14 13:54:27 +0800 | [diff] [blame] | 12 | #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 Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame^] | 18 | bootph-all; |
Chia-Wei, Wang | ec55a1d | 2020-12-14 13:54:27 +0800 | [diff] [blame] | 19 | compatible = "aspeed,ast2600-reset"; |
| 20 | aspeed,wdt = <&wdt1>; |
| 21 | #reset-cells = <1>; |
| 22 | }; |
| 23 | |
| 24 | sdrammc: sdrammc@1e6e0000 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame^] | 25 | bootph-all; |
Chia-Wei, Wang | ec55a1d | 2020-12-14 13:54:27 +0800 | [diff] [blame] | 26 | 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 Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame^] | 36 | bootph-all; |
Chia-Wei, Wang | ec55a1d | 2020-12-14 13:54:27 +0800 | [diff] [blame] | 37 | |
| 38 | apb { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame^] | 39 | bootph-all; |
Chia-Wei, Wang | ec55a1d | 2020-12-14 13:54:27 +0800 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | }; |
| 43 | }; |
| 44 | |