From: Bryan Brattlof <bb@ti.com>
To: Andrew Davis <afd@ti.com>
Cc: Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
Tero Kristo <kristo@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] arm64: dts: ti: k3-am62l: add initial reference board file
Date: Wed, 20 Nov 2024 08:47:12 -0600 [thread overview]
Message-ID: <20241120144712.dxiu34ocv7xdv5rm@bryanbrattlof.com> (raw)
In-Reply-To: <c8834352-75a7-446e-95eb-809aaa5cb18b@ti.com>
On November 18, 2024 thus sayeth Andrew Davis:
> On 11/17/24 11:34 PM, Bryan Brattlof wrote:
> > From: Vignesh Raghavendra <vigneshr@ti.com>
> >
> > Add the initial board file for the AM62L3's Evaluation Module.
> >
> > Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> > Signed-off-by: Bryan Brattlof <bb@ti.com>
> > ---
> > arch/arm64/boot/dts/ti/k3-am62l3-evm.dts | 54 ++++++++++++++++++++++++++++++++
> > 1 file changed, 54 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts b/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts
> > new file mode 100644
> > index 0000000000000..2d59389765cab
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts
> > @@ -0,0 +1,54 @@
> > +// SPDX-License-Identifier: GPL-2.0-only or MIT
> > +/*
> > + * Device Tree file for the AM62L3 Evaluation Module
> > + * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
> > + *
> > + * Technical Reference Manual: https://www.ti.com/lit/ug/sprujb4/sprujb4.pdf
> > + */
> > +
> > +/dts-v1/;
> > +
> > +#include "k3-am62l3.dtsi"
> > +
> > +/ {
> > + compatible = "ti,am62l3-evm", "ti,am62l3";
> > + model = "Texas Instruments AM62L3 Evaluation Module";
> > +
> > + aliases {
> > + serial2 = &main_uart0;
>
> We usually have WKUP and MCU UARTs as serial0 and serial1, we don't
> have that many, so we would never have serial1, only 0 and 2. Might
> be time we drop this odd numbering convention, at least for AM62L
> class parts..
>
Good point. I'll see what I can come up with
> > + };
> > +
> > + chosen {
> > + stdout-path = &main_uart0;
> > + };
> > +
> > + memory@80000000 {
> > + reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
> > + device_type = "memory";
> > + bootph-all;
> > + };
> > +
> > + reserved-memory {
>
> Not needed until you have something to reserve.
>
Ah I agree. I'll drop this next time.
> > + ranges;
> > + #address-cells = <2>;
> > + #size-cells = <2>;
> > + };
> > +};
> > +
> > +&pmx0 {
> > + main_uart0_pins_default: main_uart0-default-pins {
> > + pinctrl-single,pins = <
> > + AM62LX_IOPAD(0x01d4, PIN_INPUT, 1) /* (D7) UART0_RXD */
> > + AM62LX_IOPAD(0x01d8, PIN_OUTPUT, 1) /* (A6) UART0_TXD */
> > + >;
> > + bootph-all;
> > + };
> > +};
> > +
> > +&main_uart0 {
> > + current-speed = <115200>;
>
> current-speed is only for UARTs that can't detect their current speed,
> our UART and driver can, so this line isn't needed.
>
Nice! I'll drop this property as well
~Bryan
next prev parent reply other threads:[~2024-11-20 14:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-18 5:34 [PATCH 0/2] arm64: dts: ti: introduce basic support for the AM62L Bryan Brattlof
2024-11-18 5:34 ` [PATCH 1/2] arm64: dts: ti: k3-am62l: add initial infrastructure Bryan Brattlof
2024-11-18 18:05 ` Andrew Davis
2024-11-20 14:44 ` Bryan Brattlof
2024-11-19 17:36 ` Rob Herring
2024-11-20 14:42 ` Bryan Brattlof
2024-12-14 16:00 ` Francesco Dolcini
2024-12-14 21:56 ` Bryan Brattlof
2024-12-15 11:06 ` Francesco Dolcini
2024-12-16 4:14 ` Wadim Egorov
2024-12-16 8:10 ` Krzysztof Kozlowski
2024-12-16 8:11 ` Krzysztof Kozlowski
2024-11-18 5:34 ` [PATCH 2/2] arm64: dts: ti: k3-am62l: add initial reference board file Bryan Brattlof
2024-11-18 18:09 ` Andrew Davis
2024-11-20 14:47 ` Bryan Brattlof [this message]
2024-11-19 8:13 ` Wadim Egorov
2024-11-20 14:48 ` Bryan Brattlof
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=20241120144712.dxiu34ocv7xdv5rm@bryanbrattlof.com \
--to=bb@ti.com \
--cc=afd@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=robh@kernel.org \
--cc=vigneshr@ti.com \
/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