-
Notifications
You must be signed in to change notification settings - Fork 0
/
pvp.dts
170 lines (150 loc) · 3.91 KB
/
pvp.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/dts-v1/;
/ {
model = "PVP";
compatible = "prep";
// Power Series 440 (6015) aka Sandalfoot
arc-identifier = "IBM-6015";
coherency-off;
#address-cells = <1>;
#size-cells = <1>;
cpus {
#cpus = <1>;
#address-cells = <1>;
#size-cells = <0>;
cpu: cpu@0 {
device_type = "cpu";
reg = <0>;
d-cache-block-size = <32>; // 32 bytes
i-cache-block-size = <32>; // 32 bytes
d-cache-size = <32768>; // L1, 32K
i-cache-size = <32768>; // L1, 32K
timebase-frequency = <25000000>;
clock-frequency = <200000000>;
bus-frequency = <200000000>;
};
};
mem: memory {
device_type = "memory";
/*
* hack: <0x500000 0x100000> used for veneer, and
* memory below 5MB is where we put the "OF" stack.
*
* setupldr gets loaded at 0x600000, but veneer
* refuses to create a MemoryLoadedProgram descriptor
* unless it's listed as a separate range.
*/
available = <0x600000 0x100000 0x700000 0x3900000>;
reg = <0x0 0x4000000>;
};
fake-storage {
device_type = "isa";
model = "fake";
bootdev: disk {
device_type = "block";
disk_file = "/Volumes/Public/disk.img";
};
};
pci@80000000 {
device_type = "pci";
compatible = "prep-pci";
bus-frequency = <33333333>;
bus-range = <0 0xff>;
ranges = <0x01000000 0 0x00000000 0xfe000000 0 0x00c00000 // PCI I/O
0x02000000 0 0x80000000 0x80000000 0 0x7d000000 // PCI memory
0x02000000 0 0x00000000 0xfd000000 0 0x01000000>; // PCI alias memory (ISA)
// Configuration address and data register.
reg = <0xfec00cf8 4
0xfee00cfc 4>;
8259-interrupt-acknowledge = <0xfef00000>;
// Do not define a interrupt-parent here, if there is no
// interrupt-map property.
#address-cells = <3>;
#size-cells = <2>;
isa@7 {
device_type = "isa";
compatible = "pciclass,0601";
vendor-id = <0x00001106>;
device-id = <0x00000686>;
revision-id = <0x00000010>;
class-code = <0x00060100>;
subsystem-id = <0>;
subsystem-vendor-id = <0>;
devsel-speed = <0x00000001>;
min-grant = <0>;
max-latency = <0>;
/* First 4k for I/O at 0x0 on PCI mapped to 0x0 on ISA. */
ranges = <0x00000001 0 0x01000000 0 0x00000000 0x00001000>;
interrupt-parent = <&i8259>;
#interrupt-cells = <2>;
#address-cells = <2>;
#size-cells = <1>;
dma-controller@0 {
compatible = "pnpPNP,200";
reg = <1 0x00000000 0x00000020
1 0x00000080 0x00000010
1 0x000000c0 0x00000020>;
};
i8259: interrupt-controller@20 {
device_type = "interrupt-controller";
compatible = "pnpPNP,000";
interrupt-controller;
reg = <1 0x00000020 0x00000002
1 0x000000a0 0x00000002
1 0x000004d0 0x00000002>;
reserved-interrupts = <2>;
#interrupt-cells = <2>;
};
timer@40 {
// Also adds pcspkr to platform devices.
compatible = "pnpPNP,100";
reg = <1 0x00000040 0x00000020>;
};
8042@60 {
device_type = "8042";
reg = <1 0x00000060 0x00000001
1 0x00000064 0x00000001>;
interrupts = <1 3 12 3>;
#address-cells = <1>;
#size-cells = <0>;
keyboard@0 {
compatible = "pnpPNP,303";
reg = <0>;
};
};
console: serial@3f8 {
device_type = "serial";
compatible = "pnpPNP,501","pnpPNP,500";
reg = <1 0x000003f8 0x00000008>;
interrupts = <4 3>;
clock-frequency = <1843200>;
current-speed = <115200>;
};
};
};
openprom {
model = "HV,PVP";
};
options {
LOADIDENTIFIER = "Boot PowerPC NT 4.0 on PVP";
OSLOADOPTIONS = "";
OSLOADPARTITION = "multi(0)disk(0)rdisk(0)partition(1)";
OSLOADER = "multi(0)disk(0)rdisk(0)partition(1)\osloader.exe";
OSLOADFILENAME = "\\";
};
chosen {
// bootargs = "-vrdebug 0xffffffff";
bootargs = "";
bootpath = &bootdev;
stdout = <&console>;
stdin = <&console>;
memory = <&mem>;
mmu = <&cpu>;
cpu = <&cpu>;
};
aliases {
mem = "/memory";
mmu = "/cpus/cpu";
con = "/pci/isa/serial";
hd = "/fake-storage/disk";
};
};