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 41DF7C433FE for ; Mon, 17 Oct 2022 19:03:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F153C84F41; Mon, 17 Oct 2022 21:03:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=kohlschutter.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kohlschutter-com.20210112.gappssmtp.com header.i=@kohlschutter-com.20210112.gappssmtp.com header.b="4bGhRmAH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9FF6284F44; Mon, 17 Oct 2022 21:03:00 +0200 (CEST) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 A87998039A for ; Mon, 17 Oct 2022 21:02:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=kohlschutter.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=christian@kohlschuetter.com Received: by mail-ed1-x531.google.com with SMTP id a13so17469847edj.0 for ; Mon, 17 Oct 2022 12:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kohlschutter-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7S/vkDMPddKBceOufeqDo+dj0Q8qS5ClI4D6ImYYeBg=; b=4bGhRmAH5PVofjbn7ZA9SG98iLd0x4i3l0LpzxJoy5hqFzzUjd7NUGVoVVPD6K9iTg Com4vI1UEtlgHQ7UUNEL5NvExacIsX90jF0HFooISqqzevwRHmh/Sn4gS4H5pFpb753C GRUB+9QVJzVHK56lJXDxF7RAJvdd6jD5kR/cH+XOb0p/C1MnlcRgQkQabXzepyod09RQ kSfiytOEny86cisZDZhW/+qciaFriedxdufkW5GHtnfaunZmL+ZtQVvFh2i9QliI76Bt I99TjzTpEc7+ZqjkCbNcQEHO9Pc8Un/AI0b5ZK40H5X2B0gfDTBi1pLrJLlgcfcYHTOD pvOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7S/vkDMPddKBceOufeqDo+dj0Q8qS5ClI4D6ImYYeBg=; b=Q6WBQ7lmN1istRT2TQcyBi66CXNqNhSz3DjgtoWsbj+TjVNC2sBb0DEwnQURi6NSIk /PX8IDSkE0tcKrEAz0FsuVucQHKNaDh3FZOLwK8RnZJEVuDcRKxiT0ZIxLFRhHbmq/I/ sHnatXAJgiHkIGR3W0NCIMyay9b/Miolxii8Ey34HhYAjfNP7pKwWcAmQ9cnAQATvp+4 Zg3Q73j+W8KhRgGilKXSVUKeGfoU2K52DCn/PfSJzDWSKgKGAC2mdyIWXe8smt6ei25n cBX21ygkpSdpAIMtChZ01oJdYALgR9FKKa7+DQQaXaoTBfGPidYDtB5IwFrcXlgKb/bU /GLg== X-Gm-Message-State: ACrzQf0J0AjfDbxt1n7pyY1f3ayzVEkVm9Ohpkk2S60o5Qtm2+/y8eSv QHbw1nMFlKGprY6oK/MIIJjKzg== X-Google-Smtp-Source: AMsMyM6Je9eg2+sSDLDWzbBxx3TyQE9OOe7BiIE/I/QtAN6eYuvhNASI43Jnys+nTb4CDgfaV/T4Iw== X-Received: by 2002:a05:6402:1913:b0:45d:fe2:40 with SMTP id e19-20020a056402191300b0045d0fe20040mr11744422edz.353.1666033377149; Mon, 17 Oct 2022 12:02:57 -0700 (PDT) Received: from plus1.kohl.home (ip5b434222.dynamic.kabel-deutschland.de. [91.67.66.34]) by smtp.gmail.com with ESMTPSA id 12-20020a170906300c00b0077a1dd3e7b7sm6565246ejz.102.2022.10.17.12.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 12:02:56 -0700 (PDT) From: =?UTF-8?q?Christian=20Kohlsch=C3=BCtter?= To: Xiaobo Tian , Simon Glass , Philipp Tomsich , Kever Yang Cc: =?UTF-8?q?Christian=20Kohlsch=C3=BCtter?= , u-boot@lists.denx.de Subject: [PATCH v2] arm: dts: rockchip: rk3399: nanopi-r4s: Provide smbios sysinfo Date: Mon, 17 Oct 2022 19:02:36 +0000 Message-Id: <20221017190237.29689-1-christian@kohlschutter.com> X-Mailer: git-send-email 2.36.2 In-Reply-To: <39adbb4c-1071-1c95-6fad-99f6629670eb@rock-chips.com> References: <39adbb4c-1071-1c95-6fad-99f6629670eb@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean Provide human-readable manufacturer and product names for the FriendlyELEC NanoPi R4S. Enable CONFIG_SYSINFO and CONFIG_SYSINFO_SMBIOS by default. Signed-off-by: Christian Kohlschütter --- arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/nanopi-r4s-rk3399_defconfig | 6 ++++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi b/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi index cd1642527b..69800cc368 100644 --- a/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi +++ b/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi @@ -14,3 +14,25 @@ #include "rk3399-nanopi4-u-boot.dtsi" #include "rk3399-sdram-lpddr4-100.dtsi" + +/ { + smbios { + compatible = "u-boot,sysinfo-smbios"; + + smbios { + system { + manufacturer = "FriendlyELEC"; + product = "NanoPi R4S"; + }; + + baseboard { + manufacturer = "FriendlyELEC"; + product = "NanoPi R4S"; + }; + + chassis { + manufacturer = "FriendlyELEC"; + }; + }; + }; +}; diff --git a/configs/nanopi-r4s-rk3399_defconfig b/configs/nanopi-r4s-rk3399_defconfig index d8854abbb1..502f007e6e 100644 --- a/configs/nanopi-r4s-rk3399_defconfig +++ b/configs/nanopi-r4s-rk3399_defconfig @@ -71,3 +71,9 @@ CONFIG_VIDEO_ROCKCHIP=y CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_SPL_TINY_MEMSET=y CONFIG_ERRNO_STR=y +CONFIG_MISC=y +CONFIG_MISC_INIT_R=y +CONFIG_ROCKCHIP_EFUSE=y +CONFIG_ROCKCHIP_OTP=y +CONFIG_SYSINFO=y +CONFIG_SYSINFO_SMBIOS=y -- 2.36.2