Chia-Wei Wang | 1c7ed53 | 2024-09-10 17:39:16 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | / { |
| 4 | model = "Aspeed AST2700 Ibex BootMCU"; |
| 5 | compatible = "aspeed,ast2700-ibex"; |
| 6 | #address-cells = <1>; |
| 7 | #size-cells = <1>; |
| 8 | |
| 9 | cpus { |
| 10 | #address-cells = <1>; |
| 11 | #size-cells = <0>; |
| 12 | |
| 13 | cpu@0 { |
| 14 | compatible = "lowrisc,ibex"; |
| 15 | device_type = "cpu"; |
| 16 | reg = <0>; |
| 17 | comptaible = "riscv"; |
| 18 | riscv,isa = "rv32imc"; |
| 19 | }; |
| 20 | }; |
| 21 | |
| 22 | memory@80000000 { |
| 23 | reg = <0x80000000 0x80000000>; |
| 24 | }; |
| 25 | |
| 26 | soc0: soc@12000000 { |
| 27 | compatible = "aspeed,soc1","simple-bus"; |
| 28 | #address-cells = <1>; |
| 29 | #size-cells = <1>; |
| 30 | ranges; |
| 31 | |
| 32 | sdrammc: sdrammc@12c00000 { |
| 33 | compatible = "aspeed,ast2700-sdrammc"; |
| 34 | reg = <0x12c00000 0x3000>, <0x13000000 0x1000>; |
| 35 | aspeed,scu0 = <&syscon0>; |
| 36 | aspeed,scu1 = <&syscon1>; |
| 37 | }; |
| 38 | |
| 39 | syscon0: syscon@12c02000 { |
| 40 | compatible = "aspeed,ast2700-scu0", "syscon", "simple-mfd"; |
| 41 | reg = <0x12c02000 0x1000>; |
| 42 | ranges = <0 0x12c02000 0x1000>; |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <1>; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | soc1: soc@14000000 { |
| 49 | compatible = "aspeed,soc1","simple-bus"; |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <1>; |
| 52 | ranges; |
| 53 | |
| 54 | syscon1: syscon@14c02000 { |
| 55 | compatible = "aspeed,ast2700-scu1", "syscon", "simple-mfd"; |
| 56 | reg = <0x14c02000 0x1000>; |
| 57 | ranges = <0 0x14c02000 0x1000>; |
| 58 | #address-cells = <1>; |
| 59 | #size-cells = <1>; |
| 60 | }; |
| 61 | |
| 62 | uart12: serial@14c33b00 { |
| 63 | compatible = "ns16550a"; |
| 64 | reg = <0x14c33b00 0x20>; |
| 65 | reg-shift = <2>; |
| 66 | no-loopback-test; |
| 67 | clock-frequency = <1846153>; |
| 68 | status = "disabled"; |
| 69 | }; |
| 70 | |
| 71 | ast_ibex_timer: timer { |
| 72 | compatible = "aspeed,ast2700-ibex-timer"; |
| 73 | clock-frequency = <200000000>; |
| 74 | }; |
| 75 | }; |
| 76 | }; |