Skip to contentSkip to conversation

ixp4xx: add welltech-epbx100

PATCH In review Corentin Labbe 2 participants 8 messages May 4, 2021 – May 6, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover ixp4xx: add welltech-epbx100

The welltech epbx100 is a small IP PBX board.
It ship an Intel IXDPG425 Network Gateway Reference (IXP42X 533MHz) SoC. Original image ran an old 2.4.31 but upgrading to recent kernel was easy.
It misses a working network interfaces but its current state is sufficient to work on my interest, its crypto device.

More information on the board could be found on http://kernel.montjoie.ovh/welltech-epbx100.html

Corentin Labbe (5):
ARM: ixp4xx_defconfig: add CONFIG_SERIAL_OF_PLATFORM
ARM: ixp4xx_defconfig: add MTD_PHYSMAP
dt-bindings: add vendor prefix for welltech
dt-bindings: arm: intel-ixp4xx: add welltech,epbx100
ARM: dts: add intel-ixp42x-welltech-epbx100

 .../devicetree/bindings/arm/intel-ixp4xx.yaml |  1 +
 .../devicetree/bindings/vendor-prefixes.yaml  |  2 +
 arch/arm/boot/dts/Makefile                    |  1 +
 .../dts/intel-ixp42x-welltech-epbx100.dts     | 76 +++++++++++++++++++
 arch/arm/configs/ixp4xx_defconfig             |  3 +
 5 files changed, 83 insertions(+)
 create mode 100644 arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts
Signature · 1 line
2.26.3
#1 lore raw

PATCH 1/5 ARM: ixp4xx_defconfig: add CONFIG_SERIAL_OF_PLATFORM

My ixp42x-welltech-epbx100 does not print anything on console without CONFIG_SERIAL_OF_PLATFORM.

---
 arch/arm/configs/ixp4xx_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/ixp4xx_defconfig +1 -0
index 0d6edeb27659..e3bcf2bed25c 100644
@@ -152,6 +152,7 @@ CONFIG_INPUT_IXP4XX_BEEPER=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_8250_NR_UARTS=2
+CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_I2C=y
 CONFIG_I2C_CHARDEV=y
 CONFIG_SENSORS_W83781D=y
Signature · 1 line
2.26.3
#2 lore raw

PATCH 2/5 ARM: ixp4xx_defconfig: add MTD_PHYSMAP

In reply to Corentin Labbe

Without MTD_PHYSMAP/MTD_PHYSMAP_OF the flash partitions of my welltech,epbx100 are not detected.

---
 arch/arm/configs/ixp4xx_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/ixp4xx_defconfig +2 -0
index e3bcf2bed25c..9a7667383df9 100644
@@ -109,6 +109,8 @@ CONFIG_MTD_REDBOOT_PARTS=y
 CONFIG_MTD_BLOCK=y
 CONFIG_MTD_CFI=y
 CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_PHYSMAP=y
+CONFIG_MTD_PHYSMAP_OF=y
 CONFIG_MTD_COMPLEX_MAPPINGS=y
 CONFIG_MTD_IXP4XX=y
 CONFIG_MTD_RAW_NAND=m
Signature · 1 line
2.26.3
#3 lore raw

PATCH 3/5 dt-bindings: add vendor prefix for welltech

In reply to Corentin Labbe

Add vendor prefix for Welltech computer Co Ld.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 71ccbe682e11..f9648b37da12 100644
@@ -1248,6 +1248,8 @@ patternProperties:
     description: Western Digital Corp.
   "^we,.*":
     description: Würth Elektronik GmbH.
+  "^welltech,.*":
+    description: Welltech Computer Co., Limited.
   "^wetek,.*":
     description: WeTek Electronics, limited.
   "^wexler,.*":
Signature · 1 line
2.26.3
#5 lore raw

PATCH 4/5 dt-bindings: arm: intel-ixp4xx: add welltech,epbx100

In reply to Corentin Labbe

Adds welltech,epbx100 as a valid intel-ixp4xx board.

---
 Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml +1 -0
index d72e92bdf7c1..230bffeec0e5 100644
@@ -17,6 +17,7 @@ properties:
       - items:
           - enum:
               - linksys,nslu2
+              - welltech,epbx100
           - const: intel,ixp42x
       - items:
           - enum:
Signature · 1 line
2.26.3
#7 lore raw

PATCH 5/5 ARM: dts: add intel-ixp42x-welltech-epbx100

In reply to Corentin Labbe

This patch adds devicetree for intel-ixp42x-welltech-epbx100.

---
 arch/arm/boot/dts/Makefile                    |  1 +
 .../dts/intel-ixp42x-welltech-epbx100.dts     | 76 +++++++++++++++++++
 2 files changed, 77 insertions(+)
 create mode 100644 arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts
arch/arm/boot/dts/Makefile +1 -0
index 1580313eb372..7d0c94b9108d 100644
@@ -242,6 +242,7 @@ dtb-$(CONFIG_ARCH_INTEGRATOR) += \
 	integratorcp.dtb
 dtb-$(CONFIG_ARCH_IXP4XX) += \
 	intel-ixp42x-linksys-nslu2.dtb \
+	intel-ixp42x-welltech-epbx100.dtb \
 	intel-ixp43x-gateworks-gw2358.dtb
 dtb-$(CONFIG_ARCH_KEYSTONE) += \
 	keystone-k2hk-evm.dtb \
arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts new file +76 -0

76 lines not on this page · raw message

Signature · 1 line
2.26.3