blob: c04c6c475022dbfde21e5b9e7fb4c52790fd6262 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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)