Add initial support for Wandboard dual lite and solo.
PATCH v5 1/1 Add initial support for Wandboard dual lite and solo.
From: Fabio Estevam <[email protected]>
Wandboard is a development board that has two variants: one version based on mx6 dual lite and another one based on mx6 solo.
For more details about Wandboard, please refer to: http://www.wandboard.org/
---
Changes since v4:
- Improved commit log
- Rebased against the latest u-boot-imx tree
- Added README
- Remove hardcode in get_board_rev()
- Define MACH_TYPE_WANDBOARD
- Moved includes to the start of the file
- Use less space for CONFIG_SYS_MALLOC_LEN
- Use 5 seconds for boot delay
- Removed CONFIG_PREBOOT
- Adjust fdt_file for the solo variant
- Increase CONFIG_SYS_MEMTEST_END
Changes since v3:
- Rebased after fixing nitrogen DDR size:
http://marc.info/?l=u-boot&m=136321557726201&w=2
Changes since v2:
- Also added support to the mx6solo variant.
- Rebased against u-boot-imx
Changes since v1:
- Use get_ram_size
- Remove ARP_TIMEOUT
- Remove unneeded "1u"
MAINTAINERS | 1 + arch/arm/include/asm/arch-mx6/mx6dl_pins.h | 3 + board/wandboard/Makefile | 29 ++++ board/wandboard/README | 42 ++++++ board/wandboard/wandboard.c | 181 ++++++++++++++++++++++++ boards.cfg | 2 + include/configs/wandboard.h | 211 ++++++++++++++++++++++++++++ 7 files changed, 469 insertions(+) create mode 100644 board/wandboard/Makefile create mode 100644 board/wandboard/README create mode 100644 board/wandboard/wandboard.c create mode 100644 include/configs/wandboard.h
MAINTAINERS +1 -0
@@ -664,6 +664,7 @@ Fabio Estevam <[email protected]> mx53smd i.MX53 mx6qsabresd i.MX6Q mx6qsabreauto i.MX6Q + wandboard i.MX6DL/S Daniel Gorsulowski <[email protected]>
arch/arm/include/asm/arch-mx6/mx6dl_pins.h +3 -0
@@ -50,6 +50,8 @@#define NO_MUX_I 0#define NO_PAD_I 0enum { +MX6_PAD_CSI0_DAT10__UART1_TXD =IOMUX_PAD (0x0360 ,0x004C ,3 ,0x0000 ,0 ,0 ), +MX6_PAD_CSI0_DAT11__UART1_RXD =IOMUX_PAD (0x0364 ,0x0050 ,3 ,0x08FC ,1 ,0 ),MX6_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK =IOMUX_PAD (0x03B0 ,0x009C ,0 ,0x0000 ,0 , PAD_CTL_DSE_120ohm),MX6_PAD_DI0_PIN15__IPU1_DI0_PIN15 =IOMUX_PAD (0x03B4 ,0x00A0 ,0 ,0x0000 ,0 , PAD_CTL_DSE_120ohm),MX6_PAD_DI0_PIN2__IPU1_DI0_PIN2 =IOMUX_PAD (0x03B8 ,0x00A4 ,0 ,0x0000 ,0 , PAD_CTL_DSE_120ohm),
@@ -90,6 +92,7 @@ enum {MX6_PAD_EIM_D27__UART2_RXD =IOMUX_PAD (0x0540 ,0x0170 ,4 ,0x0904 ,1 ,0 ),MX6_PAD_EIM_D28__I2C1_SDA =IOMUX_PAD (0x0544 ,0x0174 ,1 |IOMUX_CONFIG_SION ,0x086C ,1 ,0 ),MX6_PAD_EIM_D28__GPIO_3_28 =IOMUX_PAD (0x0544 ,0x0174 ,5 ,0x0000 ,0 ,0 ), +MX6_PAD_EIM_D29__GPIO_3_29 =IOMUX_PAD (0x0548 ,0x0178 ,5 ,0x0000 ,0 ,0 ),MX6_PAD_ENET_MDC__ENET_MDC =IOMUX_PAD (0x05B8 ,0x01E8 ,1 ,0x0000 ,0 ,0 ),MX6_PAD_ENET_MDIO__ENET_MDIO =IOMUX_PAD (0x05BC ,0x01EC ,1 ,0x0810 ,0 ,0 ), MX6_PAD_ENET_REF_CLK__ENET_TX_CLK = IOMUX_PAD(0x05C0, 0x01F0, 1, 0x0000, 0, 0),
board/wandboard/Makefile new file +29 -0
@@ -0,0 +1,29 @@ +# +# (C) Copyright 2013 Freescale Semiconductor, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS := wandboard.o + +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
board/wandboard/README new file +42 -0
42 lines not on this page · raw message
board/wandboard/wandboard.c new file +181 -0
181 lines not on this page · raw message
boards.cfg +2 -0
@@ -261,6 +261,8 @@ nitrogen6q arm armv7 nitrogen6x boundar nitrogen6q2g arm armv7 nitrogen6x boundary mx6 nitrogen6x:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q2g.cfg,MX6Q,DDR_MB=2048 nitrogen6s arm armv7 nitrogen6x boundary mx6 nitrogen6x:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6s.cfg,MX6S,DDR_MB=512 nitrogen6s1g arm armv7 nitrogen6x boundary mx6 nitrogen6x:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6s1g.cfg,MX6S,DDR_MB=1024 +wandboard_dl arm armv7 wandboard - mx6 wandboard:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6dl.cfg,MX6DL,DDR_MB=1024 +wandboard_solo arm armv7 wandboard - mx6 wandboard:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6s.cfg,MX6S,DDR_MB=512 cm_t35 arm armv7 cm_t35 - omap3 omap3_overo arm armv7 overo - omap3 omap3_pandora arm armv7 pandora - omap3
include/configs/wandboard.h new file +211 -0
211 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v5 1/1 Add initial support for Wandboard dual lite and solo.
Quoted 9 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Wandboard is a development board that has two variants: one version based on mx6 dual lite and another one based on mx6 solo.
For more details about Wandboard, please refer to: http://www.wandboard.org/
Signed-off-by Fabio Estevam <[email protected]>---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================