From patchwork Thu Sep 29 00:15:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christian_Kohlsch=C3=BCtter?= X-Patchwork-Id: 1684164 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kohlschutter-com.20210112.gappssmtp.com header.i=@kohlschutter-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=HiLDb3TI; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MdDRF0dTcz1ypH for ; Thu, 29 Sep 2022 10:15:53 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3AE3A84BCD; Thu, 29 Sep 2022 02:15:46 +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="HiLDb3TI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C6F2284571; Thu, 29 Sep 2022 02:15:43 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (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 DF5C484BCD for ; Thu, 29 Sep 2022 02:15:40 +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-ej1-x62a.google.com with SMTP id lc7so30408171ejb.0 for ; Wed, 28 Sep 2022 17:15:40 -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:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=+TPTlemKI85ok76ogTXlEj6MG3hN8zi/yAiBVkIvCs8=; b=HiLDb3TIqhGXE0V8fRYF6S9j6NKx+9QUR8JsheKEBKrcR/HAhy8w4fEu08spZi9flH kOVM3a79wfqEj/spOn3kZdn4CVsDp6h15ZPGGh8bihgP63cHi5pC6KEN6CJKdw5dUaZA KUuLXTkmPPR9A0Kq5EhJORWOQMSuefPbtwHFG3ls9shLzTU+KzbleKkKbTxo3xoqA29o i85Yree9v+Wl/7c99qpQdBcrcI9p9VhBHPskGdoud29fpzjjYgRyK1hMpzCgSJ0J3FpO RRZJ/L1Qgc1pd0QyrPXmDET8QlFyxRHQmIrduzkdIO6RPgYifOcC92+pLORPVnWribCC CzCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=+TPTlemKI85ok76ogTXlEj6MG3hN8zi/yAiBVkIvCs8=; b=dABpLS2AG+E1pfo9YtvG/TzlE/rKBXChNZJRWUX0ObpcKv/KODYQHp4GcM+Aj/RAew d7dq1r5oOcebdOSmaULWBvfgeyxmuoRjfYHJMsi8P4mCfY0I4RwFC/9KB23MLwVs9cVd u1/G6t7mPvgGcGWxnYjquWCeQz3f+E+IeuAruyQLjwJjn2cdVE+e8hPW0tufd0HXw1Iz 1EbsW+8CHZPKL6okOcIJl/0ctmJkjd8TkDf4H3ahiVHT852+U3Ez9nbFjBJBaEyCejwE 4eIAfVg/MCIj/eZEjU56Eeaoo8qXtk4SeY6yeQ9uWk3L4BVjUnXZlxPKXIM0LbNr35Aa 6p0w== X-Gm-Message-State: ACrzQf3gvzkK1bVs2VW7qhWPnMMoO4K/1a10BPIMqMyIBINaneXs2J/8 zAe2j6MEGYeSfKExPFEQwCvgiEAFCVbYRhAt7vo= X-Google-Smtp-Source: AMsMyM7nVv5wXaMDm2JaQskKPLjm+Ps+6to6963ToF04Df9poOnEEqg8Lc+SctSINx/lRlszzaOwoA== X-Received: by 2002:a17:907:a425:b0:783:b550:d99d with SMTP id sg37-20020a170907a42500b00783b550d99dmr404356ejc.17.1664410540220; Wed, 28 Sep 2022 17:15:40 -0700 (PDT) Received: from plus1.kohl.home (ip5b434222.dynamic.kabel-deutschland.de. [91.67.66.34]) by smtp.gmail.com with ESMTPSA id qc27-20020a170906d8bb00b0073c0b87ba34sm3046629ejb.198.2022.09.28.17.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 17:15:39 -0700 (PDT) From: =?utf-8?q?Christian_Kohlsch=C3=BCtter?= To: u-boot@lists.denx.de, Xiaobo Tian , Simon Glass , Philipp Tomsich , Kever Yang Cc: =?utf-8?q?Christian_Kohlsch=C3=BCtter?= Subject: [PATCH] arm: dts: rockchip: rk3399: nanopi-r4s: Provide smbios sysinfo Date: Thu, 29 Sep 2022 00:15:20 +0000 Message-Id: <20220929001520.9095-1-christian@kohlschutter.com> X-Mailer: git-send-email 2.36.2 MIME-Version: 1.0 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 Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/nanopi-r4s-rk3399_defconfig | 2 ++ 2 files changed, 24 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 dd2579d2e0..502f007e6e 100644 --- a/configs/nanopi-r4s-rk3399_defconfig +++ b/configs/nanopi-r4s-rk3399_defconfig @@ -75,3 +75,5 @@ CONFIG_MISC=y CONFIG_MISC_INIT_R=y CONFIG_ROCKCHIP_EFUSE=y CONFIG_ROCKCHIP_OTP=y +CONFIG_SYSINFO=y +CONFIG_SYSINFO_SMBIOS=y