Ryan Chen | 5e6c9f0 | 2020-08-31 14:03:03 +0800 | [diff] [blame^] | 1 | #include <dt-bindings/clock/aspeed-clock.h> |
maxims@google.com | ed365e3 | 2017-04-17 12:00:25 -0700 | [diff] [blame] | 2 | #include <dt-bindings/reset/ast2500-reset.h> |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 3 | |
| 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.com | ed365e3 | 2017-04-17 12:00:25 -0700 | [diff] [blame] | 15 | 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.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 22 | sdrammc: sdrammc@1e6e0000 { |
| 23 | u-boot,dm-pre-reloc; |
| 24 | compatible = "aspeed,ast2500-sdrammc"; |
| 25 | reg = <0x1e6e0000 0x174 |
| 26 | 0x1e6e0200 0x1d4 >; |
maxims@google.com | ed365e3 | 2017-04-17 12:00:25 -0700 | [diff] [blame] | 27 | #reset-cells = <1>; |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 28 | clocks = <&scu PLL_MPLL>; |
maxims@google.com | ed365e3 | 2017-04-17 12:00:25 -0700 | [diff] [blame] | 29 | resets = <&rst AST_RESET_SDRAM>; |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | ahb { |
| 33 | u-boot,dm-pre-reloc; |
| 34 | |
| 35 | apb { |
| 36 | u-boot,dm-pre-reloc; |
Eddie James | 6bd7aeb | 2019-08-15 14:29:40 -0500 | [diff] [blame] | 37 | |
| 38 | sdhci0: sdhci@1e740100 { |
| 39 | compatible = "aspeed,ast2500-sdhci"; |
| 40 | reg = <0x1e740100>; |
| 41 | #reset-cells = <1>; |
| 42 | clocks = <&scu BCLK_SDCLK>; |
| 43 | resets = <&rst AST_RESET_SDIO>; |
| 44 | }; |
| 45 | |
| 46 | sdhci1: sdhci@1e740200 { |
| 47 | compatible = "aspeed,ast2500-sdhci"; |
| 48 | reg = <0x1e740200>; |
| 49 | #reset-cells = <1>; |
| 50 | clocks = <&scu BCLK_SDCLK>; |
| 51 | resets = <&rst AST_RESET_SDIO>; |
| 52 | }; |
maxims@google.com | 232b01a | 2017-04-17 12:00:34 -0700 | [diff] [blame] | 53 | }; |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 54 | |
maxims@google.com | 232b01a | 2017-04-17 12:00:34 -0700 | [diff] [blame] | 55 | }; |
| 56 | }; |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 57 | |
maxims@google.com | 232b01a | 2017-04-17 12:00:34 -0700 | [diff] [blame] | 58 | &uart1 { |
| 59 | clocks = <&scu PCLK_UART1>; |
| 60 | }; |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 61 | |
maxims@google.com | 232b01a | 2017-04-17 12:00:34 -0700 | [diff] [blame] | 62 | &uart2 { |
| 63 | clocks = <&scu PCLK_UART2>; |
| 64 | }; |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 65 | |
maxims@google.com | 232b01a | 2017-04-17 12:00:34 -0700 | [diff] [blame] | 66 | &uart3 { |
| 67 | clocks = <&scu PCLK_UART3>; |
| 68 | }; |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 69 | |
maxims@google.com | 232b01a | 2017-04-17 12:00:34 -0700 | [diff] [blame] | 70 | &uart4 { |
| 71 | clocks = <&scu PCLK_UART4>; |
| 72 | }; |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 73 | |
maxims@google.com | 232b01a | 2017-04-17 12:00:34 -0700 | [diff] [blame] | 74 | &uart5 { |
| 75 | clocks = <&scu PCLK_UART5>; |
| 76 | }; |
| 77 | |
| 78 | &timer { |
| 79 | u-boot,dm-pre-reloc; |
maxims@google.com | 2d5a2ad | 2017-01-18 13:44:56 -0800 | [diff] [blame] | 80 | }; |
maxims@google.com | 15016af | 2017-04-17 12:00:32 -0700 | [diff] [blame] | 81 | |
| 82 | &mac0 { |
| 83 | clocks = <&scu PCLK_MAC1>, <&scu PLL_D2PLL>; |
| 84 | }; |
| 85 | |
| 86 | &mac1 { |
| 87 | clocks = <&scu PCLK_MAC2>, <&scu PLL_D2PLL>; |
| 88 | }; |