Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2014, 2020, Intel Corporation |
| 4 | */ |
| 5 | |
| 6 | / { |
| 7 | chosen { |
| 8 | tick-timer = &timer2; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 9 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 10 | }; |
| 11 | |
| 12 | memory@0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 13 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 14 | }; |
| 15 | |
| 16 | soc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 17 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 18 | }; |
| 19 | }; |
| 20 | |
| 21 | &clkmgr { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 22 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 23 | |
| 24 | clocks { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 25 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 26 | }; |
| 27 | }; |
| 28 | |
| 29 | &cb_intosc_hs_div2_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 30 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 31 | }; |
| 32 | |
| 33 | &cb_intosc_ls_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 34 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | &f2s_free_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 39 | }; |
| 40 | |
Ley Foon Tan | 32cc198 | 2020-04-07 15:43:13 +0800 | [diff] [blame] | 41 | &gmac0 { |
| 42 | compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac"; |
| 43 | altr,sysmgr-syscon = <&sysmgr 0x44 0>; |
| 44 | }; |
| 45 | |
| 46 | &gmac1 { |
| 47 | compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac"; |
| 48 | altr,sysmgr-syscon = <&sysmgr 0x48 0>; |
| 49 | }; |
| 50 | |
| 51 | &gmac2 { |
| 52 | compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac"; |
| 53 | altr,sysmgr-syscon = <&sysmgr 0x4C 0>; |
| 54 | }; |
| 55 | |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 56 | &i2c0 { |
| 57 | reset-names = "i2c"; |
| 58 | }; |
| 59 | |
| 60 | &i2c1 { |
| 61 | reset-names = "i2c"; |
| 62 | }; |
| 63 | |
| 64 | &i2c2 { |
| 65 | reset-names = "i2c"; |
| 66 | }; |
| 67 | |
| 68 | &i2c3 { |
| 69 | reset-names = "i2c"; |
| 70 | }; |
| 71 | |
| 72 | &i2c4 { |
| 73 | reset-names = "i2c"; |
| 74 | }; |
| 75 | |
Ley Foon Tan | 1d07b3e | 2020-04-07 15:43:14 +0800 | [diff] [blame] | 76 | &L2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 77 | bootph-all; |
Ley Foon Tan | 1d07b3e | 2020-04-07 15:43:14 +0800 | [diff] [blame] | 78 | }; |
| 79 | |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 80 | &l4_mp_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 81 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 82 | }; |
| 83 | |
| 84 | &l4_sp_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 85 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 86 | }; |
| 87 | |
| 88 | &l4_sys_free_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 89 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 90 | }; |
| 91 | |
| 92 | &main_periph_ref_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 93 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 94 | }; |
| 95 | |
| 96 | &main_pll { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 97 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 98 | }; |
| 99 | |
| 100 | &main_noc_base_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 101 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 102 | }; |
| 103 | |
| 104 | &noc_free_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 105 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 106 | }; |
| 107 | |
| 108 | &osc1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 109 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 110 | }; |
| 111 | |
| 112 | &peri_noc_base_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 113 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 114 | }; |
| 115 | |
| 116 | &periph_pll { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 117 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 118 | }; |
| 119 | |
| 120 | &porta { |
| 121 | bank-name = "porta"; |
| 122 | }; |
| 123 | |
| 124 | &portb { |
| 125 | bank-name = "portb"; |
| 126 | }; |
| 127 | |
| 128 | &portc { |
| 129 | bank-name = "portc"; |
| 130 | }; |
| 131 | |
| 132 | &rst { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 133 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 134 | }; |
| 135 | |
| 136 | &sysmgr { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 137 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 138 | }; |
| 139 | |
| 140 | &timer2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 141 | bootph-all; |
Ley Foon Tan | ff33e73 | 2020-04-07 15:43:12 +0800 | [diff] [blame] | 142 | }; |