* [PATCH] arm64: dts: fsl-ls2085a: Add serial aliases
@ 2015-09-15 0:48 Scott Wood
[not found] ` <20150915004827.GA19862-vONcSABrMOVpTrP2zolEsF6hYfS7NtTn@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Scott Wood @ 2015-09-15 0:48 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: devicetree
These will allow U-Boot to set linux,stdout-path in /chosen based on
the active console device, which will allow devicetree-based earlycon.
Signed-off-by: Scott Wood <scottwood@freescale.com>
---
arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
index e281ceb..eae454e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
@@ -55,6 +55,11 @@
#address-cells = <2>;
#size-cells = <2>;
+ aliases {
+ serial0 = &serial0;
+ serial1 = &serial1;
+ };
+
cpus {
#address-cells = <2>;
#size-cells = <0>;
--
2.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* RE: [linuxppc-release] [PATCH] arm64: dts: fsl-ls2085a: Add serial aliases
[not found] ` <20150915004827.GA19862-vONcSABrMOVpTrP2zolEsF6hYfS7NtTn@public.gmane.org>
@ 2015-09-15 5:57 ` Sharma Bhupesh
[not found] ` <BN3PR0301MB1298D188667AF2F48ED54933825C0-CEkquS/Gb82NgPRq7B8Z6pwN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-09-15 6:43 ` Arnd Bergmann
1 sibling, 1 reply; 5+ messages in thread
From: Sharma Bhupesh @ 2015-09-15 5:57 UTC (permalink / raw)
To: Scott Wood,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> From: linuxppc-release-bounces-50dRxjG7WBCY5r8RbUyfqNHuzzzSOjJt@public.gmane.org [mailto:linuxppc-
> release-bounces-50dRxjG7WBCY5r8RbUyfqNHuzzzSOjJt@public.gmane.org] On Behalf Of Scott Wood
> Sent: Tuesday, September 15, 2015 6:18 AM
>
> These will allow U-Boot to set linux,stdout-path in /chosen based on the
> active console device, which will allow devicetree-based earlycon.
>
> Signed-off-by: Scott Wood <scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> index e281ceb..eae454e 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> @@ -55,6 +55,11 @@
> #address-cells = <2>;
> #size-cells = <2>;
>
> + aliases {
> + serial0 = &serial0;
> + serial1 = &serial1;
> + };
> +
> cpus {
> #address-cells = <2>;
> #size-cells = <0>;
> --
Rebase this to my LS2080A v2 DTS sent some time ago, as LS2085A is now renamed to LS2080A.
Regards,
Bhupesh
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linuxppc-release] [PATCH] arm64: dts: fsl-ls2085a: Add serial aliases
[not found] ` <BN3PR0301MB1298D188667AF2F48ED54933825C0-CEkquS/Gb82NgPRq7B8Z6pwN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
@ 2015-09-15 5:59 ` Scott Wood
0 siblings, 0 replies; 5+ messages in thread
From: Scott Wood @ 2015-09-15 5:59 UTC (permalink / raw)
To: Sharma Bhupesh-B45370
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Tue, 2015-09-15 at 00:57 -0500, Sharma Bhupesh-B45370 wrote:
> > From: linuxppc-release-bounces-50dRxjG7WBCY5r8RbUyfqNHuzzzSOjJt@public.gmane.org[mailto:linuxppc-
> > release-bounces-50dRxjG7WBCY5r8RbUyfqNHuzzzSOjJt@public.gmane.org] On Behalf Of Scott Wood
> > Sent: Tuesday, September 15, 2015 6:18 AM
> >
> > These will allow U-Boot to set linux,stdout-path in /chosen based on the
> > active console device, which will allow devicetree-based earlycon.
> >
> > Signed-off-by: Scott Wood <scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> > ---
> > arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> > b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> > index e281ceb..eae454e 100644
> > --- a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> > @@ -55,6 +55,11 @@
> > #address-cells = <2>;
> > #size-cells = <2>;
> >
> > + aliases {
> > + serial0 = &serial0;
> > + serial1 = &serial1;
> > + };
> > +
> > cpus {
> > #address-cells = <2>;
> > #size-cells = <0>;
> > --
>
> Rebase this to my LS2080A v2 DTS sent some time ago, as LS2085A is now
> renamed to LS2080A.
Patchwork link?
How long ago? When is it going to be merged?
-Scott
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: fsl-ls2085a: Add serial aliases
[not found] ` <20150915004827.GA19862-vONcSABrMOVpTrP2zolEsF6hYfS7NtTn@public.gmane.org>
2015-09-15 5:57 ` [linuxppc-release] " Sharma Bhupesh
@ 2015-09-15 6:43 ` Arnd Bergmann
2015-09-15 22:09 ` Scott Wood
1 sibling, 1 reply; 5+ messages in thread
From: Arnd Bergmann @ 2015-09-15 6:43 UTC (permalink / raw)
To: Scott Wood
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
On Monday 14 September 2015 19:48:27 Scott Wood wrote:
> These will allow U-Boot to set linux,stdout-path in /chosen based on
> the active console device, which will allow devicetree-based earlycon.
>
> Signed-off-by: Scott Wood <scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> index e281ceb..eae454e 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> @@ -55,6 +55,11 @@
> #address-cells = <2>;
> #size-cells = <2>;
>
> + aliases {
> + serial0 = &serial0;
> + serial1 = &serial1;
> + };
> +
I normally ask people to put the aliases into the board specific dts file,
to account for machines that do not have all the uarts, or that number them
differently from the SoC.
I didn't know about U-Boot setting the stdout-path property, but that's
great, as long as U-Boot uses the same numbering of the uarts that the
board uses. Do you know if that is normally the case?
Arnd
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: fsl-ls2085a: Add serial aliases
2015-09-15 6:43 ` Arnd Bergmann
@ 2015-09-15 22:09 ` Scott Wood
0 siblings, 0 replies; 5+ messages in thread
From: Scott Wood @ 2015-09-15 22:09 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
On Tue, 2015-09-15 at 08:43 +0200, Arnd Bergmann wrote:
> On Monday 14 September 2015 19:48:27 Scott Wood wrote:
> > These will allow U-Boot to set linux,stdout-path in /chosen based on
> > the active console device, which will allow devicetree-based earlycon.
> >
> > Signed-off-by: Scott Wood <scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> > ---
> > arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> > b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> > index e281ceb..eae454e 100644
> > --- a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
> > @@ -55,6 +55,11 @@
> > #address-cells = <2>;
> > #size-cells = <2>;
> >
> > + aliases {
> > + serial0 = &serial0;
> > + serial1 = &serial1;
> > + };
> > +
>
> I normally ask people to put the aliases into the board specific dts file,
> to account for machines that do not have all the uarts, or that number them
> differently from the SoC.
OK, I'll respin on top of https://patchwork.kernel.org/patch/7120211/
> I didn't know about U-Boot setting the stdout-path property, but that's
> great, as long as U-Boot uses the same numbering of the uarts that the
> board uses. Do you know if that is normally the case?
Yes, the numbering of the serial aliases in the dts should match the
numbering that U-Boot uses.
-Scott
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-09-15 22:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 0:48 [PATCH] arm64: dts: fsl-ls2085a: Add serial aliases Scott Wood
[not found] ` <20150915004827.GA19862-vONcSABrMOVpTrP2zolEsF6hYfS7NtTn@public.gmane.org>
2015-09-15 5:57 ` [linuxppc-release] " Sharma Bhupesh
[not found] ` <BN3PR0301MB1298D188667AF2F48ED54933825C0-CEkquS/Gb82NgPRq7B8Z6pwN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-09-15 5:59 ` Scott Wood
2015-09-15 6:43 ` Arnd Bergmann
2015-09-15 22:09 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).