diff options
Diffstat (limited to 'dts/upstream/src/arm64/marvell/armada-common.dtsi')
-rw-r--r-- | dts/upstream/src/arm64/marvell/armada-common.dtsi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dts/upstream/src/arm64/marvell/armada-common.dtsi b/dts/upstream/src/arm64/marvell/armada-common.dtsi new file mode 100644 index 00000000000..c04c6c47502 --- /dev/null +++ b/dts/upstream/src/arm64/marvell/armada-common.dtsi @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2016 Marvell Technology Group Ltd. + */ + +/* Common definitions used by Armada 7K/8K DTs */ +#define PASTER(x, y) x ## y +#define EVALUATOR(x, y) PASTER(x, y) +#define CP11X_LABEL(name) EVALUATOR(CP11X_NAME, EVALUATOR(_, name)) +#define CP11X_NODE_NAME(name) EVALUATOR(CP11X_NAME, EVALUATOR(-, name)) +#define ADDRESSIFY(addr) EVALUATOR(0x, addr) |