xref: /linux/arch/arm64/boot/dts/marvell/armada-common.dtsi (revision 0b8061c340b643e01da431dd60c75a41bb1d31ec)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (C) 2016 Marvell Technology Group Ltd.
4 */
5
6/* Common definitions used by Armada 7K/8K DTs */
7#define PASTER(x, y) x ## y
8#define EVALUATOR(x, y) PASTER(x, y)
9#define CP11X_LABEL(name) EVALUATOR(CP11X_NAME, EVALUATOR(_, name))
10#define CP11X_NODE_NAME(name) EVALUATOR(CP11X_NAME, EVALUATOR(-, name))
11#define ADDRESSIFY(addr) EVALUATOR(0x, addr)
12