diff --git a/dts/arm/st/wb/stm32wb.dtsi b/dts/arm/st/wb/stm32wb.dtsi new file mode 100644 index 00000000000000..f73c6aebb39d30 --- /dev/null +++ b/dts/arm/st/wb/stm32wb.dtsi @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2019 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-m4f"; + reg = <0>; + }; + }; + + sram0: memory@20000000 { + device_type = "memory"; + compatible = "mmio-sram"; + }; + + soc { + flash-controller@58004000 { + compatible = "st,stm32wb-flash-controller"; + label = "FLASH_CTRL"; + reg = <0x58004000 0x400>; + interrupts = <4 0>; + + #address-cells = <1>; + #size-cells = <1>; + + flash0: flash@8000000 { + compatible = "soc-nv-flash"; + label = "FLASH_STM32"; + }; + }; + }; +}; + +&nvic { + arm,num-irq-priority-bits = <4>; +}; diff --git a/dts/arm/st/wb/stm32wb55.dtsi b/dts/arm/st/wb/stm32wb55.dtsi new file mode 100644 index 00000000000000..d77bb20b1524cf --- /dev/null +++ b/dts/arm/st/wb/stm32wb55.dtsi @@ -0,0 +1,7 @@ +/* + * Copyright (c) 2018 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include