Message ID | 20250108-am62lx-v2-3-581285a37d8f@ti.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | arm64: dts: ti: introduce basic support for the AM62L | expand |
On Wed, Jan 08, 2025 at 04:51:55PM -0600, Bryan Brattlof wrote: > + chosen { > + stdout-path = &main_uart0; > + }; > + > + memory@80000000 { > + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; > + device_type = "memory"; > + bootph-all; > + }; > +}; > + > +&pmx0 { > + main_uart0_pins_default: main_uart0-default-pins { Avoid underscore in node names. Best regards, Krzysztof
On 09/01/25 04:21, 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> > --- > Changes in v1: > - switched to non-direct links so TRM updates are automatic > - removed current-speed property from main_uart0 > - removed empty reserved-memory{} node > - removed serial2 from aliases{} node > - corrected main_uart0 pinmux > --- > arch/arm64/boot/dts/ti/k3-am62l3-evm.dts | 43 ++++++++++++++++++++++++++++++++ > 1 file changed, 43 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..ed0148ce1bea6 > --- /dev/null > +++ b/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts > @@ -0,0 +1,43 @@ > +// 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/pdf/sprujb4 > + */ > + > +/dts-v1/; > + > +#include "k3-am62l3.dtsi" > + > +/ { > + compatible = "ti,am62l3-evm", "ti,am62l3"; > + model = "Texas Instruments AM62L3 Evaluation Module"; > + > + chosen { > + stdout-path = &main_uart0; > + }; > + > + memory@80000000 { > + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; > + device_type = "memory"; > + bootph-all; > + }; > +}; > + > +&pmx0 { > + main_uart0_pins_default: main_uart0-default-pins { > + pinctrl-single,pins = < > + AM62PX_IOPAD(0x01b4, PIN_INPUT, 0) /* (D13) UART0_RXD */ > + AM62PX_IOPAD(0x01b8, PIN_OUTPUT, 0) /* (C13) UART0_TXD */ ^^^^ AM62LX_IOPAD() > + >; > + bootph-all; > + }; > +}; > + > +&main_uart0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&main_uart0_pins_default>; > + status = "okay"; > + bootph-all; > +}; >
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..ed0148ce1bea6 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts @@ -0,0 +1,43 @@ +// 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/pdf/sprujb4 + */ + +/dts-v1/; + +#include "k3-am62l3.dtsi" + +/ { + compatible = "ti,am62l3-evm", "ti,am62l3"; + model = "Texas Instruments AM62L3 Evaluation Module"; + + chosen { + stdout-path = &main_uart0; + }; + + memory@80000000 { + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; + device_type = "memory"; + bootph-all; + }; +}; + +&pmx0 { + main_uart0_pins_default: main_uart0-default-pins { + pinctrl-single,pins = < + AM62PX_IOPAD(0x01b4, PIN_INPUT, 0) /* (D13) UART0_RXD */ + AM62PX_IOPAD(0x01b8, PIN_OUTPUT, 0) /* (C13) UART0_TXD */ + >; + bootph-all; + }; +}; + +&main_uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart0_pins_default>; + status = "okay"; + bootph-all; +};