Message ID | ed12b825edd22f1a04a842857e24ca7b7a4fe5ed.1622651232.git.gszymaszek@short.pl |
---|---|
State | Accepted |
Commit | 95a34eb42ec1319afaf5e27012744570588e034b |
Delegated to: | Patrice Chotard |
Headers | show |
Series | arm: dts: stm32mp157c-odyssey-som: sync SDMMC2 with Linux and TF‑A | expand |
Hi Grzegorz On 6/2/21 7:09 PM, Grzegorz Szymaszek wrote: > Enable the SDMMC2 device tree node, as well as the pins it uses, in > U-Boot SPL. > > Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl> > Cc: Patrice Chotard <patrice.chotard@foss.st.com> > Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> > --- > Changes for v2: > - rebased on current master > - added a short commit message body > > .../dts/stm32mp157c-odyssey-som-u-boot.dtsi | 21 +++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi b/arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi > index 6be728846e..4ff848350d 100644 > --- a/arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi > +++ b/arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi > @@ -123,3 +123,24 @@ > u-boot,dm-pre-reloc; > }; > }; > + > +&sdmmc2 { > + u-boot,dm-spl; > +}; > + > +&sdmmc2_b4_pins_a { > + u-boot,dm-spl; > + pins1 { > + u-boot,dm-spl; > + }; > + pins2 { > + u-boot,dm-spl; > + }; > +}; > + > +&sdmmc2_d47_pins_d { > + u-boot,dm-spl; > + pins { > + u-boot,dm-spl; > + }; > +}; > Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Thanks Patrice
diff --git a/arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi b/arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi index 6be728846e..4ff848350d 100644 --- a/arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi @@ -123,3 +123,24 @@ u-boot,dm-pre-reloc; }; }; + +&sdmmc2 { + u-boot,dm-spl; +}; + +&sdmmc2_b4_pins_a { + u-boot,dm-spl; + pins1 { + u-boot,dm-spl; + }; + pins2 { + u-boot,dm-spl; + }; +}; + +&sdmmc2_d47_pins_d { + u-boot,dm-spl; + pins { + u-boot,dm-spl; + }; +};
Enable the SDMMC2 device tree node, as well as the pins it uses, in U-Boot SPL. Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> --- Changes for v2: - rebased on current master - added a short commit message body .../dts/stm32mp157c-odyssey-som-u-boot.dtsi | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+)