xref: /freebsd/sys/contrib/device-tree/src/arm64/marvell/armada-common.dtsi (revision 02e9120893770924227138ba49df1edb3896112a)
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