soc: stm32l4xx: add support for STM32L475XG

Add support for STM32L475xG SoC as a preliminary for
Discovery IOT board support.
stm32l476.dtsi file is now including stm32l475.dtsi
since STM32L476 SoC is a STM32L475 SoC with LCD support

Change-Id: I7567255e4172231cbf4899474617ecae0cd68d64
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2017-04-26 15:23:04 +02:00 committed by Kumar Gala
commit eee56a7c10
5 changed files with 85 additions and 53 deletions

View file

@ -0,0 +1,18 @@
# Kconfig - ST Microelectronics STM32L475xG MCU
#
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L475XG
config SOC
string
default stm32l475xx
config NUM_IRQS
int
default 82
endif # SOC_STM32L475XG

View file

@ -14,4 +14,8 @@ config SOC_STM32L476XX
bool "STM32L476XX"
select HAS_STM32CUBE
config SOC_STM32L475XG
bool "STM32L475XG"
select HAS_STM32CUBE
endchoice