#include #include #include /* Note: Zephyr uses exception numbers, vs the IRQ #s used by the CC32XX SDK */ /* which are offset by 16: */ #define EXP_UARTA0 (INT_UARTA0 - 16) #define EXP_UARTA1 (INT_UARTA1 - 16) / { cpus { cpu@0 { compatible = "arm,cortex-m4"; }; }; sram0: memory { compatible = "sram"; reg = ; }; flash0: serial-flash { compatible = "serial-flash"; reg = <0x0 DT_SFLASH_SIZE>; }; #if defined(CONFIG_SOC_CC3220SF) flash1: flash { reg = <0x01000000 DT_FLASH_SIZE>; }; #endif soc { uart0: uart@4000C000 { compatible = "ti,cc32xx-uart"; reg = <0x4000C000 0x4c>; interrupts = ; status = "disabled"; }; uart1: uart@4000D000 { compatible = "ti,cc32xx-uart"; reg = <0x4000D000 0x4c>; interrupts = ; status = "disabled"; }; }; }; &nvic { arm,num-irq-priority-bits = <3>; };