Thread (9 messages) 9 messages, 3 authors, 2011-09-13

Re: [PATCH 06/24] C6X: devicetree

From: Mark Salter <hidden>
Date: 2011-09-12 23:20:42
Also in: lkml

Possibly related (same subject, not in this thread)

On Mon, 2011-09-12 at 14:11 -0600, Grant Likely wrote:
On Wed, Aug 31, 2011 at 05:26:41PM -0400, Mark Salter wrote:
quoted
+		interrupt-controller;
+		#interrupt-cells = <1>;
+		compatible = "ti,c64x+core-pic";
The interrupt controller isn't addressable?  Is it integrated into
the CPU?
Yes, that core controller is controlled through registers accessed
with special-purpose instructions, not MMIO. Other controllers, like
megamodule and some as-yet unimplemented use MMIO.
quoted
+	};
+
+	soc@00000000 {
"soc@2a80000" to match the 'reg' property of this node.
Okay, I think I need a separate node for that reg property. The SoC
address space does actually start at 0. The registers in that reg
property are "SoC-level" registers holding silicon revision, pin
strap status, etc. All of the SoCs have a "device state config"
node which have registers like that. Instead of having them in the
device state block, this SoC has them in a separate area. I just
got lazy and put them the reg property in the soc node, but I think
it really calls for a separate node.

--Mark
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help