On Thu, Jan 19, 2023 at 04:56:01PM +0100, Marco Felsch wrote: > Move the dts file into a dtsi file. This is in preparation for the > imx8mm-evkb support which will reuse the config. No functional change. > > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > --- > v3: > - new in this series > > arch/arm/dts/imx8mm-evk.dts | 54 +-------------------------------- > arch/arm/dts/imx8mm-evk.dtsi | 58 ++++++++++++++++++++++++++++++++++++ > 2 files changed, 59 insertions(+), 53 deletions(-) > create mode 100644 arch/arm/dts/imx8mm-evk.dtsi Applied, thanks Sascha > > diff --git a/arch/arm/dts/imx8mm-evk.dts b/arch/arm/dts/imx8mm-evk.dts > index 3ced5a934c..abe0a2e450 100644 > --- a/arch/arm/dts/imx8mm-evk.dts > +++ b/arch/arm/dts/imx8mm-evk.dts > @@ -8,56 +8,4 @@ > > #include <arm64/freescale/imx8mm-evk.dts> > #include "imx8mm.dtsi" > - > -/ { > - chosen { > - environment-sd { > - compatible = "barebox,environment"; > - device-path = &env_sd2; > - status = "disabled"; > - }; > - environment-emmc { > - compatible = "barebox,environment"; > - device-path = &env_sd3; > - status = "disabled"; > - }; > - }; > -}; > - > -®_usdhc2_vmmc { > - off-on-delay-us = <20000>; > -}; > - > -&usdhc2 { > - #address-cells = <1>; > - #size-cells = <1>; > - > - partition@0 { > - label = "barebox"; > - reg = <0x0 0xe0000>; > - }; > - > - env_sd2: partition@e0000 { > - label = "barebox-environment"; > - reg = <0xe0000 0x20000>; > - }; > -}; > - > -&usdhc3 { > - #address-cells = <1>; > - #size-cells = <1>; > - > - partition@0 { > - label = "barebox"; > - reg = <0x0 0xe0000>; > - }; > - > - env_sd3: partition@e0000 { > - label = "barebox-environment"; > - reg = <0xe0000 0x20000>; > - }; > -}; > - > -&ocotp { > - barebox,provide-mac-address = <&fec1 0x640>; > -}; > +#include "imx8mm-evk.dtsi" > diff --git a/arch/arm/dts/imx8mm-evk.dtsi b/arch/arm/dts/imx8mm-evk.dtsi > new file mode 100644 > index 0000000000..4d64dcad1c > --- /dev/null > +++ b/arch/arm/dts/imx8mm-evk.dtsi > @@ -0,0 +1,58 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* > + * Copyright 2017 NXP > + * Copyright (C) 2017 Pengutronix, Lucas Stach <kernel@xxxxxxxxxxxxxx> > + */ > + > +/ { > + chosen { > + environment-sd { > + compatible = "barebox,environment"; > + device-path = &env_sd2; > + status = "disabled"; > + }; > + environment-emmc { > + compatible = "barebox,environment"; > + device-path = &env_sd3; > + status = "disabled"; > + }; > + }; > +}; > + > +®_usdhc2_vmmc { > + off-on-delay-us = <20000>; > +}; > + > +&usdhc2 { > + #address-cells = <1>; > + #size-cells = <1>; > + > + partition@0 { > + label = "barebox"; > + reg = <0x0 0xe0000>; > + }; > + > + env_sd2: partition@e0000 { > + label = "barebox-environment"; > + reg = <0xe0000 0x20000>; > + }; > +}; > + > +&usdhc3 { > + #address-cells = <1>; > + #size-cells = <1>; > + > + partition@0 { > + label = "barebox"; > + reg = <0x0 0xe0000>; > + }; > + > + env_sd3: partition@e0000 { > + label = "barebox-environment"; > + reg = <0xe0000 0x20000>; > + }; > +}; > + > +&ocotp { > + barebox,provide-mac-address = <&fec1 0x640>; > +}; > -- > 2.30.2 > > > -- 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 |