Skip to contentSkip to conversation

dt-bindings: vendor-prefixes: add Seeed Studio

PATCH Superseded Marcin Sloniewski 2 participants 4 messages Jul 23, 2020 – Jul 24, 2020

Subsystems (3)

v4 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/3 dt-bindings: vendor-prefixes: add Seeed Studio

Add the "seeed" vendor prefix for Seeed Technology Co., Ltd
Website: https://www.seeedstudio.com/

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 9aeab66be85f..7dd03b3e9d3c 100644
@@ -902,6 +902,8 @@ patternProperties:
     description: Schindler
   "^seagate,.*":
     description: Seagate Technology PLC
+  "^seeed,.*":
+    description: Seeed Technology Co., Ltd
   "^seirobotics,.*":
     description: Shenzhen SEI Robotics Co., Ltd
   "^semtech,.*":
Signature · 1 line
2.27.0
#1 lore raw

PATCH v4 2/3 dt-bindings: arm: stm32: document Odyssey compatible

Document device tree bindings of Seeed SoM and carrier board.

---
 Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/stm32/stm32.yaml +2 -0
index 790e6dd48e34..22b9aaa75eee 100644
@@ -39,6 +39,8 @@ properties:
           - enum:
               - arrow,stm32mp157a-avenger96 # Avenger96
               - lxa,stm32mp157c-mc1
+              - seeed,stm32mp157c-odyssey
+              - seeed,stm32mp157c-odyssey-som
               - shiratech,stm32mp157a-iot-box # IoT Box
               - shiratech,stm32mp157a-stinger96 # Stinger96
               - st,stm32mp157c-ed1
Signature · 1 line
2.27.0
#2 lore raw

Re: [PATCH v4 2/3] dt-bindings: arm: stm32: document Odyssey compatible

Hi,

Quoted 13 lines · Marcin Sloniewski

Document device tree bindings of Seeed SoM and carrier board.

---
 Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/stm32/stm32.yaml +0 -0
index 790e6dd48e34..22b9aaa75eee 100644

Documentation/devicetree/bindings/arm/stm32/stm32.yaml properties: · line 43

Quoted 5 lines
Documentation/devicetree/bindings/arm/stm32/stm32.yaml +2 -0
@@ -39,6 +39,8 @@ properties:
           - enum:
               - arrow,stm32mp157a-avenger96 # Avenger96
               - lxa,stm32mp157c-mc1
+              - seeed,stm32mp157c-odyssey
+              - seeed,stm32mp157c-odyssey-som

Did you run dtbs_check over it? I think this should fail.

You want something like:

# Odyssey SoM boards
- items:
- enum:
- seeed,stm32mp157c-odyssey
- const: seeed,stm32mp157c-odyssey-som
- const: st,stm32mp157

(Note 3 items vs 2 in yours)

Quoted 4 lines
Documentation/devicetree/bindings/arm/stm32/stm32.yaml +0 -0
               - shiratech,stm32mp157a-iot-box # IoT Box
               - shiratech,stm32mp157a-stinger96 # Stinger96
               - st,stm32mp157c-ed1
Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#3 lore raw

PATCH v4 3/3 ARM: dts: stm32: add initial support for stm32mp157-odyssey board

In reply to Marcin Sloniewski

Add support for Seeed Studio's stm32mp157c odyssey board. Board consists of SoM with stm32mp157c with 4GB eMMC and 512 MB DDR3 RAM and carrier board with USB and ETH interfaces, SD card connector, wifi and BT chip AP6236.

In this patch only basic kernel boot is supported and interfacing SD card and on-board eMMC.

---

Changes in v4:
- add seeed,stm32mp157c-odyssey-som in compatible for carrier board
- fix sdmmc2 interface by changing one of the pins to use
- change eth phy address to 7

Changes in v3:
- fix compilation on tip of stm32-next
due to change in names for pinctrl
- fix deprecated binding for led node
- fix redundant "okay" statuses
- add phy part number for eth in comment

Changes in v2:
- add new odyssey dts to Makefile

 arch/arm/boot/dts/Makefile                    |   3 +-
 .../arm/boot/dts/stm32mp157c-odyssey-som.dtsi | 294 ++++++++++++++++++
 arch/arm/boot/dts/stm32mp157c-odyssey.dts     |  73 +++++
 3 files changed, 369 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi
 create mode 100644 arch/arm/boot/dts/stm32mp157c-odyssey.dts
arch/arm/boot/dts/Makefile +2 -1
index e6a1cac0bfc7..a3ea2301c82c 100644
@@ -1047,7 +1047,8 @@ dtb-$(CONFIG_ARCH_STM32) += \
 	stm32mp157c-dk2.dtb \
 	stm32mp157c-ed1.dtb \
 	stm32mp157c-ev1.dtb \
-	stm32mp157c-lxa-mc1.dtb
+	stm32mp157c-lxa-mc1.dtb \
+	stm32mp157c-odyssey.dtb
 dtb-$(CONFIG_MACH_SUN4I) += \
 	sun4i-a10-a1000.dtb \
 	sun4i-a10-ba10-tvbox.dtb \
arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi new file +294 -0

294 lines not on this page · raw message

arch/arm/boot/dts/stm32mp157c-odyssey.dts new file +73 -0

73 lines not on this page · raw message

Signature · 1 line
2.27.0