Skip to contentSkip to conversation

Add Toby-Churchill SL50 board support

PATCH New Enric Balletbo i Serra 2 participants 3 messages Sep 7, 2015 – Sep 12, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

v4 cover Add Toby-Churchill SL50 board support

This patch series adds support for SL50 board based on TI AM335x SoC.

Changes since v3:
- Rebase with current mainline.
- Fix warning about CONFIG_SYS_MALLOC_F_LEN redefinition.

Changes since v2:
- Rebased with current mainline.
- Keep the TI copyright header on some files.
- Add SPDX tags instead the full verbage.
- Set default fdtfile to am335x-sl50.dtb (instead uses am33xx-sl50.dtb)

Changes since v1:
- Rebased with current mainline.
- Fix implicit declaration of function 'is_valid_ether_addr' (and the resulting link failure).

Best regards,

Enric Balletbo i Serra (1):
board: Add Toby-Churchill SL50 board support.

 arch/arm/Kconfig              |   8 +
 board/tcl/sl50/Kconfig        |  31 ++++
 board/tcl/sl50/MAINTAINERS    |   6 +
 board/tcl/sl50/Makefile       |  13 ++
 board/tcl/sl50/board.c        | 386 ++++++++++++++++++++++++++++++++++++++++++
 board/tcl/sl50/board.h        |  22 +++
 board/tcl/sl50/mux.c          | 154 +++++++++++++++++
 configs/am335x_sl50_defconfig |  10 ++
 include/configs/am335x_sl50.h | 138 +++++++++++++++
 9 files changed, 768 insertions(+)
 create mode 100644 board/tcl/sl50/Kconfig
 create mode 100644 board/tcl/sl50/MAINTAINERS
 create mode 100644 board/tcl/sl50/Makefile
 create mode 100644 board/tcl/sl50/board.c
 create mode 100644 board/tcl/sl50/board.h
 create mode 100644 board/tcl/sl50/mux.c
 create mode 100644 configs/am335x_sl50_defconfig
 create mode 100644 include/configs/am335x_sl50.h
Signature · 1 line
2.1.0
#1 lore raw

PATCH v4 1/1 board: Add Toby-Churchill SL50 board support.

Add support for Lightwriter SL50 series board, a small, robust and portable Voice Output Communication Aids (VOCA) designed to meet the particular and changing needs of people with speech loss resulting from a wide range of acquired, progressive and congenital conditions.

---
 arch/arm/Kconfig              |   8 +
 board/tcl/sl50/Kconfig        |  31 ++++
 board/tcl/sl50/MAINTAINERS    |   6 +
 board/tcl/sl50/Makefile       |  13 ++
 board/tcl/sl50/board.c        | 386 ++++++++++++++++++++++++++++++++++++++++++
 board/tcl/sl50/board.h        |  22 +++
 board/tcl/sl50/mux.c          | 154 +++++++++++++++++
 configs/am335x_sl50_defconfig |  10 ++
 include/configs/am335x_sl50.h | 138 +++++++++++++++
 9 files changed, 768 insertions(+)
 create mode 100644 board/tcl/sl50/Kconfig
 create mode 100644 board/tcl/sl50/MAINTAINERS
 create mode 100644 board/tcl/sl50/Makefile
 create mode 100644 board/tcl/sl50/board.c
 create mode 100644 board/tcl/sl50/board.h
 create mode 100644 board/tcl/sl50/mux.c
 create mode 100644 configs/am335x_sl50_defconfig
 create mode 100644 include/configs/am335x_sl50.h
arch/arm/Kconfig +8 -0
index c598f5e..2c57784 100644
@@ -400,6 +400,13 @@ config TARGET_AM335X_EVM
 	select DM_SERIAL
 	select DM_GPIO
 
+config TARGET_AM335X_SL50
+	bool "Support am335x_sl50"
+	select CPU_V7
+	select SUPPORT_SPL
+	select DM
+	select DM_SERIAL
+
 config TARGET_AM43XX_EVM
 	bool "Support am43xx_evm"
 	select CPU_V7
@@ -877,6 +884,7 @@ source "board/st/stm32f429-discovery/Kconfig"
 source "board/st/stv0991/Kconfig"
 source "board/sunxi/Kconfig"
 source "board/syteco/zmx25/Kconfig"
+source "board/tcl/sl50/Kconfig"
 source "board/ti/am335x/Kconfig"
 source "board/ti/am43xx/Kconfig"
 source "board/birdland/bav335x/Kconfig"
board/tcl/sl50/Kconfig new file +31 -0
new file mode 100644
index 0000000..390a476
@@ -0,0 +1,31 @@
+if TARGET_AM335X_SL50
+
+config SYS_BOARD
+	default "sl50"
+
+config SYS_VENDOR
+	default "tcl"
+
+config SYS_SOC
+	default "am33xx"
+
+config SYS_CONFIG_NAME
+	default "am335x_sl50"
+
+config CONS_INDEX
+	int "UART used for console"
+	range 1 6
+	default 1
+	help
+	  The AM335x SoC has a total of 6 UARTs (UART0 to UART5 as referenced
+	  in documentation, etc) available to it.  Depending on your specific
+	  board you may want something other than UART0 as for example the IDK
+	  uses UART3 so enter 4 here.
+
+config DM_GPIO
+	default y
+
+config DM_SERIAL
+	default y
+
+endif
board/tcl/sl50/MAINTAINERS new file +6 -0
new file mode 100644
index 0000000..29f1e3d
@@ -0,0 +1,6 @@
+SL50 BOARD
+M:	Enric Balletbo i Serra <[email protected]>
+S:	Maintained
+F:	board/tcl/sl50/
+F:	include/configs/am335x_sl50.h
+F:	configs/am335x_sl50_defconfig
board/tcl/sl50/Makefile new file +13 -0
new file mode 100644
index 0000000..d4a548c
@@ -0,0 +1,13 @@
+#
+# Makefile
+#
+# Copyright (C) 2015 Toby Churchill Ltd - http://www.toby-churchill.com/
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+ifeq ($(CONFIG_SKIP_LOWLEVEL_INIT),)
+obj-y	:= mux.o
+endif
+
+obj-y	+= board.o
board/tcl/sl50/board.c new file +386 -0

386 lines not on this page · raw message

board/tcl/sl50/board.h new file +22 -0
new file mode 100644
index 0000000..ae2ef6b
@@ -0,0 +1,22 @@
+/*
+ * board.h
+ *
+ * TCL SL50 boards information header
+ *
+ * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+#ifndef _BOARD_H_
+#define _BOARD_H_
+
+void enable_uart0_pin_mux(void);
+void enable_uart1_pin_mux(void);
+void enable_uart2_pin_mux(void);
+void enable_uart3_pin_mux(void);
+void enable_uart4_pin_mux(void);
+void enable_uart5_pin_mux(void);
+void enable_i2c0_pin_mux(void);
+void enable_board_pin_mux(void);
+#endif
board/tcl/sl50/mux.c new file +154 -0

154 lines not on this page · raw message

configs/am335x_sl50_defconfig new file +10 -0
new file mode 100644
index 0000000..0ddccc8
@@ -0,0 +1,10 @@
+CONFIG_ARM=y
+CONFIG_TARGET_AM335X_SL50=y
+CONFIG_SPL=y
+CONFIG_SPL_STACK_R=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
+CONFIG_CONS_INDEX=1
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_SETEXPR is not set
include/configs/am335x_sl50.h new file +138 -0

138 lines not on this page · raw message

Signature · 1 line
2.1.0
#2 lore raw

PATCH v4 1/1 board: Add Toby-Churchill SL50 board support.

Quoted 6 lines · Enric Balletb? i Serra

Add support for Lightwriter SL50 series board, a small, robust and portable Voice Output Communication Aids (VOCA) designed to meet the particular and changing needs of people with speech loss resulting from a wide range of acquired, progressive and congenital conditions.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150912/18230c6e/attachment.sig>