[PATCH 1/4] ARM: dts: imx6ul/imx6ull: add boot phase properties

Max Merchel posted 4 patches 1 month, 1 week ago
There is a newer version of this series
[PATCH 1/4] ARM: dts: imx6ul/imx6ull: add boot phase properties
Posted by Max Merchel 1 month, 1 week ago
Add boot phase properties from U-Boot device tree.

Signed-off-by: Max Merchel <Max.Merchel@ew.tq-group.com>
---
 arch/arm/boot/dts/nxp/imx/imx6ul.dtsi  | 6 ++++++
 arch/arm/boot/dts/nxp/imx/imx6ull.dtsi | 1 +
 2 files changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi
index 6eb80f867f50..c745f30a9b25 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi
@@ -115,6 +115,7 @@ osc: clock-osc {
 		#clock-cells = <0>;
 		clock-frequency = <24000000>;
 		clock-output-names = "osc";
+		bootph-pre-ram;
 	};
 
 	ipp_di0: clock-di0 {
@@ -143,6 +144,7 @@ soc: soc {
 		compatible = "simple-bus";
 		interrupt-parent = <&gpc>;
 		ranges;
+		bootph-pre-ram;
 
 		ocram: sram@900000 {
 			compatible = "mmio-sram";
@@ -202,6 +204,7 @@ aips1: bus@2000000 {
 			#size-cells = <1>;
 			reg = <0x02000000 0x100000>;
 			ranges;
+			bootph-pre-ram;
 
 			spba-bus@2000000 {
 				compatible = "fsl,spba-bus", "simple-bus";
@@ -580,6 +583,7 @@ clks: clock-controller@20c4000 {
 				#clock-cells = <1>;
 				clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
 				clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
+				bootph-pre-ram;
 			};
 
 			anatop: anatop@20c8000 {
@@ -745,6 +749,7 @@ power-domain@0 {
 			iomuxc: pinctrl@20e0000 {
 				compatible = "fsl,imx6ul-iomuxc";
 				reg = <0x020e0000 0x4000>;
+				bootph-pre-ram;
 			};
 
 			gpr: iomuxc-gpr@20e4000 {
@@ -826,6 +831,7 @@ aips2: bus@2100000 {
 			#size-cells = <1>;
 			reg = <0x02100000 0x100000>;
 			ranges;
+			bootph-pre-ram;
 
 			crypto: crypto@2140000 {
 				compatible = "fsl,imx6ul-caam", "fsl,sec-v4.0";
diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ull.dtsi
index db0c339022ac..ba0ea10c7b74 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ull.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull.dtsi
@@ -57,6 +57,7 @@ aips3: bus@2200000 {
 			#size-cells = <1>;
 			reg = <0x02200000 0x100000>;
 			ranges;
+			bootph-pre-ram;
 
 			dcp: crypto@2280000 {
 				compatible = "fsl,imx6ull-dcp", "fsl,imx28-dcp";
-- 
2.43.0
Re: [PATCH 1/4] ARM: dts: imx6ul/imx6ull: add boot phase properties
Posted by Fabio Estevam 1 month, 1 week ago
Hi Max,

On Wed, Feb 18, 2026 at 10:24 AM Max Merchel
<Max.Merchel@ew.tq-group.com> wrote:
>
> Add boot phase properties from U-Boot device tree.

The commit logs of this series could be improved. Please take a look
at these examples:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.19&id=256feb5be482315a91c1bd1a1808276f57ef76dd

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.19&id=2285ea3f8065f47a6a1b62e6fcfa85105c8c261b
Re: [PATCH 1/4] ARM: dts: imx6ul/imx6ull: add boot phase properties
Posted by Max Merchel 1 month, 1 week ago

Am 18.02.26 um 19:14 schrieb Fabio Estevam:
> Hi Max,
> 
> On Wed, Feb 18, 2026 at 10:24 AM Max Merchel
> <Max.Merchel@ew.tq-group.com> wrote:
>>
>> Add boot phase properties from U-Boot device tree.
> 
> The commit logs of this series could be improved. Please take a look
> at these examples:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.19&id=256feb5be482315a91c1bd1a1808276f57ef76dd
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.19&id=2285ea3f8065f47a6a1b62e6fcfa85105c8c261b

Hi Fabio,

I can add sentences to the commits, including the properties, for example:

dtschema/schemas/bootph.yaml describe various node usage during
boot phases with DT.

All SoCs require buses (aips and spba), clock, iomuxc and SOC access 
during boot process.


-- 
Best regards,
Max

TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/

Re: [PATCH 1/4] ARM: dts: imx6ul/imx6ull: add boot phase properties
Posted by Max Merchel 1 month, 1 week ago
Hi Frank,

I forgot the boot property for the spba-bus in imx6ul.dtsi.

If Fabio gives me feedback on my suggestion to improved the comment 
messages, I will send a V2 at the beginning of next week.

Am 20.02.26 um 13:10 schrieb Max Merchel:
> 
> 
> Am 18.02.26 um 19:14 schrieb Fabio Estevam:
>> Hi Max,
>>
>> On Wed, Feb 18, 2026 at 10:24 AM Max Merchel
>> <Max.Merchel@ew.tq-group.com> wrote:
>>>
>>> Add boot phase properties from U-Boot device tree.
>>
>> The commit logs of this series could be improved. Please take a look
>> at these examples:
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ 
>> commit/?h=v6.19&id=256feb5be482315a91c1bd1a1808276f57ef76dd
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ 
>> commit/?h=v6.19&id=2285ea3f8065f47a6a1b62e6fcfa85105c8c261b
> 
> Hi Fabio,
> 
> I can add sentences to the commits, including the properties, for example:
> 
> dtschema/schemas/bootph.yaml describe various node usage during
> boot phases with DT.
> 
> All SoCs require buses (aips and spba), clock, iomuxc and SOC access 
> during boot process.
> 
> 

-- 
Best regards,
Max

TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/

Re: [PATCH 1/4] ARM: dts: imx6ul/imx6ull: add boot phase properties
Posted by Fabio Estevam 1 month, 1 week ago
On Fri, Feb 20, 2026 at 10:14 AM Max Merchel
<max.merchel@ew.tq-group.com> wrote:
>
> Hi Frank,
>
> I forgot the boot property for the spba-bus in imx6ul.dtsi.
>
> If Fabio gives me feedback on my suggestion to improved the comment
> messages, I will send a V2 at the beginning of next week.

Yes, it looks good to me.