device property: check fwnode type in to_of_node()