Zephyr dts using already existing properties or extending them
Hello
I have a base board dts defifned with spi0 and 3 sensors on it, in this dts I define the 3 chip select pins:
cs-gpios = <&gpi0 12 GPIO_ACTIVE_LOW>, <&gpi0 15 GPIO_ACTIVE_LOW>, <&gpi0 1 GPIO_ACTIVE_LOW>;
Now, I want to extend this because I'm creating the dts of a shield that connects to this board, and the spi has now a 4th sensor connecting to it.
I can add the sensor as a submodule but the only way I could get the cs-gpios to work was by redifining and adding the 4th one manually like this:
cs-gpios = <&gpi0 12 GPIO_ACTIVE_LOW>, <&gpi0 15 GPIO_ACTIVE_LOW>, <&gpi0 1 GPIO_ACTIVE_LOW>, <&gpi0 23 GPIO_ACTIVE_HIGH>;
Is there any way to use the already existing value of cs-gpios in the shield dts file, similair to this:
cs-gpios = <&cs-gpios>, <&gpi0 23 GPIO_ACTIVE_HIGH>;