| 1 | /* |
| 2 | * QEMU Pegasos1 Device Tree Source |
| 3 | * |
| 4 | * Copyright 2025 BALATON Zoltan |
| 5 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 6 | * |
| 7 | * This is partial source, more info will be filled in by board code. |
| 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | |
| 12 | / { |
| 13 | #address-cells = <1>; |
| 14 | device_type = "chrp"; |
| 15 | model = "Pegasos"; |
| 16 | revision = "1A"; |
| 17 | CODEGEN,vendor = "bplan GmbH"; |
| 18 | CODEGEN,board = "Pegasos"; |
| 19 | CODEGEN,description = "Pegasos CHRP PowerPC System"; |
| 20 | |
| 21 | openprom { |
| 22 | model = "Pegasos,0.1b123"; |
| 23 | }; |
| 24 | |
| 25 | chosen { |
| 26 | }; |
| 27 | |
| 28 | memory@0 { |
| 29 | device_type = "memory"; |
| 30 | reg = <0 0>; |
| 31 | }; |
| 32 | |
| 33 | cpus { |
| 34 | #size-cells = <0>; |
| 35 | #address-cells = <1>; |
| 36 | #cpus = <1>; |
| 37 | }; |
| 38 | |
| 39 | failsafe { |
| 40 | device_type = "serial"; |
| 41 | }; |
| 42 | |
| 43 | pci@80000000 { |
| 44 | device_type = "pci"; |
| 45 | #address-cells = <3>; |
| 46 | #size-cells = <2>; |
| 47 | clock-frequency = <33333333>; |
| 48 | 8259-interrupt-acknowledge = <0xfef00000>; |
| 49 | reg = <0x80000000 0x7f000000>; |
| 50 | ranges = <0x01000000 0 0x00000000 0xfe000000 0 0x00800000 |
| 51 | 0x02000000 0 0x80000000 0x80000000 0 0x7d000000 |
| 52 | 0x02000000 0 0xfd000000 0xfd000000 0 0x01000000>; |
| 53 | bus-range = <0 0>; |
| 54 | |
| 55 | isa@7 { |
| 56 | vendor-id = <0x1106>; |
| 57 | device-id = <0x8231>; |
| 58 | revision-id = <0x10>; |
| 59 | class-code = <0x60100>; |
| 60 | /* Pegasos firmware has subsystem-id and */ |
| 61 | /* subsystem-vendor-id swapped */ |
| 62 | subsystem-id = <0x1af4>; |
| 63 | subsystem-vendor-id = <0x1100>; |
| 64 | reg = <0x3800 0 0 0 0>; |
| 65 | device_type = "isa"; |
| 66 | #address-cells = <2>; |
| 67 | #size-cells = <1>; |
| 68 | eisa-slots = <0>; |
| 69 | clock-frequency = <8333333>; |
| 70 | slot-names = <0>; |
| 71 | |
| 72 | serial@i2f8 { |
| 73 | device_type = "serial"; |
| 74 | reg = <1 0x2f8 8>; |
| 75 | interrupts = <3 0>; |
| 76 | clock-frequency = <0>; |
| 77 | }; |
| 78 | |
| 79 | 8042@i60 { |
| 80 | device_type = ""; |
| 81 | reg = <1 0x60 5>; |
| 82 | clock-frequency = <0>; |
| 83 | interrupt-controller = ""; |
| 84 | #address-cells = <1>; |
| 85 | #size-cells = <0>; |
| 86 | #interrupt-cells = <2>; |
| 87 | |
| 88 | }; |
| 89 | |
| 90 | keyboard@i60 { |
| 91 | device_type = "keyboard"; |
| 92 | reg = <1 0x60 5>; |
| 93 | interrupts = <1 0>; |
| 94 | }; |
| 95 | |
| 96 | rtc@i70 { |
| 97 | device_type = "rtc"; |
| 98 | reg = <1 0x70 2>; |
| 99 | interrupts = <8 0>; |
| 100 | clock-frequency = <0>; |
| 101 | compatible = "ds1385-rtc"; |
| 102 | }; |
| 103 | |
| 104 | timer@i40 { |
| 105 | device_type = "timer"; |
| 106 | reg = <1 0x40 8>; |
| 107 | clock-frequency = <0>; |
| 108 | }; |
| 109 | |
| 110 | fdc@i3f0 { |
| 111 | device_type = "fdc"; |
| 112 | reg = <1 0x3f0 8>; |
| 113 | interrupts = <6 0>; |
| 114 | clock-frequency = <0>; |
| 115 | }; |
| 116 | |
| 117 | lpt@i3bc { |
| 118 | device_type = "lpt"; |
| 119 | reg = <1 0x3bc 8>; |
| 120 | interrupts = <7 0>; |
| 121 | clock-frequency = <0>; |
| 122 | }; |
| 123 | }; |
| 124 | }; |
| 125 | }; |