Yanhong Wang | 94817bf | 2023-03-29 11:42:22 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 OR MIT |
| 2 | /* |
| 3 | * Copyright (C) 2022 StarFive Technology Co., Ltd. |
| 4 | */ |
| 5 | |
| 6 | #include <dt-bindings/reset/starfive,jh7110-crg.h> |
| 7 | |
| 8 | / { |
| 9 | cpus: cpus { |
| 10 | bootph-pre-ram; |
| 11 | |
| 12 | S7_0: cpu@0 { |
| 13 | bootph-pre-ram; |
| 14 | status = "okay"; |
| 15 | cpu0_intc: interrupt-controller { |
| 16 | bootph-pre-ram; |
| 17 | }; |
| 18 | }; |
| 19 | |
| 20 | U74_1: cpu@1 { |
| 21 | bootph-pre-ram; |
| 22 | cpu1_intc: interrupt-controller { |
| 23 | bootph-pre-ram; |
| 24 | }; |
| 25 | }; |
| 26 | |
| 27 | U74_2: cpu@2 { |
| 28 | bootph-pre-ram; |
| 29 | cpu2_intc: interrupt-controller { |
| 30 | bootph-pre-ram; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | U74_3: cpu@3 { |
| 35 | bootph-pre-ram; |
| 36 | cpu3_intc: interrupt-controller { |
| 37 | bootph-pre-ram; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | U74_4: cpu@4 { |
| 42 | bootph-pre-ram; |
| 43 | cpu4_intc: interrupt-controller { |
| 44 | bootph-pre-ram; |
| 45 | }; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | soc { |
| 50 | bootph-pre-ram; |
| 51 | |
| 52 | clint: timer@2000000 { |
| 53 | bootph-pre-ram; |
| 54 | }; |
| 55 | |
| 56 | dmc: dmc@15700000 { |
| 57 | bootph-pre-ram; |
| 58 | compatible = "starfive,jh7110-dmc"; |
| 59 | reg = <0x0 0x15700000 0x0 0x10000>, |
| 60 | <0x0 0x13000000 0x0 0x10000>; |
| 61 | resets = <&syscrg JH7110_SYSRST_DDR_AXI>, |
| 62 | <&syscrg JH7110_SYSRST_DDR_OSC>, |
| 63 | <&syscrg JH7110_SYSRST_DDR_APB>; |
| 64 | reset-names = "axi", "osc", "apb"; |
| 65 | clocks = <&syscrg JH7110_SYSCLK_PLL1_OUT>; |
| 66 | clock-names = "pll1_out"; |
| 67 | clock-frequency = <2133>; |
| 68 | }; |
| 69 | }; |
| 70 | }; |
| 71 | |
| 72 | &osc { |
| 73 | bootph-pre-ram; |
| 74 | }; |
| 75 | |
| 76 | &gmac0_rmii_refin { |
| 77 | bootph-pre-ram; |
| 78 | }; |
| 79 | |
| 80 | &aoncrg { |
| 81 | bootph-pre-ram; |
| 82 | }; |
| 83 | |
| 84 | &syscrg { |
| 85 | bootph-pre-ram; |
Yanhong Wang | 94817bf | 2023-03-29 11:42:22 +0800 | [diff] [blame] | 86 | }; |
| 87 | |
| 88 | &stgcrg { |
| 89 | bootph-pre-ram; |
| 90 | }; |
| 91 | |
| 92 | &sys_syscon { |
| 93 | bootph-pre-ram; |
| 94 | }; |
| 95 | |
Bo Gan | 9d82440 | 2024-03-05 19:00:11 -0800 | [diff] [blame^] | 96 | &pllclk { |
| 97 | bootph-pre-ram; |
| 98 | }; |
| 99 | |
Yanhong Wang | 94817bf | 2023-03-29 11:42:22 +0800 | [diff] [blame] | 100 | &S7_0 { |
| 101 | status = "okay"; |
| 102 | }; |