aboutsummaryrefslogtreecommitdiff
path: root/dts/upstream/src/arm64/marvell/armada-common.dtsi
blob: c04c6c475022dbfde21e5b9e7fb4c52790fd6262 (plain)
1
2
3
4
5
6
7
8
9
10
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)