From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 4/6] arm64: Add DTS support for FSL's LS2085A SoC
Date: Fri, 29 Aug 2014 18:47:57 +0100 [thread overview]
Message-ID: <20140829174757.GD18555@leverpostej> (raw)
In-Reply-To: <18f8ee091e8847c0bcfba1ef04907a71@BN1PR03MB220.namprd03.prod.outlook.com>
Hi Bhupesh,
> > > + gic: interrupt-controller at 6000000 {
> > > + compatible = "arm,gic-v3";
> > > + reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
> > > + <0x0 0x06100000 0 0x100000>; /* GICR (RD_base +
> > SGI_base) */
> > > + #interrupt-cells = <3>;
> > > + #address-cells = <2>;
> > > + #size-cells = <2>;
> > > + ranges;
> > > + interrupt-controller;
> > > + interrupts = <1 9 0x4>;
> > > + };
> >
> > The GIC node doesn't have any sub-nodes, so I think the #address-cells,
> > #size-cells, and ranges properties can go for now.
>
> Ok. V3 will address the change.
Ok.
>
> >
> > > +
> > > + timer {
> > > + compatible = "arm,armv8-timer";
> > > + interrupts = <1 13 0x1>, /* Physical Secure PPI, edge
> > triggered */
> > > + <1 14 0x1>, /* Physical Non-Secure PPI, edge
> > triggered */
> > > + <1 11 0x1>, /* Virtual PPI, edge triggered */
> > > + <1 10 0x1>; /* Hypervisor PPI, edge triggered */
> > > + };
> >
> > In this SoC, are there low-power states the CPUs can be placed into where
> > the architected timers can lose state?
>
> Yes the SoC has low-power states, however we are yet to work on the power management
> s/w layers. Probably a patch later down the lane would add this capability.
That's fine. I just want to make sure we're not in for some pain with
timers at the moment.
>
> >
> > If so, do you any auxiliary timers that aren't cpu-local?
>
> Yes, the SoC has 4 flextimer IP instances, but I am yet to test them and hence support for them
> is still to be added. Probably a patch later down the lane would add this capability.
Ok. You'll need at least one global timer if you want to place all CPUs
into low power states. For now things should work regardless.
[...]
> > > + serial0: serial at 21c0500 {
> > > + device_type = "serial";
> > > + compatible = "fsl,ns16550", "ns16550a";
> > > + reg = <0x0 0x21c0500 0x0 0x100>;
> > > + clock-frequency = <0>; /* Updated by bootloader */
> > > + interrupts = <0 32 0x1>; /* edge triggered */
> > > + };
> > > +
> > > + serial1: serial at 21c0600 {
> > > + device_type = "serial";
> > > + compatible = "fsl,ns16550", "ns16550a";
> > > + reg = <0x0 0x21c0600 0x0 0x100>;
> > > + clock-frequency = <0>; /* Updated by bootloader */
> > > + interrupts = <0 32 0x1>; /* edge triggered */
> > > + };
> >
> > Just to check: do the two UARTs share the same IRQ, or is that a copy-
> > paste error?
>
> The two UARTs do share the same IRQ.
Ok.
[...]
> > > + memory at 80000000 {
> > > + device_type = "memory";
> > > + reg = <0x00000000 0x80000000 0 0x80000000>;
> > > + /* DRAM space 1 - 2 GB DRAM */
> > > + };
> >
> > Does that mean:
> >
> > - This is "DRAM space 1", populated with 2GB?
> >
> > Or:
> >
> > - The DRAM space can be populated with 1 to 2 GB?
> >
> > If the former, s/ - /: / for clarity.
> >
> > If the latter, it might make sense to move that into board-specific dts
> > files. If this can be dynamically populated ideally the firmware/loader
> > would fix this up (assuming it can probe the memory).
>
> If the former. I will fix it up in v3.
Ok. Out of curiosity, are there other DRAM spaces that might be
populated?
> > Also, can we move the memory node up to just after /cpus? That would
> > match the other dts files we have.
>
> Sure. V3 will address this change.
Cheers.
Mark.
next prev parent reply other threads:[~2014-08-29 17:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 9:55 [PATCH V2 0/6] ARM64: Add support for FSL's LS2085A SoC Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 1/6] Documentation: DT: Add bindings for FSL NS16550A UART Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 2/6] Documentation: DT: Add entry for FSL LS2085A SoC and Simulator model Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 3/6] Documentation: DT: Add entry for FSL Management Complex Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 4/6] arm64: Add DTS support for FSL's LS2085A SoC Bhupesh Sharma
2014-08-28 14:56 ` Mark Rutland
2014-08-29 15:51 ` bhupesh.sharma at freescale.com
2014-08-29 17:47 ` Mark Rutland [this message]
2014-08-29 18:07 ` bhupesh.sharma at freescale.com
2014-09-02 10:05 ` Catalin Marinas
2014-09-02 10:14 ` Catalin Marinas
2014-09-02 10:27 ` bhupesh.sharma at freescale.com
2014-09-02 10:19 ` Marc Zyngier
2014-09-03 17:23 ` Geoff Levand
2014-09-03 17:53 ` Mark Rutland
2014-09-03 18:17 ` Geoff Levand
2014-08-28 9:55 ` [PATCH V2 5/6] arm64: dts/Makefile: Add support for FSL's LS2085A simulator model Bhupesh Sharma
2014-08-28 9:55 ` [PATCH V2 6/6] arm64: Add support for FSL's LS2085A SoC in Kconfig and defconfig Bhupesh Sharma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140829174757.GD18555@leverpostej \
--to=mark.rutland@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox