On 5/2/19 2:46 PM, Felix Brack wrote:
Hi Hannes,
Hi Felix,
On 02.05.19 14:09, Hannes Schmelzer wrote:
This commit adds support for the B&R brsmarc1 SoM.
The SoM is based on TI's AM335x SoC.
Mainly vxWorks 6.9.4.x is running on the board,
doing some PLC stuff on various carrier boards.
Signed-off-by: Hannes Schmelzer <[email protected]>
---
Changes in v2:
- fix style issue in arch/arm/mach-omap2/am33xx/Kconfig
- fix SDPX tag in Make-files/rules
arch/arm/dts/Makefile | 1 +
arch/arm/dts/am335x-brsmarc1.dts | 408 +++++++++++++++++++++++++++++++++++++
arch/arm/mach-omap2/Kconfig | 1 +
arch/arm/mach-omap2/am33xx/Kconfig | 4 +
board/BuR/brsmarc1/Kconfig | 15 ++
board/BuR/brsmarc1/MAINTAINERS | 6 +
board/BuR/brsmarc1/Makefile | 10 +
board/BuR/brsmarc1/board.c | 168 +++++++++++++++
board/BuR/brsmarc1/config.mk | 33 +++
board/BuR/brsmarc1/mux.c | 266 ++++++++++++++++++++++++
configs/brsmarc1_defconfig | 107 ++++++++++
include/configs/brsmarc1.h | 87 ++++++++
12 files changed, 1106 insertions(+)
create mode 100644 arch/arm/dts/am335x-brsmarc1.dts
create mode 100644 board/BuR/brsmarc1/Kconfig
create mode 100644 board/BuR/brsmarc1/MAINTAINERS
create mode 100644 board/BuR/brsmarc1/Makefile
create mode 100644 board/BuR/brsmarc1/board.c
create mode 100644 board/BuR/brsmarc1/config.mk
create mode 100644 board/BuR/brsmarc1/mux.c
create mode 100644 configs/brsmarc1_defconfig
create mode 100644 include/configs/brsmarc1.h
diff --git a/board/BuR/brsmarc1/mux.c b/board/BuR/brsmarc1/mux.c
new file mode 100644
index 0000000..33c214d
--- /dev/null
+++ b/board/BuR/brsmarc1/mux.c
@@ -0,0 +1,266 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * mux.c
+ *
+ * Pinmux Setting for B&R BRSMARC1 Board (HW-Rev. 1)
+ *
+ * Copyright (C) 2017 Hannes Schmelzer <[email protected]>
+ * B&R Industrial Automation GmbH - http://www.br-automation.com
+ *
+ */
+
+#include <common.h>
+#include <asm/arch/sys_proto.h>
+#include <asm/arch/hardware.h>
+#include <asm/arch/mux.h>
+#include <asm/io.h>
+#include <i2c.h>
+
Is there any particular reason for not using the existing pinctrl driver
to do all this pin configuration?
Many thanks for your input.
Not really a (known) reason why not using this driver.
Maybe i just wasn't aware of it. Started in 2013 with first am335x board,
and the style about pinmux setup wasn't changed over time .
Only reason for not changing this NOW is, that i have this boards
already in production and passed internal testing.
But i will look into the pinctrl driver, then convert the board and
bring in that changes within next (internal) release.
After that i will provide some patch for changing that on all BuR am335x
boards (brxre1, brppt1, brsmarc1).
regards Felix
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot
cheers,
Hannes
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot