From 3833c39f6cecae5bfc1249905795c50640599226 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 5 Mar 2020 17:52:46 -0600 Subject: psim-device-tree: Rework so devices do not conflict with 256MB RAM closes #3849. --- tester/rtems/testing/bsps/psim-device-tree | 36 +++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/tester/rtems/testing/bsps/psim-device-tree b/tester/rtems/testing/bsps/psim-device-tree index d0b5f7c..f2feca4 100644 --- a/tester/rtems/testing/bsps/psim-device-tree +++ b/tester/rtems/testing/bsps/psim-device-tree @@ -4,24 +4,24 @@ /#address-cells 1 /openprom/init/register/pvr 0xfffe0000 /openprom/options/oea-memory-size 0x10000000 -##### 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 +##### 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 -- cgit v1.2.3