summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sim-scripts/psim.in40
1 files changed, 19 insertions, 21 deletions
diff --git a/sim-scripts/psim.in b/sim-scripts/psim.in
index 723d5fb..c01dd55 100644
--- a/sim-scripts/psim.in
+++ b/sim-scripts/psim.in
@@ -77,32 +77,30 @@ cat <<EOF
#
# Device Tree for PSIM
#
-# Automatically Generated -- DO NOT EDIT!!
-#
/#address-cells 1
/openprom/init/register/pvr 0xfffe0000
-/openprom/options/oea-memory-size 16777216
-##### EEPROM @ 0x0c000000 for 512K
-/eeprom@0x0c000000/reg 0x0c000000 0x80000
-/eeprom@0x0c000000/nr-sectors 8
-/eeprom@0x0c000000/sector-size 0x10000
-/eeprom@0x0c000000/byte-write-delay 1000
-/eeprom@0x0c000000/sector-start-delay 100
-/eeprom@0x0c000000/erase-delay 1000
-/eeprom@0x0c000000/manufacture-code 0x01
-/eeprom@0x0c000000/device-code 0xa4
+/openprom/options/oea-memory-size 0x10000000
+##### EEPROM @ 0xfc000000 for 512K
+/eeprom@0xfc000000/reg 0xfc000000 0x80000
+/eeprom@0xfc000000/nr-sectors 8
+/eeprom@0xfc000000/sector-size 0x10000
+/eeprom@0xfc000000/byte-write-delay 1000
+/eeprom@0xfc000000/sector-start-delay 100
+/eeprom@0xfc000000/erase-delay 1000
+/eeprom@0xfc000000/manufacture-code 0x01
+/eeprom@0xfc000000/device-code 0xa4
-##### NVRAM/RTC NVRAM Portion is 0x0c080000 for 512K
-##### NVRAM/RTC RTC Portion is 0x0c100000 for 12
-/nvram@0x0c080000/reg 0x0c080000 524300
-/nvram@0x0c080000/timezone -3600
+##### NVRAM/RTC NVRAM Portion is 0xfc080000 for 512K
+##### NVRAM/RTC RTC Portion is 0xfc100000 for 12
+/nvram@0xfc080000/reg 0xfc080000 524300
+/nvram@0xfc080000/timezone -3600
-##### OPENPIC @ 0x0c130000 - 0x0c170000 (512K)
-/opic@0x0c130000/reg 0x0c130000 0 0x0c130000 0x40000
-/opic@0x0c130000/interrupt-ranges 0 0 0 16
-/opic@0x0c130000/device_type open-pic
+##### OPENPIC @ 0xfc130000 - 0xfc170000 (512K)
+/opic@0xfc130000/reg 0xfc130000 0 0xfc130000 0x40000
+/opic@0xfc130000/interrupt-ranges 0 0 0 16
+/opic@0xfc130000/device_type open-pic
## interupt out -> CPU's interrupt pin
-/opic@0x0c130000 > intr0 int /cpus/cpu@0
+/opic@0xfc130000 > intr0 int /cpus/cpu@0
EOF
if [ ${enable_sysv_devices} = yes ] ; then