Skip to content
Browse files

scripts/dts: Remove alias defines for labels

We added generation of aliases for "alt-label" (which was the outer
label of a node) for use with shields and connectors.  However we've
never used these defines and the generation is a bit inconsistent.

This removes generation of defines like for label 'arduino_spi':
	#define ARDUINO_SPI_BASE_ADDRESS ... (already deprecated)

Signed-off-by: Kumar Gala <>
  • Loading branch information...
galak committed Jun 6, 2019
1 parent a45ce52 commit 442df97366416a2779882d185c94e36619a1223a
Showing with 0 additions and 6 deletions.
  1. +0 −6 scripts/dts/extract/
@@ -71,12 +71,6 @@ def create_aliases(root):
for name, node_path in root['children']['aliases']['props'].items():

# Treat alternate names as aliases
for node_path, node in reduced.items():
if 'alt_name' in node:

def get_compat(node_path):
# Returns the value of the 'compatible' property for the node at
# 'node_path'. Also checks the node's parent.

0 comments on commit 442df97

Please sign in to comment.
You can’t perform that action at this time.