Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7aeb208 authored by Neil Leeder's avatar Neil Leeder
Browse files

ARM: dts: arm_cci: add hw-version property



Add the hw-version property to the cci-400 Cache Coherent
Interconnect. This is used when the hardware version number
cannot be read by a non-secure read. The version number is
only needed to distinguish older legacy versions of the module.

Change-Id: I47d25028a3720643a694829014a7b042dc73c9ac
Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
parent 01667b66
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -52,6 +52,12 @@ specific to ARM.
			    hierarchical bus addressing. CCI interfaces
			    addresses refer to the parent node addressing
			    scheme to declare their register bases.
        - hw-version
		Usage: optional
		Value type: <u32>
		Definition: Hardware version. This value will be used when
			    the device id register cannot be accessed with
			    a non-secure read.

	CCI interconnect node can define the following child nodes:

+2 −0
Original line number Diff line number Diff line
@@ -1133,6 +1133,8 @@ static int cci_probe(void)
	if (!np)
		return -ENODEV;

	of_property_read_u32(np, "hw-version", &cci_version);

	ret = of_address_to_resource(np, 0, &res);
	if (!ret) {
		cci_ctrl_base = ioremap(res.start, resource_size(&res));