[U-Boot] [PATCH v2 1/7] ARM: DTS: stm32: add stm32f746-disco device tree files
Vikas MANOCHA
vikas.manocha at st.com
Thu Nov 24 02:32:57 CET 2016
Hi Michael,
> -----Original Message-----
> From: Michael Kurz [mailto:michi.kurz at gmail.com]
> Sent: Friday, November 04, 2016 12:21 PM
> To: u-boot at lists.denx.de
> Cc: Michael Kurz <michi.kurz at gmail.com>; Heiko Schocher <hs at denx.de>; Simon Glass <sjg at chromium.org>; Masahiro Yamada
> <yamada.masahiro at socionext.com>; York Sun <york.sun at nxp.com>; Lokesh Vutla <lokeshvutla at ti.com>; Ian Campbell
> <ijc at hellion.org.uk>; Hans de Goede <hdegoede at redhat.com>; Albert Aribaud <albert.u.boot at aribaud.net>; Vikas MANOCHA
> <vikas.manocha at st.com>; Stefan Roese <sr at denx.de>; Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> Subject: [PATCH v2 1/7] ARM: DTS: stm32: add stm32f746-disco device tree files
>
> This patch adds the DTS source files needed for stm32f746-disco board
> based on the stm32f429/469 files from current linux kernel.
>
> Signed-off-by: Michael Kurz <michi.kurz at gmail.com>
> ---
>
> Changes in v2: None
>
> arch/arm/dts/Makefile | 2 +
> arch/arm/dts/armv7-m.dtsi | 24 +
> arch/arm/dts/stm32f746-disco.dts | 154 +++
> arch/arm/dts/stm32f746.dtsi | 397 +++++++
> configs/stm32f746-disco_defconfig | 1 +
> include/dt-bindings/pinctrl/stm32f746-pinfunc.h | 1324 +++++++++++++++++++++++
> 6 files changed, 1902 insertions(+)
> create mode 100644 arch/arm/dts/armv7-m.dtsi
> create mode 100644 arch/arm/dts/stm32f746-disco.dts
> create mode 100644 arch/arm/dts/stm32f746.dtsi
> create mode 100644 include/dt-bindings/pinctrl/stm32f746-pinfunc.h
>
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index 836a8c4..0cb0d07 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -155,6 +155,8 @@ dtb-$(CONFIG_FSL_LSCH2) += fsl-ls1043a-qds-duart.dtb \
[...]
> +CONFIG_DEFAULT_DEVICE_TREE="stm32f746-disco"
> CONFIG_BOOTDELAY=3
> # CONFIG_DISPLAY_CPUINFO is not set
> # CONFIG_DISPLAY_BOARDINFO is not set
> diff --git a/include/dt-bindings/pinctrl/stm32f746-pinfunc.h b/include/dt-bindings/pinctrl/stm32f746-pinfunc.h
> new file mode 100644
> index 0000000..6348c6a
> --- /dev/null
> +++ b/include/dt-bindings/pinctrl/stm32f746-pinfunc.h
> @@ -0,0 +1,1324 @@
Split pin control in separate patch.
Otherwise,
Acked-by: Vikas MANOCHA <vikas.manocha at st.com>
> +#ifndef _DT_BINDINGS_STM32F746_PINFUNC_H
> +#define _DT_BINDINGS_STM32F746_PINFUNC_H
> +
> +#define STM32F746_PA0_FUNC_GPIO 0x0
> +#define STM32F746_PA0_FUNC_TIM2_CH1_TIM2_ETR 0x2
[...]
Cheers,
Vikas
More information about the U-Boot
mailing list