mtw(4) remove misplaced DEBUG_FLAGS
[freebsd/src.git] / sys / powerpc / psim / psim-tree
blob3d7474a4daa5e829b8343bd14dddaf4adfc86746
2 # Simple psim h/w description
4 # The .gdbinit should contain something like:
6 #   target sim -e chirp -r 33554432 -f psim-tree
7 #   load
9 #  (The -r option is the amount of physical RAM the simulator has)
12 /#address-cells 1
13 /openprom/options/use-stdio? false
14 #/openprom/options/strict-alignment? true
16 /options
17         ./output-device "psim-stdout
20 # Define the disk device alias so ofwd can identify it
22 /aliases
23         ./ofwdisk "/phb@0x70000000/ide@1/disk@0
26 # CPU definition. The phandle property is to help nexus.c locate the
27 # interrupt controller.
29 /cpus/cpu@0
32 # disk file, done via phb. maybe there's a simpler way.
34 /phb@0x70000000
35         ./device_type "pci
36         ./name "pci
37         ./#address-cells 3
38         ./#size-cells 2
39         ./ranges ni0,0,0,0 0xc0000000 0x10000
41 /phb@0x70000000/ide@1
42         ./device_type "ide
43         ./name "ide
44         ./assigned-addresses \
45                 ni0,0,10,1f0 8 \
46                 ni0,0,14,3f8 8 \
47                 ni0,0,18,170 8 \
48                 ni0,0,1c,378 8 \
49                 ni0,0,20,200 8
50         ./reg \
51                 1 0 \
52                 i0,0,10,0 8 \
53                 i0,0,18,0 8 \
54                 i0,0,14,6 1 \
55                 i0,0,1c,6 1 \
56                 i0,0,20,0 8
57         ./ready-delay 1000
59 /phb@0x70000000/ide@1/disk@0/file "../image.iso
62 # I/O Bus
64 /iobus@0x90000000
65         ./name psim-iobus
66         ./reg 0x90000000 0x20000000
69 # OpenPIC
71 /iobus@0x90000000/opic@0x90000000
72         ./name         interrupt-controller
73         ./device_type  open-pic
74         ./compatible   psim,open-pic
75         ./reg 0x90000000 0x40000
76         ./interrupt-ranges 0 256
78 /iobus/opic > intr0 int /cpus/cpu@0x0
81 # IDE1
83 #/iobus@0x90000000/ide@0x90052000
84 #        ./name ata-4
85 #        ./ioport 1
86 #        ./device_type ata
87 #        ./interrupt  12
88 #        ./reg 0x90052000 8 0x90052010 8 0x90052020 8 0x90052030 1 0x90052040 1 0x90052050 8
89 #/iobus@0x90000000/ide@0x90052000 > a irq12 /iobus/opic