You can copy references to a node or property from a devicetree file and paste them into your C code.