Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4764238rdb; Tue, 12 Dec 2023 08:41:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFu3Zb4daXitjjhLV9t8/uL294mThpcLSYoOvg8JsNdD+HmTnkXr0EfZ5ue8/ptw5Tw4PQU X-Received: by 2002:a05:6a00:aca:b0:6ce:2731:d5b9 with SMTP id c10-20020a056a000aca00b006ce2731d5b9mr3949670pfl.42.1702399296962; Tue, 12 Dec 2023 08:41:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702399296; cv=none; d=google.com; s=arc-20160816; b=pRBfGF3IbLqYvwARvxzkgdCy200cnE75aqKYvBUkHiDshYAMtibwReh1IYl8kVDciS DIpRMLuG2MvPhMo6lUarlF5ps/oWk9ellhZnmRmH6CJl8ZOVIRRuU75NvFyCaGGqjoy0 GWvgBm5TJ5Mx19uzA7/Q0d6apRkeyGJWWs88xDRhsi/hiApwqOYXbHBH0bmlZ2verPHx NeCvXrMF8u0TU4CMS/mjaeaxh5x9DIbCUHwjFGwxI/hsctbMQ1r2Xt8YzWvxzfDXuflh y8UMXom+VZ4uTto027ufRm3PuiGHkL49cGLRN7Y9KsTXmsPLk5bQdQVE2EJeeAdosOIP PMiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tmJe/JZ296DURUaVy7GUaVqjm02svk/RNk/Yqlo417I=; fh=KQ+q0ssy7slR/yeGxgKga5zHAkCbWVH7sCC1px2j9m8=; b=ReiZ3Amz3eyI4WyiMAtBrFeISHrKlsKmL9dCCr9aGRZbPVWUDTP1AaFQSh1rrJDNQI heLVx7VQOgXGG9fmOEJ6QD7PSrcHi1y0YlBjLfK0XeCsCNJYjnZGajufY97IbO0r2K1D mEjITlqgCSZDTh/KojMFwKWBjf76BYg0OMPV41qDQlHgTXaPJHqoWvr/dkCvkEHi0Cy4 ypM59kiz2HTquIV+7dMbgOQMQCxp28hX8lSwO72cmRWY1rK2i7ImJ6OHEaRSA8fdnJL8 3Po1spwFtDhLj0SkpsFYe48Scgq//pjUZOA2L1efBocXqXma4RGdtrtiH49Soc5Y7Ii0 6crQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Cmrr7qJC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id y35-20020a056a00182300b006c339527ab8si7912002pfa.192.2023.12.12.08.41.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:41:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Cmrr7qJC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4784E80747BB; Tue, 12 Dec 2023 08:41:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346604AbjLLQlS (ORCPT + 99 others); Tue, 12 Dec 2023 11:41:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346538AbjLLQlE (ORCPT ); Tue, 12 Dec 2023 11:41:04 -0500 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F80FE4; Tue, 12 Dec 2023 08:41:10 -0800 (PST) Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BCGMPCe019334; Tue, 12 Dec 2023 16:40:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=tmJe/JZ296DURUaVy7GUaVqjm02svk/RNk/Yqlo417I=; b=Cmrr7qJCOfZFF9L9hbIHdMEMzNePBTCHCHsQnjZ4XyuZshuc8VSpLX8QDOVxeZx/wILA Zm//K1y0Y+J/btEW5PiDndm9CV5CY8vIcXPGkQSGKzDCJKak8oq90Bm35JAZ5ezwkHj8 n3P/ayCsiag53LvT9dz2TeUkc0AE1SVs2y5SwDnx9MhINycxKIJCit7Mtped5Cyjydsa 57hB2BSOUXoJPnqvVvY8MSXsHEGqWJjDUt16I5U6XButQ2izI6M1CnxWm6PKfwpVi9mm reX1nIDNYnzW+nsJUPTFmgSbHUUhtOV5GEpJdW6g6eV666R5nQL9ap2M//0MoIwCtg6L Iw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uxtyprqf3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 16:40:32 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BCGYl27003186; Tue, 12 Dec 2023 16:40:31 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uxtyprqe8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 16:40:31 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3BCGCKrj013937; Tue, 12 Dec 2023 16:40:30 GMT Received: from smtprelay05.wdc07v.mail.ibm.com ([172.16.1.72]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3uw5921t5u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 16:40:30 +0000 Received: from smtpav05.wdc07v.mail.ibm.com (smtpav05.wdc07v.mail.ibm.com [10.39.53.232]) by smtprelay05.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3BCGeSJs22020620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Dec 2023 16:40:28 GMT Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BA7ED5805D; Tue, 12 Dec 2023 16:40:28 +0000 (GMT) Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0E8F758043; Tue, 12 Dec 2023 16:40:27 +0000 (GMT) Received: from gfwa153.aus.stglabs.ibm.com (unknown [9.3.84.127]) by smtpav05.wdc07v.mail.ibm.com (Postfix) with ESMTP; Tue, 12 Dec 2023 16:40:26 +0000 (GMT) From: Ninad Palsule To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, ninad@linux.ibm.com, johannes.holland@infineon.com, linux@roeck-us.net, broonie@kernel.org Cc: patrick.rudolph@9elements.com, vincent@vtremblay.dev, peteryin.openbmc@gmail.com, lakshmiy@us.ibm.com, bhelgaas@google.com, naresh.solanki@9elements.com, alexander.stein@ew.tq-group.com, festevam@denx.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-hardening@vger.kernel.org, geissonator@yahoo.com Subject: [PATCH v1 8/8] ARM: dts: aspeed: System1: PS, sensor and more Date: Tue, 12 Dec 2023 10:40:04 -0600 Message-Id: <20231212164004.1683589-9-ninad@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231212164004.1683589-1-ninad@linux.ibm.com> References: <20231212164004.1683589-1-ninad@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: -6uK4Z8Wwo4M6g5aeTkJcL1lBG78X423 X-Proofpoint-ORIG-GUID: Ig5f-nSJ8J74hckYsgm9q2vjWlJQ1rTN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-12_10,2023-12-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 mlxscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 clxscore=1015 mlxlogscore=999 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312120128 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 08:41:34 -0800 (PST) This drop adds following devices in the device tree. - EEPROM/VPD - Power supplies - Humidity, pressure and temperature sensors. - Trusted platform module(TPM) chip Tested: This board is tested using the simics simulator. Signed-off-by: Ninad Palsule --- .../dts/aspeed/aspeed-bmc-ibm-system1.dts | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts index 75562aa63701..d960b938fe8d 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -461,6 +461,11 @@ &kcs3 { &i2c0 { status = "okay"; + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + regulator@60 { compatible = "maxim,max8952"; reg = <0x60>; @@ -655,6 +660,25 @@ pca0: pca9539@74 { &i2c2 { status = "okay"; + + power-supply@58 { + compatible = "ibm,cffps"; + reg = <0x58>; + }; + + power-supply@59 { + compatible = "ibm,cffps"; + reg = <0x59>; + }; + + power-supply@5a { + compatible = "ibm,cffps"; + reg = <0x5a>; + }; + power-supply@5b { + compatible = "ibm,cffps"; + reg = <0x5b>; + }; }; &i2c3 { @@ -758,6 +782,11 @@ fan-controller@54 { #size-cells = <0>; }; + eeprom@55 { + compatible = "atmel,24c64"; + reg = <0x55>; + }; + i2c-mux@70 { compatible = "nxp,pca9548"; reg = <0x70>; @@ -795,6 +824,21 @@ i2c6mux0chn4: i2c@4 { #size-cells = <0>; reg = <4>; + humidity-sensor@40 { + compatible = "ti,hdc1080"; + reg = <0x40>; + }; + + temperature-sensor@48 { + compatible = "ti,tmp275"; + reg = <0x48>; + }; + + eeprom@50 { + compatible = "atmel,24c32"; + reg = <0x50>; + }; + led-controller@60 { compatible = "nxp,pca9551"; reg = <0x60>; @@ -836,6 +880,12 @@ led@3 { type = ; }; }; + + temperature-sensor@76 { + compatible = "infineon,dps310"; + reg = <0x76>; + #io-channel-cells = <0>; + }; }; i2c6mux0chn5: i2c@5 { @@ -1100,6 +1150,11 @@ i2c8mux0chn6: i2c@6 { #address-cells = <1>; #size-cells = <0>; reg = <6>; + + temperature-sensor@4c { + compatible = "ti,tmp423"; + reg = <0x4c>; + }; }; i2c8mux0chn7: i2c@7 { @@ -1128,6 +1183,11 @@ regulator@41 { reg = <0x41>; }; + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + regulator@60 { compatible = "maxim,max8952"; reg = <0x60>; @@ -1148,6 +1208,12 @@ regulator@60 { &i2c11 { status = "okay"; + + tpm@2e { + compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c"; + reg = <0x2e>; + memory-region = <&event_log>; + }; }; &i2c12 { @@ -1552,6 +1618,11 @@ i2c15mux0chn6: i2c@6 { #address-cells = <1>; #size-cells = <0>; reg = <6>; + + temperature-sensor@4c { + compatible = "ti,tmp423"; + reg = <0x4c>; + }; }; i2c15mux0chn7: i2c@7 { @@ -1563,6 +1634,11 @@ regulator@40 { compatible = "infineon,ir38060"; reg = <0x40>; }; + + temperature-sensor@4c { + compatible = "ti,tmp423"; + reg = <0x4c>; + }; }; }; }; -- 2.39.2