Subject: [PATCH 2/3] mfd: db8500-prcmu: Fetch the PRCMU TCDM base address from Device Tree

From: [email-masked] (Arnd Bergmann)
Date: Tue, 26 Mar 2013 10:00:33 +0000

On Tuesday 26 March 2013, Lee Jones wrote:
> Bit for information for you. 
> 
> I have confirmed that the address locations are the same for
> all SoCs are the same. However, the size of the TCDM changes from 4k
> on the db8500 to 12k on the db8540.
> 
> Is there a way we can increase the size for the db8540 without
> creating an entire new DTS file? Seems overkill.

You can always override a property by setting it again, like

	soc {
		prcmu: db8500-prcmu at abcd0000 {
			reg = <0xabcd0000 0x1000>;
		};
	};

...

	&prcmu {
		reg = <0xabcd0000 0x3000>;
	}

	Arnd