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>
This commit is contained in:
parent
7411c0141e
commit
b69ed0373e
4 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue