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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8B6AFC433F5 for ; Fri, 17 Dec 2021 04:01:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7AD5D830E8; Fri, 17 Dec 2021 05:00:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="MgwehjKi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7884E8307B; Fri, 17 Dec 2021 05:00:18 +0100 (CET) Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 97C2D8309C for ; Fri, 17 Dec 2021 05:00:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oo1-xc2c.google.com with SMTP id v30-20020a4a315e000000b002c52d555875so324933oog.12 for ; Thu, 16 Dec 2021 20:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=793YWyfxJ+vynhhYR3rY1qi+WHNyCQPorFpxRX/vzsY=; b=MgwehjKiw/tJIKNSBVQEFlt353L68wnQxAGrET1J+wUyW4U2DkAuhtlJQcvEKL3f4f 1qlC51FuHFJpwxwmtMdZzW5JKigZvr7T4vD/uyj8WySq51y+fxaS4vgpHHdQKRogAnGT yXDlAit87/sg9dAuoiJjfOby9x7Tzr6PWw/1M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=793YWyfxJ+vynhhYR3rY1qi+WHNyCQPorFpxRX/vzsY=; b=LP96KLwiKhyOO0g1X5IBbK/6sbc2ULESNWAjBE9Blfk7VmqLwV+XKyy1aT1NjmYv2t RQf5y7TXVX8rZQ4VU9n9kfJ7367cMyuGJqutHypDIAmiXMLWfsEhT0pgLxTTGvcGDU6w NIiVQX92/H5xKZBG8pHZGGVYDyhsBPNOejKOP7Wxc8gmjIyJQzfaNGQ0sqE4zwo2eABG TOzCaCAuHOlTi9xbZIaJ94F7IueiIXoIvcaiyAeeF73fK4+1ou8OohOHpFaku0g29ygM Y4uG+PEDGDYBAziB7JJ4i3oHfVikKy8DWWTIjm47YSEN3v3ZQ2b4bgmsb+t5z/4qQHY0 gQxw== X-Gm-Message-State: AOAM531Z1ArZZObtdyRmylL/drP21c+KFFemhY/Xy+6Nnat5txVn/DN/ voXblwP0theGtYIGH40SallwFMMPJqX8xg== X-Google-Smtp-Source: ABdhPJyQqwwmgtRVc6JKxJJZ5ZwoiG9xDbiH6lPJ0aoS8uDWgyIghuWMDUY/hXkYNldjWT9yLdFWvg== X-Received: by 2002:a4a:d486:: with SMTP id o6mr802370oos.49.1639713602484; Thu, 16 Dec 2021 20:00:02 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id h14sm1431249ots.22.2021.12.16.20.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 20:00:02 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Ilias Apalodimas , Sean Anderson , Heinrich Schuchardt , Tom Rini , Mark Kettenis , =?UTF-8?q?Fran=C3=A7ois=20Ozog?= , Simon Glass , Heinrich Schuchardt , Albert Aribaud , Tuomas Tynkkynen Subject: [PATCH v8 03/32] arm: qemu: Add a devicetree file for qemu_arm Date: Thu, 16 Dec 2021 20:59:10 -0700 Message-Id: <20211217035939.670884-4-sjg@chromium.org> X-Mailer: git-send-email 2.34.1.173.g76aa8bc2d0-goog In-Reply-To: <20211217035939.670884-1-sjg@chromium.org> References: <20211217035939.670884-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This uses QEMU virt which creates its own devicetree. Add an empty version of this file, so that we can at least build this board when devicetrees are required. Tested-by: Heinrich Schuchardt Signed-off-by: Simon Glass --- (no changes since v7) Changes in v7: - Switch to using an empty file for qemu virt Changes in v6: - Expand the commit message based on comments arch/arm/dts/Makefile | 2 ++ arch/arm/dts/qemu-arm.dts | 11 +++++++++++ configs/qemu_arm_defconfig | 1 + 3 files changed, 14 insertions(+) create mode 100644 arch/arm/dts/qemu-arm.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 7f622fedbda..eaad3b679cc 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1162,6 +1162,8 @@ dtb-$(CONFIG_TARGET_IMX8MM_CL_IOT_GATE_OPTEE) += imx8mm-cl-iot-gate-optee.dtb dtb-$(CONFIG_TARGET_EA_LPC3250DEVKITV2) += lpc3250-ea3250.dtb +dtb-$(CONFIG_ARCH_QEMU) += qemu-arm.dtb + targets += $(dtb-y) # Add any required device tree compiler flags here diff --git a/arch/arm/dts/qemu-arm.dts b/arch/arm/dts/qemu-arm.dts new file mode 100644 index 00000000000..230c630f04f --- /dev/null +++ b/arch/arm/dts/qemu-arm.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Empty device tree for qemu_arm + + * Copyright 2021 Google LLC + */ + +/dts-v1/; + +/ { +}; diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig index d4f6d0b4373..a644a5f3e79 100644 --- a/configs/qemu_arm_defconfig +++ b/configs/qemu_arm_defconfig @@ -5,6 +5,7 @@ CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x40000 CONFIG_ENV_SECT_SIZE=0x40000 +CONFIG_DEFAULT_DEVICE_TREE="qemu-arm" CONFIG_TARGET_QEMU_ARM_32BIT=y CONFIG_DEBUG_UART_BASE=0x9000000 CONFIG_DEBUG_UART_CLOCK=0 -- 2.34.1.173.g76aa8bc2d0-goog