Re: STM32MP1 SoC support in latest Barebox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/22/2019 09:07 AM, gianluca wrote:
I need a __very quick__ answer to this subject, because a customer wants
to migrate from a iMX28 based board to a STM32MP1.


Now I've just clone the git repo from pengutronix, and a mere:

grep -r stm32mp1 *
dts/Bindings/mailbox/stm32-ipcc.txt:- compatible:   Must be "st,stm32mp1-ipcc"
dts/Bindings/mailbox/stm32-ipcc.txt:		compatible = "st,stm32mp1-ipcc";
dts/Bindings/iio/adc/st,stm32-adc.txt:  "st,stm32mp1-adc-core"
dts/Bindings/iio/adc/st,stm32-adc.txt:  and stm32h7 share a common ADC interrupt line. stm32mp1 has two separate
dts/Bindings/iio/adc/st,stm32-adc.txt:  "st,stm32mp1-adc"
dts/Bindings/iio/adc/st,stm32-dfsdm-adc.txt:up to 4 filters on stm32h7 or 6 filters on stm32mp1.
dts/Bindings/iio/adc/st,stm32-dfsdm-adc.txt:  "st,stm32mp1-dfsdm"
dts/Bindings/iio/adc/st,stm32-dfsdm-adc.txt:	Valid values are from 0 to 3 on stm32h7, 0 to 5 on stm32mp1.
dts/Bindings/reset/st,stm32mp1-rcc.txt:Please see Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.txt
dts/Bindings/pinctrl/st,stm32-pinctrl.txt:   "st,stm32mp157-pinctrl"
dts/Bindings/pinctrl/st,stm32-pinctrl.txt:   "st,stm32mp157-z-pinctrl"
dts/Bindings/interrupt-controller/st,stm32-exti.txt:    "st,stm32mp1-exti"
dts/Bindings/watchdog/st,stm32-iwdg.txt:  - "st,stm32mp1-iwdg"
dts/Bindings/watchdog/st,stm32-iwdg.txt:  is required only for st,stm32mp1-iwdg.
dts/Bindings/watchdog/st,stm32-iwdg.txt:  "lsi", "pclk" for st,stm32mp1-iwdg
dts/Bindings/rtc/st,stm32-rtc.txt:  - "st,stm32mp1-rtc" for devices compatible with stm32mp1.
dts/Bindings/rtc/st,stm32-rtc.txt:- interrupts: rtc alarm interrupt. On stm32mp1, a second interrupt is required
dts/Bindings/rtc/st,stm32-rtc.txt:		compatible = "st,stm32mp1-rtc";
dts/Bindings/net/stm32-dwmac.txt:	       For MPU family should be "st,stm32mp1-dwmac" to select
dts/Bindings/phy/phy-stm32-usbphyc.txt:- compatible: must be "st,stm32mp1-usbphyc"
dts/Bindings/phy/phy-stm32-usbphyc.txt:			compatible = "st,stm32mp1-usbphyc";
dts/Bindings/arm/stm32/stm32.txt:  st,stm32mp157
dts/Bindings/arm/stm32/stm32-syscon.txt:                 - " st,stm32mp157-syscfg " - for stm32mp157 based SoCs,
dts/Bindings/arm/stm32/stm32-syscon.txt:                 compatible = "st,stm32mp157-syscfg", "syscon";
dts/Bindings/clock/st,stm32mp1-rcc.txt:- compatible: "st,stm32mp1-rcc", "syscon"
dts/Bindings/clock/st,stm32mp1-rcc.txt:		compatible = "st,stm32mp1-rcc", "syscon";
dts/Bindings/clock/st,stm32mp1-rcc.txt:dt-bindings/clock/stm32mp1-clks.h header and can be used in device
dts/Bindings/clock/st,stm32mp1-rcc.txt:include/dt-bindings/reset-controller/stm32mp1-resets.h
dts/src/arm/stm32mp157-pinctrl.dtsi:			compatible = "st,stm32mp157-pinctrl";
dts/src/arm/stm32mp157-pinctrl.dtsi:			compatible = "st,stm32mp157-z-pinctrl";
dts/src/arm/stm32mp157c-ed1.dts:#include "stm32mp157c.dtsi"
dts/src/arm/stm32mp157c-ed1.dts:#include "stm32mp157-pinctrl.dtsi"
dts/src/arm/stm32mp157c-ed1.dts:	compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
dts/src/arm/stm32mp157c-ev1.dts:#include "stm32mp157c-ed1.dts"
dts/src/arm/stm32mp157c-ev1.dts:	compatible = "st,stm32mp157c-ev1", "st,stm32mp157c-ed1", "st,stm32mp157";
dts/src/arm/stm32mp157c.dtsi:#include <dt-bindings/clock/stm32mp1-clks.h>
dts/src/arm/stm32mp157c.dtsi:#include <dt-bindings/reset/stm32mp1-resets.h>
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp1-dfsdm";
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp1-adc-core";
dts/src/arm/stm32mp157c.dtsi:				compatible = "st,stm32mp1-adc";
dts/src/arm/stm32mp157c.dtsi:				compatible = "st,stm32mp1-adc";
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp1-rcc", "syscon";
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp1-exti", "syscon";
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp157-syscfg", "syscon";
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp1-cryp";
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp1-iwdg";
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp1-usbphyc";
dts/src/arm/stm32mp157c.dtsi:			compatible = "st,stm32mp1-rtc";

reveals that __NO_SUPPORT__ for this processor at all.Only device tree added from Kernel I suppose...

That's a real pity. At the moment I have to switch over to UBoot... :-(

Regards,
--
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux