Skip to content
Permalink
Browse files

boards: iotdk: add mpu and fpu configuration

* iotdk supports fpu and mpu
* iotdk supports fast irq
* a fix in device tree

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
  • Loading branch information...
vonhust authored and andrewboie committed Apr 16, 2019
1 parent 7411c01 commit b69ed0373e178a807e8c7c797e77cf5a4fa7644d
@@ -12,4 +12,5 @@ CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_ARC_MPU_ENABLE=y
@@ -246,7 +246,7 @@
compatible = "snps,designware-spi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x80010100 0x100>;
reg = <0x80010200 0x100>;
interrupts = <78 2>, <79 2>, <80 2>;
interrupt-names = "err-int", "rx-avail", "tx-req";
interrupt-parent = <&intc>;
@@ -19,6 +19,9 @@ config NUM_IRQ_PRIO_LEVELS
# 0 for Fast Interrupts (FIRQs) and 1-3 for Regular Interrupts (IRQs).
default 4

config ARC_MPU_VER
default 2

config NUM_IRQS
# must be > the highest interrupt number used
default 95
@@ -32,6 +35,9 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
config HARVARD
default y

config ARC_FIRQ
default y

if SERIAL

config UART_NS16550
@@ -7,3 +7,5 @@

config SOC_ARC_IOT
bool "Synopsys ARC IoT SoC"
select CPU_HAS_MPU
select CPU_HAS_FPU

0 comments on commit b69ed03

Please sign in to comment.
You can’t perform that action at this time.