From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A336C433F5 for ; Tue, 8 Feb 2022 17:09:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383734AbiBHRJL (ORCPT ); Tue, 8 Feb 2022 12:09:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383728AbiBHRJL (ORCPT ); Tue, 8 Feb 2022 12:09:11 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 863D9C061578 for ; Tue, 8 Feb 2022 09:09:10 -0800 (PST) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 6915D3F308 for ; Tue, 8 Feb 2022 17:09:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644340149; bh=YH0zMlFVq6OBGsp7byUNxL8VwC9u6t6pNgeSdsv9WD0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=D2pXJvtdfj7khLb5QqR8AWkaHsA446snAwhLt5Qf/mt6czzfICvhEWvaeg8lNcKUq 6BE+67Fusi6/ZzFldII8xAyTlp7MHzOghN0po0l1tFe1LWPvCqYW9YLjzV09nvEv+A A+wj4tCSa0c61Gpj1ylN0GtRZaERK3qxLOoAWD3i9P3xOhj5T7bpm9f2Lydugfyai0 abSK0Cco3OSUdmHmK3TY0BwmsFW7SLu8bD00IDMwNYk080ekZ1CSby+USZnyMvoYhu l2IUf8gpPPUoU4mmqkQhP5SKnMEcCbZFt6zvRvK0ROoap4P68jy6aNslggi85S0Xat ue1ZM539hTVaA== Received: by mail-ed1-f69.google.com with SMTP id w3-20020a50c443000000b0040696821132so10015728edf.22 for ; Tue, 08 Feb 2022 09:09:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=YH0zMlFVq6OBGsp7byUNxL8VwC9u6t6pNgeSdsv9WD0=; b=cgqTle72K1ZztO70uGE+lPMyAbsrMB5cvAmPtewFZWRCDuKh1NTnpJ2dVjfUI82YNL XXHwcvgnQQ3TmdYna2tkKw/2Bqe9jmXx4q8iY3XX+I50WW88ZQriyg0+ya1aFBCGm3B7 fJC3DHDu8mAZXGOBazgmBZJu56bf5L6xiEchJ08B04Ba3O9d8xsbH/m0YLP2yOtYJXbz T3URleeeSn8L+Cc7E4wRiTFqS2yv34sHBOYd7yOgWTLlPSMSQYPZwlsUhn7Ifn8V6LmP Pb2oEaHV8zAEHKHyHC5JydD4Hc5uUDi3tN9bRTuas1PTUw/bXiPY73JT1Wksav/IDlbh zt+w== X-Gm-Message-State: AOAM53117qdXE+p7GqLvaJ44i1qEP94f6inZLGKCyOLosw5CleI1maGv IZcTkI1nYKRbdD9df9hCN/+Z9IaTapHUos0JZoxHdoZGSVmuFXX0HucVV7TWdZrRQrbvTn+fWb8 dq1OjAwO3I5+xz4jWFK3J+RxSVjKZCbrHq/qq3VY= X-Received: by 2002:a17:906:9741:: with SMTP id o1mr4659141ejy.452.1644340145872; Tue, 08 Feb 2022 09:09:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwW2zQG2untp/j+hnbH88My2yeMbqKaWDko/Kl+pDLKhQ6yZNVbEKgHb+lXWBbrGygU5uOU1A== X-Received: by 2002:a17:906:9741:: with SMTP id o1mr4658859ejy.452.1644340141434; Tue, 08 Feb 2022 09:09:01 -0800 (PST) Received: from [192.168.0.94] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id d10sm2527387ejb.22.2022.02.08.09.09.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Feb 2022 09:09:00 -0800 (PST) Message-ID: <65bfa443-5117-9e69-8b6e-0c40099bd149@canonical.com> Date: Tue, 8 Feb 2022 18:08:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 5/5] arm64: dts: ti: Add support for AM62-SK Content-Language: en-US To: Vignesh Raghavendra , Nishanth Menon , Tero Kristo , Rob Herring , Santosh Shilimkar Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220208131827.1430086-1-vigneshr@ti.com> <20220208131827.1430086-6-vigneshr@ti.com> From: Krzysztof Kozlowski In-Reply-To: <20220208131827.1430086-6-vigneshr@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 08/02/2022 14:18, Vignesh Raghavendra wrote: > From: Nishanth Menon > > AM62 StarterKit (SK) board is a low cost, small form factor board > designed for TI’s AM625 SoC. It supports the following interfaces: > * 2 GB DDR4 RAM > * x2 Gigabit Ethernet interfaces capable of working in Switch and MAC mode > * x1 HDMI Port with audio + x1 OLDI/LVDS Display interface for Dual Display > * 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 > * 2.4/5 GHz WLAN + Bluetooth 4.2 through WL1837 > * 512 Mbit OSPI 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 > * 15-pin CSI header > > Add basic support for AM62-SK. > > Schematics: https://www.ti.com/lit/zip/sprr448 > > Signed-off-by: Nishanth Menon > Signed-off-by: Vignesh Raghavendra > --- > arch/arm64/boot/dts/ti/Makefile | 2 + > arch/arm64/boot/dts/ti/k3-am625-sk.dts | 206 +++++++++++++++++++++++++ > 2 files changed, 208 insertions(+) > create mode 100644 arch/arm64/boot/dts/ti/k3-am625-sk.dts > > diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile > index 90be511bc4d0..02e5d80344d0 100644 > --- a/arch/arm64/boot/dts/ti/Makefile > +++ b/arch/arm64/boot/dts/ti/Makefile > @@ -21,3 +21,5 @@ dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb > > dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb > dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb > + > +dtb-$(CONFIG_ARCH_K3) += k3-am625-sk.dtb > diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts > new file mode 100644 > index 000000000000..9a6ff601f44d > --- /dev/null > +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts > @@ -0,0 +1,206 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * AM625 SK: https://www.ti.com/lit/zip/sprr448 > + * > + * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/ > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include "k3-am625.dtsi" > + > +/ { > + compatible = "ti,am625-sk", "ti,am625"; > + model = "Texas Instruments AM625 SK"; > + > + aliases { > + serial2 = &main_uart0; > + }; > + > + chosen { > + stdout-path = "serial2:115200n8"; > + bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; > + }; > + > + memory@80000000 { > + device_type = "memory"; > + /* 2G RAM */ > + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; > + > + }; > + > + reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + secure_tfa_ddr: tfa@9e780000 { > + reg = <0x00 0x9e780000 0x00 0x80000>; > + alignment = <0x1000>; > + no-map; > + }; > + > + secure_ddr: optee@9e800000 { > + reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ > + alignment = <0x1000>; > + no-map; > + }; > + > + wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 { > + compatible = "shared-dma-pool"; > + reg = <0x00 0xa0000000 0x00 0x200000>; > + no-map; > + }; > + }; > + > + vmain_pd: fixed-regulator-vmain-pd { > + /* TPS65988 PD CONTROLLER OUTPUT */ > + compatible = "regulator-fixed"; > + regulator-name = "vmain_pd"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + > + vcc_5v0: fixedregulator-vcc5v0 { > + /* Output of LM34936 */ > + compatible = "regulator-fixed"; > + regulator-name = "vcc_5v0"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + vin-supply = <&vmain_pd>; > + regulator-always-on; > + regulator-boot-on; > + }; > + > + vcc_3v3_sys: fixedregulator-vcc-3v3-sys { Generic node names (as in DT spec), so regulator-[0-9]. The label and regulator-name property describe it's user-friendly purpose. > + /* output of LM61460-Q1 */ > + compatible = "regulator-fixed"; > + regulator-name = "vcc_3v3_sys"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + vin-supply = <&vmain_pd>; > + regulator-always-on; > + regulator-boot-on; > + }; > + > + leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&usr_led_pins_default>; > + > + led-0 { Best regards, Krzysztof