Message ID | 20220606123529.1738542-1-j.neuschaefer@gmx.net |
---|---|
State | New |
Headers | show |
Series | [v2,RESEND] ARM: dts: nuvoton: wpcm450: Add missing aliases for serial0/serial1 | expand |
On Mon, Jun 06, 2022 at 02:54:21PM +0200, Krzysztof Kozlowski wrote: > On 06/06/2022 14:35, Jonathan Neuschäfer wrote: > > Without these, /chosen/stdout-path = "serial0:115200n8", as done in > > nuvoton-wpcm450-supermicro-x9sci-ln4f.dts, does not work. > > > > Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> > > --- > > > > v2: > > - mention WPCM450 in the summary > > --- > > arch/arm/boot/dts/nuvoton-wpcm450.dtsi | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/arch/arm/boot/dts/nuvoton-wpcm450.dtsi b/arch/arm/boot/dts/nuvoton-wpcm450.dtsi > > index 93595850a4c3c..57943bf5aa4a9 100644 > > --- a/arch/arm/boot/dts/nuvoton-wpcm450.dtsi > > +++ b/arch/arm/boot/dts/nuvoton-wpcm450.dtsi > > @@ -17,6 +17,8 @@ aliases { > > gpio5 = &gpio5; > > gpio6 = &gpio6; > > gpio7 = &gpio7; > > + serial0 = &serial0; > > + serial1 = &serial1; > > Serial aliases might be wired differently per board, so this should go > to board DTS instead. Ok, I'll do that. Jonathan
diff --git a/arch/arm/boot/dts/nuvoton-wpcm450.dtsi b/arch/arm/boot/dts/nuvoton-wpcm450.dtsi index 93595850a4c3c..57943bf5aa4a9 100644 --- a/arch/arm/boot/dts/nuvoton-wpcm450.dtsi +++ b/arch/arm/boot/dts/nuvoton-wpcm450.dtsi @@ -17,6 +17,8 @@ aliases { gpio5 = &gpio5; gpio6 = &gpio6; gpio7 = &gpio7; + serial0 = &serial0; + serial1 = &serial1; }; cpus {
Without these, /chosen/stdout-path = "serial0:115200n8", as done in nuvoton-wpcm450-supermicro-x9sci-ln4f.dts, does not work. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> --- v2: - mention WPCM450 in the summary --- arch/arm/boot/dts/nuvoton-wpcm450.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.35.1