Re: [PATCH 4/4] arm64: dts: ti: Add support for AM62A7-SK
From: Krzysztof Kozlowski
Date: Tue Aug 30 2022 - 05:59:18 EST
On 29/08/2022 11:22, Vignesh Raghavendra wrote:
> AM62A StarterKit (SK) board is a low cost, small form factor board
> designed for TI’s AM62A7 SoC. It supports the following interfaces:
> * 2 GB LPDDR4 RAM
> * x1 Gigabit Ethernet interface
> * x1 HDMI Port with audio
> * x1 Headphone Jack
> * x1 USB2.0 Hub with two Type A host and x1 USB Type-C DRP Port
> * x1 UHS-1 capable µSD card slot
> * M.2 SDIO Wifi + UART slot
> * 1Gb OSPI NAND flash
> * x4 UART through UART-USB bridge
> * XDS110 for onboard JTAG debug using USB
> * Temperature sensors, user push buttons and LEDs
> * 40-pin User Expansion Connector
> * 24-pin header for peripherals in MCU island (I2C, UART, SPI, IO)
> * 20-pin header for Programmable Realtime Unit (PRU) IO pins
> * 40-pin CSI header
>
> Add basic support for AM62A7-SK.
>
> Schematics: https://www.ti.com/lit/zip/sprr459
>
> Co-developed-by: Bryan Brattlof <bb@xxxxxx>
> Signed-off-by: Bryan Brattlof <bb@xxxxxx>
> Signed-off-by: Vignesh Raghavendra <vigneshr@xxxxxx>
> ---
> arch/arm64/boot/dts/ti/Makefile | 2 +
> arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 224 ++++++++++++++++++++++++
> 2 files changed, 226 insertions(+)
> create mode 100644 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
>
> diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
> index 02e5d80344d0..4555a5be2257 100644
> --- a/arch/arm64/boot/dts/ti/Makefile
> +++ b/arch/arm64/boot/dts/ti/Makefile
> @@ -23,3 +23,5 @@ dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb
> dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
>
> dtb-$(CONFIG_ARCH_K3) += k3-am625-sk.dtb
> +
> +dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
> diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
> new file mode 100644
> index 000000000000..994ed6865551
> --- /dev/null
> +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
> @@ -0,0 +1,224 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * AM62A SK: https://www.ti.com/lit/zip/sprr459
> + *
> + * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
> + */
> +
> +/dts-v1/;
> +
> +#include <dt-bindings/leds/common.h>
> +#include <dt-bindings/gpio/gpio.h>
> +#include "k3-am62a7.dtsi"
> +
> +/ {
> + compatible = "ti,am62a7-sk", "ti,am62a7";
> + model = "Texas Instruments AM62A7 SK";
> +
> + aliases {
> + serial2 = &main_uart0;
> + mmc1 = &sdhci1;
> + };
> +
> + chosen {
> + stdout-path = "serial2:115200n8";
> + };
> +
> + memory@80000000 {
> + device_type = "memory";
> + /* 2G RAM */
> + reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
> +
No need for blank line.
With that:
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof