[PATCH v1 00/20] dts: avoid DT breakage new fancy DTC v1.7.0 syntax

Marco Felsch m.felsch at pengutronix.de
Mon Feb 20 00:48:09 PST 2023


Hi Ahmad,

On 23-02-17, Ahmad Fatoum wrote:
> The fresh v1.7.0 release of the device tree compiler now contains
> fancy new syntax:
> 
>   &{i2c1/at24 at 50} {
> 	partitions {
> 		/* something */
> 	};
>   };
> 
> instead of &{/soc/bus1/bus2/i2c at 12345678/at24 at 50}, which is overly
> verbose or &i2c1 { at24 at 50 }, which will break once someone renames
> it upstream to please the schema checker.

Just to double check this and I understood you correctly, the compiler
will complain if we specify:

	&{i2c1/at24 at 50} { };

and the node is not exisitng anymore?

Regards,
  Marco



More information about the barebox mailing list