#
#       $NetBSD: RPI2,v 1.12 2020/09/29 19:58:50 jmcneill Exp $
#
#       RPi2 -- Raspberry Pi 2
#

include "arch/evbarm/conf/RPI"

no options      CPU_ARM1176
no options      SOC_BCM2835
no options      TPIDRPRW_IS_CURLWP
no options      ARM11_COMPAT_MMU
no options      __HAVE_MM_MD_CACHE_ALIASING
no makeoptions  CPUFLAGS

#options        VERBOSE_INIT_ARM
# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
#options        EARLYCONS=bcm2836,CONSADDR=0x3f201000   # RPI2
#options        EARLYCONS=bcm2837,CONSADDR=0x3f215040   # RPI3

options         SOC_BCM2836
options         CPU_CORTEX
options         MULTIPROCESSOR
#options        CORTEX_PMC
options         TPIDRPRW_IS_CURCPU
makeoptions     CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon"
options         __HAVE_GENERIC_CPU_INITCLOCKS

# Architecture options

no bcmtmr0      at fdt?                 # System Timer
gtmr*           at fdt? pass 1          # ARM Generic Timer
armgtmr0        at gtmr?