Hi,

 Is there a way in dts to have alias for a variable just like we have alias for 
node.

For example for a node "abc"


            alias_comp = "comp-2.0"

                abc@3100 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        cell-index = <1>;
                        compatible = alias_comp
                        reg = <0x3100 0x100>;
                };

Here alias_comp will be replaced by "comp-2.0" during compilation.

Regards,
Prabhakar

_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to