mirror of
https://github.com/torvalds/linux.git
synced 2026-05-01 13:02:35 -04:00
CP110 and CP115 are almost the same in terms of features and have a
very limited set of differences. Let's create an armada-cp11x.dtsi
file which will be used to instantiate both CP110 and CP115
nodes.
The only changes between the two armada-cp11{0,x}.dtsi files are the
following naming in macros: s/CP110/CP11X/.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
12 lines
406 B
Plaintext
12 lines
406 B
Plaintext
// 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)
|