dt-bindings: vendor-prefixes: add Seeed Studio
PATCH v7 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
@@ -910,6 +910,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
PATCH v7 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 | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/stm32/stm32.yaml +6 -0
@@ -50,4 +50,10 @@ properties: - const: st,stm32mp157c-ev1 - const: st,stm32mp157c-ed1 - const: st,stm32mp157 + - description: Odyssey STM32MP1 SoM based Boards + items: + - enum: + - seeed,stm32mp157c-odyssey + - const: seeed,stm32mp157c-odyssey-som + - const: st,stm32mp157 ...
Signature · 1 line
2.27.0
PATCH v7 3/3 ARM: dts: stm32: add initial support for stm32mp157-odyssey board
In reply to Marcin SloniewskiAdd 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 v7:
- fix eth: added clock assignement for phy. It gets clock from PLL4_P which must be configured in u-boot/ATF as stmicroelectronics suggests.
Changes in v6:
- add reset pin for eth phy
- move pinctrl for sdmmc2 to stm32mp15-pinctrl.dtsi
Changes in v5:
- fix schema for board's dts
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 +- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 18 ++ .../arm/boot/dts/stm32mp157c-odyssey-som.dtsi | 276 ++++++++++++++++++ arch/arm/boot/dts/stm32mp157c-odyssey.dts | 80 +++++ 4 files changed, 376 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
@@ -1056,7 +1056,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/stm32mp15-pinctrl.dtsi +18 -0
@@ -1437,6 +1437,24 @@ pins { }; }; + sdmmc2_d47_pins_d: sdmmc2-d47-3 { + pins { + pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */ + <STM32_PINMUX('A', 9, AF10)>, /* SDMMC2_D5 */ + <STM32_PINMUX('E', 5, AF9)>, /* SDMMC2_D6 */ + <STM32_PINMUX('C', 7, AF10)>; /* SDMMC2_D7 */ + }; + }; + + sdmmc2_d47_sleep_pins_d: sdmmc2-d47-sleep-3 { + pins { + pinmux = <STM32_PINMUX('A', 8, ANALOG)>, /* SDMMC2_D4 */ + <STM32_PINMUX('A', 9, ANALOG)>, /* SDMMC2_D5 */ + <STM32_PINMUX('E', 5, ANALOG)>, /* SDMMC2_D6 */ + <STM32_PINMUX('C', 7, ANALOG)>; /* SDMMC2_D7 */ + }; + }; + sdmmc3_b4_pins_a: sdmmc3-b4-0 { pins1 { pinmux = <STM32_PINMUX('F', 0, AF9)>, /* SDMMC3_D0 */
arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi new file +276 -0
276 lines not on this page · raw message
arch/arm/boot/dts/stm32mp157c-odyssey.dts new file +80 -0
80 lines not on this page · raw message
Signature · 1 line
2.27.0
Re: [PATCH v7 3/3] ARM: dts: stm32: add initial support for stm32mp157-odyssey board
Hello Marcin,
Quoted 9 lines · 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.
Signed-off-by Marcin Sloniewski <[email protected]>
arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi line 255
Quoted 6 lines
---
arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi new file +4
-0+ +&rng1 { + status = "okay"; +};
I think we should put this into the SoC dtsi instead.
Cheers
Ahmad
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 |
Re: [PATCH v7 3/3] ARM: dts: stm32: add initial support for stm32mp157-odyssey board
In reply to Marcin SloniewskiHi Marcin,
Quoted 10 lines · 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.
Signed-off-by Marcin Sloniewski <[email protected]>---
Series applied on stm32-next.
Regards
Alex