xref: /linux/arch/arm64/boot/dts/marvell/armada-common.dtsi (revision 48dea9a700c8728cc31a1dd44588b97578de86ee)
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