Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1338664lqz; Mon, 1 Apr 2024 03:11:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2CWAFr3SvMahYUXV/KhWAdn2IiF7A92cVwd7ykIYRrqLEHAS9dIB4AkJtNGXOwqjln9h2vrdQ4+TfA+10uvcWNVB0AKK/Z6zIxI1X8g== X-Google-Smtp-Source: AGHT+IEtVUbj6S6VTJewtpBfl+mVi46M4Tu3wexMc+374btQzZDarlE6rkPEQFiLrqF2Gp9nOXDr X-Received: by 2002:a0c:fec2:0:b0:699:ce1:aedc with SMTP id z2-20020a0cfec2000000b006990ce1aedcmr1135591qvs.33.1711966279781; Mon, 01 Apr 2024 03:11:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711966279; cv=pass; d=google.com; s=arc-20160816; b=nA8nc8uiFtU3WC6SoM4r0IsRc7r3ylti16bGWVR1Da8kaDtg7TZyb8+NSO0rTt/ltt CzSLQGdPtsBYywC5iSFIGYbSobjVkylsbCgqYcNJZdHu0XZP6hkxVb0N08KLjTvchlZo LtkSBisgPG156t24UFYvaxwyAH1nf6H16tyDzxRXVXqEfPv8aQHRemtfbjPvW7LCyWzH OW0M2D7/BlNstXA0jATcim0Ndx13pvg+6G/Bgy8izFqmaSUwV0a5e5VUnEGVjRRxLlvK CfFZCUg1BYqlnWYqzofkPwQkXnkAtva41vdPQQofQ7ThkKQwPiKgRD7YXlMRgUQQGBpU AN5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=L9KVlSYXS0scvn8kPrC7oJZHjxjXqSZTPzZDTT7B5ds=; fh=evjBOhsiWEx4tfnK9iRuNqeQXfiGPuK5MNbeGX8rsLk=; b=H7GcBNEzYXgfV2XIc9ImUgmfd9BiUuCS8HJddGDNSZjhVsEaCH85/ZvlmpnSPZ2mTd bh1r62/+n/bNFioHgDWlRwJ9SDLUYzMaPodbZiGyw6UksHMuI/eyNNSvg8XS9/kfVnfO DqJDjUZnaGJdHbKWrm/kh73WvhcVwu3T5sI6QTBkaFON4B3yUYN9kyGEzReLd2vZeJ8J uv6JbyPuOfpLi7kQGRMtnkLj7wKsyK6SFcSDT3blFapgT9GkoGdokfGS/j/EyOTNgZ8C didyMIE6JGFKANCZt58qqfGzTisBi+9sDnt+LqjVEG5rEctKYAuqGWufBUn7VA4kMP2r einQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JqZVze4S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126586-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126586-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pm19-20020ad446d3000000b0068fab5b582esi9204225qvb.132.2024.04.01.03.11.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 03:11:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126586-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JqZVze4S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126586-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126586-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 836701C2103B for ; Mon, 1 Apr 2024 10:11:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC936171CD; Mon, 1 Apr 2024 10:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JqZVze4S" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F211AFC17; Mon, 1 Apr 2024 10:10:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711966255; cv=none; b=IU4YCGugK8qPwrUH40AG2FICpA51eCsMFGJiO2debTNru9lDPNyge1HkTbtKBHboMHnNQYkI3eGRC7jDg79VXY2PUwceEGv7J+t58UHw3J7371FevCgZN+BverbEzkN/p1ekb4wUUQ2jSNPzFSF2ggG7/p0BNMvcyCmrSAoEePM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711966255; c=relaxed/simple; bh=N5wbw2MnTKS/5RK9ZX2lKvMkhhY+eswYx65v4Ex7yME=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=O/26c6ZCMzCIKMQffgIl95grqTRnG3p1hmhMsXrnFXVKNb9KInfGAK7KpFdol3RCy/vVe72ImsWbD8lY92Hr91kRmXA1++YQyyBv5w/q3NjKvYhlL8lrMTvMrrZY3Agy/63CyyzTJn+TSPE/HHK4anuTCJTDjX7hB7mg26yoOZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JqZVze4S; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id BC495C433F1; Mon, 1 Apr 2024 10:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711966254; bh=N5wbw2MnTKS/5RK9ZX2lKvMkhhY+eswYx65v4Ex7yME=; h=From:Subject:Date:To:Cc:Reply-To:From; b=JqZVze4Sf9kDR70QfYPtILbk+0ghgXLLKUbEFUyumrEKnQMxb8IQjvf36WqkxzZMD 6hzSb2twRKbs9P++P+nHyp33GUkgRyW3UizQmbT/MkObV4hpPIfEekNimvYXFvA6Is IqcHUDHIHTbxS0p620y8UhWWAdTSdFDDqq6HqvTxfVDLsNOmaTRM0kVIhqPrLwq2Xl ztXC6FhtrvjbB0KEMAvBYS52gumewKpLg4mUvVEf8yzciF5y0YBHGfMlIAt0zZ76YM btxmzu0ch42KBc1nASTPzhJVQRsGbTQa3BZk+Rtv/zlKoCiGs6DAHib8crhnOpzqd9 6CTFAMQhYSemg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6DF3CD1288; Mon, 1 Apr 2024 10:10:54 +0000 (UTC) From: Xianwei Zhao via B4 Relay Subject: [PATCH v3 0/5] Baisc devicetree support for Amlogic A4 and A5 Date: Mon, 01 Apr 2024 18:10:48 +0800 Message-Id: <20240401-basic_dt-v3-0-cb29ae1c16da@amlogic.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIACmICmYC/22MywqDMBBFf0Wybkpm4quu+h+llBgTHaimJBJax H9vdGWhy3O55ywsGE8msCZbmDeRArkpgTxlTA9q6g2nLjFDgbmQgLxVgfSjmzkUJq8KLFQOkqX 7yxtL7z11uyceKMzOf/ZyhG39E4nABa8sQGelEvWlvKrx6XrSZ+1GtmUiHlQUBxWTWtZgtG1Rt sr+quu6fgHmGofN3QAAAA== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Martin Blumenstingl , Jerome Brunet , Kevin Hilman , Greg Kroah-Hartman , Jiri Slaby Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-serial@vger.kernel.org, Xianwei Zhao , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711966252; l=2281; i=xianwei.zhao@amlogic.com; s=20231208; h=from:subject:message-id; bh=N5wbw2MnTKS/5RK9ZX2lKvMkhhY+eswYx65v4Ex7yME=; b=HJ4Y6rVs3Ko4rtxCb2S3YncOGcj95WtddZ5a28tWO5DhOf4QZsNzBblo93y0AcDmkm0MIG44a oizL5JSYrk5ClFUJCFY8afUZbCqUms1epCd5QivqZcogc7AIatuK3iC X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=o4fDH8ZXL6xQg5h17eNzRljf6pwZHWWjqcOSsj3dW24= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20231208 with auth_id=107 X-Original-From: Xianwei Zhao Reply-To: xianwei.zhao@amlogic.com Amlogic A4 and A5 are application processors designed for smart audio and IoT applications. Add the new A4 SoC/board device tree bindings. Add the new A5 SoC/board device tree bindings. Add A4 UART compatible line for documentation. Add basic support for the A4 based Amlogic AV400 board, which describes the following components: CPU, GIC, IRQ, Timer and UART. These are capable of booting up into the serial console. Add basic support for the A5 based Amlogic AV400 board, which describes the following components: CPU, GIC, IRQ, Timer and UART. These are capable of booting up into the serial console. Signed-off-by: Xianwei Zhao --- Changes in v3: - Keep alphabetical order. - Add the necessary spaces. - Link to v2: https://lore.kernel.org/r/20240320-basic_dt-v2-0-681ecfb23baf@amlogic.com Changes in v2: - Delete bindings for uncommitted boards. - Add A4 UART compatible line for documentation. - Use common dtsi for a4 and a5. - Fix psci version 1.0, and fix some formats. - Modify secmon reserved memory size 10M(actual using). - Link to v1: https://lore.kernel.org/r/20240312-basic_dt-v1-0-7f11df3a0896@amlogic.com --- Xianwei Zhao (5): dt-bindings: arm: amlogic: add A4 support dt-bindings: arm: amlogic: add A5 support dt-bindings: serial: amlogic,meson-uart: Add compatible string for A4 arm64: dts: add support for A4 based Amlogic BA400 arm64: dts: add support for A5 based Amlogic AV400 Documentation/devicetree/bindings/arm/amlogic.yaml | 12 ++++ .../bindings/serial/amlogic,meson-uart.yaml | 4 +- arch/arm64/boot/dts/amlogic/Makefile | 2 + .../boot/dts/amlogic/amlogic-a4-a113l2-ba400.dts | 42 ++++++++++++++ arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi | 66 ++++++++++++++++++++++ arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi | 40 +++++++++++++ .../boot/dts/amlogic/amlogic-a5-a113x2-av400.dts | 42 ++++++++++++++ arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi | 40 +++++++++++++ 8 files changed, 247 insertions(+), 1 deletion(-) --- base-commit: 7092cfae086f0bc235baca413d0bd904f182670c change-id: 20240312-basic_dt-15e47525a413 Best regards, -- Xianwei Zhao