Skip to contentSkip to conversation

arm, am335x: add support for Moxa UC-8100-ME-T open platform

PATCH In review SZ Lin 3 participants 3 messages Aug 2, 2017 – Aug 10, 2017

Subsystems (2)
lore
Share & tools
lore

SZ Lin

author
#0 lore raw

PATCH v2 1/1 arm, am335x: add support for Moxa UC-8100-ME-T open platform

Add support for Moxa UC-8100-ME-T open platform

The UC-8100-ME-T computing platform is designed for embedded data acquisition industrial applications

The features of UC-8100-ME-T series are:
* eMMC
* SPI flash
* SD slot
* 2x LAN
* 2 RS-232/422/485 ports, software-selectable
* Mini PCIe form factor with USB signal
* USB host
* EEPROM
* TPM
* Watchdog
* RTC
* User gpio-keys
* User LEDs
* User button

---
Changes from v1:
- Remove the un-needed @ in led at x's
- Use AM33XX_IOPAD pinmux macro
- Properly alphabetize Makefile

 .../devicetree/bindings/arm/omap/omap.txt          |   3 +
 arch/arm/boot/dts/Makefile                         |   1 +
 arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts     | 525 +++++++++++++++++++++
 3 files changed, 529 insertions(+)
 create mode 100644 arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts
Documentation/devicetree/bindings/arm/omap/omap.txt +3 -0
index 8219b2c6bb29..72ad8700156a 100644
@@ -154,6 +154,9 @@ Boards:
 - AM335X phyCORE-AM335x: Development kit
   compatible = "phytec,am335x-pcm-953", "phytec,am335x-phycore-som", "ti,am33xx"
 
+- AM335X UC-8100-ME-T: Communication-centric industrial computing platform
+  compatible = "moxa,uc-8100-me-t", "ti,am33xx";
+
 - OMAP5 EVM : Evaluation Module
   compatible = "ti,omap5-evm", "ti,omap5"
 
arch/arm/boot/dts/Makefile +1 -0
index 4b17f35dc9a7..c293e841eea3 100644
@@ -617,6 +617,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \
 	am335x-evmsk.dtb \
 	am335x-icev2.dtb \
 	am335x-lxm.dtb \
+	am335x-moxa-uc-8100-me-t.dtb \
 	am335x-nano.dtb \
 	am335x-pepper.dtb \
 	am335x-phycore-rdk.dtb \
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts new file +525 -0

525 lines not on this page · raw message

Signature · 1 line
2.13.3
maintainer Acked-by on v2 1/1
#1 lore raw
Quoted 86 lines · SZ Lin

Add support for Moxa UC-8100-ME-T open platform

The UC-8100-ME-T computing platform is designed for embedded data acquisition industrial applications

The features of UC-8100-ME-T series are:
* eMMC
* SPI flash
* SD slot
* 2x LAN
* 2 RS-232/422/485 ports, software-selectable
* Mini PCIe form factor with USB signal
* USB host
* EEPROM
* TPM
* Watchdog
* RTC
* User gpio-keys
* User LEDs
* User button

---
Changes from v1:
- Remove the un-needed @ in led at x's
- Use AM33XX_IOPAD pinmux macro
- Properly alphabetize Makefile

 .../devicetree/bindings/arm/omap/omap.txt          |   3 +
 arch/arm/boot/dts/Makefile                         |   1 +
 arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts     | 525 +++++++++++++++++++++
 3 files changed, 529 insertions(+)
 create mode 100644 arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts
Documentation/devicetree/bindings/arm/omap/omap.txt +3 -0
index 8219b2c6bb29..72ad8700156a 100644
@@ -154,6 +154,9 @@ Boards:
 - AM335X phyCORE-AM335x: Development kit
   compatible = "phytec,am335x-pcm-953", "phytec,am335x-phycore-som", "ti,am33xx"
 
+- AM335X UC-8100-ME-T: Communication-centric industrial computing platform
+  compatible = "moxa,uc-8100-me-t", "ti,am33xx";
+
 - OMAP5 EVM : Evaluation Module
   compatible = "ti,omap5-evm", "ti,omap5"
 
arch/arm/boot/dts/Makefile +1 -0
index 4b17f35dc9a7..c293e841eea3 100644
@@ -617,6 +617,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \
 	am335x-evmsk.dtb \
 	am335x-icev2.dtb \
 	am335x-lxm.dtb \
+	am335x-moxa-uc-8100-me-t.dtb \
 	am335x-nano.dtb \
 	am335x-pepper.dtb \
 	am335x-phycore-rdk.dtb \
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts new file +20 -0
new file mode 100644
index 000000000000..0aa1d10a0bed
@@ -0,0 +1,525 @@
+/*
+ * Copyright (C) 2017 MOXA Inc. - https://www.moxa.com/
+ *
+ * Author: SZ Lin (???) <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/dts-v1/;
+
+#include "am33xx.dtsi"
+
+/ {
+	model = "Moxa UC-8100-ME-T";
+	compatible = "moxa,uc-8100-me-t", "ti,am33xx";
+
+	cpus {
+		cpu at 0 {

arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts line 30

Quoted 10 lines
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts new file +10 -0
+			cpu0-supply = <&vdd1_reg>;
+		};
+	};
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x20000000>; /* 512 MB */
+	};
+
+	vbat: fixedregulator at 0 {

Unit address without reg property is not valid (build with W=2). Perhaps vbat-regulator instead.

arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts line 35

Quoted 5 lines
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts new file +5 -0
+		compatible = "regulator-fixed";
+	};
+
+	/* Power supply provides a fixed 3.3V @3A */
+	vmmcsd_fixed: fixedregulator at 1 {

Ditto

With those fixed,

#2 lore raw
Quoted 2 lines · Rob Herring
Quoted 1 line · SZ Lin

Add support for Moxa UC-8100-ME-T open platform

...

Quoted 4 lines

arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts line 30

Quoted 1 line
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts new file +1 -0
+	vbat: fixedregulator at 0 {

Unit address without reg property is not valid (build with W=2). Perhaps vbat-regulator instead.

...

Quoted 8 lines

arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts line 35

Quoted 2 lines
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts new file +2 -0
+	/* Power supply provides a fixed 3.3V @3A */
+	vmmcsd_fixed: fixedregulator at 1 {

Ditto

With those fixed,

I've fixed it up here and will apply into omap-for-v4.14/dt thanks.

Tony