Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp524691rdg; Tue, 10 Oct 2023 18:53:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHecrBQpvQzXN9n42wNQEUIc1yD1lgJlLw7fqLeC7AfQVULRMx6bsp6w76xl0xsh0HsqBNm X-Received: by 2002:a9d:6e0a:0:b0:6b7:52ce:ff38 with SMTP id e10-20020a9d6e0a000000b006b752ceff38mr21146865otr.16.1696989181253; Tue, 10 Oct 2023 18:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696989181; cv=none; d=google.com; s=arc-20160816; b=g/uVG3nRNusyRSrxsL+wxEuXQYjFKMNFs9qcuax3GUccZLk4d0W5GDfVID7CnKDniV 4Um1WQE2+4Dlmj52/+XhRpfUzJ+8XVDctMiUIhM7IjdisCn7CBiFlxGRsaotrI2grte3 MWxz9/1mFKwbisu5cJUSVkcV9jRO9UU+nRHTjs4BNddQf+yCwiveb5FJqcnaM2/O16wV g4d1P42K/gB2JR8svIjH6ZLgwI1GLxtc3l8vVCaI6hQwEYLWAc2OraRHZoNKnvK7GPwa LzXyAbL8QiYSmD7YIgZI1E8RRHbMxRL7ATMe+nfL7//GiIFoEE6/MEb8V0ivr9tqyA/h pP+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=luUw5tqGQ3BU2f4zRF8kts9D/h2ull0YaqRJxHMMH9o=; fh=9eZrjnk/FqysjyexCXa2UkuACLhZCFXmAQNQR7/cqeM=; b=bDx/Y2IjR07xrGrClu4K541vicDvwFpt8pDLjvcHclJeUTWXW6fvi+k9sTYXM5FVRa GP9cAe5NmbjeOV9zh/Sn3jmNqk3G9uONVHezmqxkMuvduPdm7hSNJGU8QWWLBUkRMjhp tS6cPftULAQ2MrjGv46lPlmRk1rrqs0e3QwX4yCHa19tarQ6pwWoxgDzeZx5OgHGu7Gz 8lvqxbn8Zn+p6Sdsg1qBp4p71LKHdeRyJBnzC5n3F9IhGdCOSPjEP0LgP2R+OBVlRRU8 4udXa7XQIRJcferi/r43Xn7QjfIqTtXRXtEHn6thTatnfsyVhmme8WOVzhl1Is9EMuLr 8x1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=I7fCj2fw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id g28-20020a63375c000000b00563de199314si400607pgn.896.2023.10.10.18.53.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 18:53:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=I7fCj2fw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 4931B80CF546; Tue, 10 Oct 2023 18:52:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344687AbjJKBwm (ORCPT + 99 others); Tue, 10 Oct 2023 21:52:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344546AbjJKBwl (ORCPT ); Tue, 10 Oct 2023 21:52:41 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B276D92; Tue, 10 Oct 2023 18:52:39 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9b9ad5760b9so1061600466b.3; Tue, 10 Oct 2023 18:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; t=1696989158; x=1697593958; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=luUw5tqGQ3BU2f4zRF8kts9D/h2ull0YaqRJxHMMH9o=; b=I7fCj2fwemYM2XWrisBgKLzDI7k8xjRZ+X+Nx7YHP7gQu4hhX8d14pnC5S15ZDa/pc luF4mPRqTxJkyrRgr3RkffZZv89mNcE1eqF9hHXJaDlch9thc87GwR2NeGwO4ZyynVXU P77SJ6omluq849DHtLxixZxpEmAk7qoLbefX0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696989158; x=1697593958; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=luUw5tqGQ3BU2f4zRF8kts9D/h2ull0YaqRJxHMMH9o=; b=F55M3RXR/muTM74VbOuuX5ZLVW+O0RLR9Bopz2kHZHJS7PM4UOALJej50p2SVXfA1P m12IQNBrvP9Z1M19GSR1FsvwS8WV9t2tqKLOffj+AO0PcqiI/oNX3xKjOa0mavE9v4i+ 9RJV49HRXObCWQTolMubJY2xWdyY7YPq1wcsp5A40EkpQwNHPCtVy1J83wi2+fQGTEwv fgkzuV+04sUUOgzpVLy/8eFdWc+f64vu6FZEU0CnfmPC8qr/ABZW78C11fFdO1UpauYp nwbyx0nV1nODow6CS/lzv76NZiBzn+t1xqT8tFVmIYVZdu+GlO30lA7qPreHHNLJ+gNP Fr1Q== X-Gm-Message-State: AOJu0YxGp6/8StJ0pv9ETQGiTIW+QAu2ywt5y6jBHlraVllsX2h/wvIh nyWnU9ajLs/q0HvfCBKuQRJUJ72aY9Wm7/H5dnw= X-Received: by 2002:a17:907:2723:b0:9a5:d657:47ee with SMTP id d3-20020a170907272300b009a5d65747eemr16776999ejl.58.1696989158194; Tue, 10 Oct 2023 18:52:38 -0700 (PDT) MIME-Version: 1.0 References: <20231005035525.19036-1-chanh@os.amperecomputing.com> <20231005035525.19036-8-chanh@os.amperecomputing.com> In-Reply-To: <20231005035525.19036-8-chanh@os.amperecomputing.com> From: Joel Stanley Date: Wed, 11 Oct 2023 12:22:26 +1030 Message-ID: Subject: Re: [PATCH 7/7] ARM: dts: aspeed: mtmitchell: Add I2C NVMe alias port To: Chanh Nguyen Cc: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Tue, 10 Oct 2023 18:52:55 -0700 (PDT) X-Spam-Level: ** On Thu, 5 Oct 2023 at 14:26, Chanh Nguyen wrote: > > Adds the I2C alias ports to each NVMe drive via the > backplane card. > > Besides that, it also adds the eeprom and temperature sensor > on the backplane card. > > Signed-off-by: Chanh Nguyen Reviewed-by: Joel Stanley > --- > .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 267 ++++++++++++++++++ > 1 file changed, 267 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts > index eb8d5e367276..1f70e3e4e83b 100644 > --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts > +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts > @@ -14,6 +14,42 @@ > aliases { > serial7 = &uart8; > serial8 = &uart9; > + > + /* > + * I2C NVMe alias port > + */ > + i2c100 = &backplane_0; > + i2c48 = &nvmeslot_0; > + i2c49 = &nvmeslot_1; > + i2c50 = &nvmeslot_2; > + i2c51 = &nvmeslot_3; > + i2c52 = &nvmeslot_4; > + i2c53 = &nvmeslot_5; > + i2c54 = &nvmeslot_6; > + i2c55 = &nvmeslot_7; > + > + i2c101 = &backplane_1; > + i2c56 = &nvmeslot_8; > + i2c57 = &nvmeslot_9; > + i2c58 = &nvmeslot_10; > + i2c59 = &nvmeslot_11; > + i2c60 = &nvmeslot_12; > + i2c61 = &nvmeslot_13; > + i2c62 = &nvmeslot_14; > + i2c63 = &nvmeslot_15; > + > + i2c102 = &backplane_2; > + i2c64 = &nvmeslot_16; > + i2c65 = &nvmeslot_17; > + i2c66 = &nvmeslot_18; > + i2c67 = &nvmeslot_19; > + i2c68 = &nvmeslot_20; > + i2c69 = &nvmeslot_21; > + i2c70 = &nvmeslot_22; > + i2c71 = &nvmeslot_23; > + > + i2c80 = &nvme_m2_0; > + i2c81 = &nvme_m2_1; > }; > > chosen { > @@ -534,6 +570,237 @@ > > &i2c9 { > status = "okay"; > + i2c-mux@70 { > + compatible = "nxp,pca9548"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x70>; > + i2c-mux-idle-disconnect; > + > + backplane_1: i2c@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0>; > + > + eeprom@50 { > + compatible = "atmel,24c64"; > + reg = <0x50>; > + pagesize = <32>; > + }; > + > + i2c-mux@71 { > + compatible = "nxp,pca9548"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x71>; > + i2c-mux-idle-disconnect; > + > + nvmeslot_8: i2c@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0>; > + }; > + nvmeslot_9: i2c@1 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x1>; > + }; > + nvmeslot_10: i2c@2 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x2>; > + }; > + nvmeslot_11: i2c@3 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x3>; > + }; > + nvmeslot_12: i2c@4 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x4>; > + }; > + nvmeslot_13: i2c@5 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x5>; > + }; > + nvmeslot_14: i2c@6 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x6>; > + }; > + nvmeslot_15: i2c@7 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x7>; > + }; > + }; > + > + tmp432@4c { > + compatible = "ti,tmp75"; > + reg = <0x4c>; > + }; > + }; > + > + backplane_2: i2c@2 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x2>; > + > + eeprom@50 { > + compatible = "atmel,24c64"; > + reg = <0x50>; > + pagesize = <32>; > + }; > + > + i2c-mux@71 { > + compatible = "nxp,pca9548"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x71>; > + i2c-mux-idle-disconnect; > + > + nvmeslot_16: i2c@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0>; > + }; > + nvmeslot_17: i2c@1 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x1>; > + }; > + nvmeslot_18: i2c@2 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x2>; > + }; > + nvmeslot_19: i2c@3 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x3>; > + }; > + nvmeslot_20: i2c@4 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x4>; > + }; > + nvmeslot_21: i2c@5 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x5>; > + }; > + nvmeslot_22: i2c@6 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x6>; > + }; > + nvmeslot_23: i2c@7 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x7>; > + }; > + }; > + > + tmp432@4c { > + compatible = "ti,tmp75"; > + reg = <0x4c>; > + }; > + }; > + > + backplane_0: i2c@4 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x4>; > + > + eeprom@50 { > + compatible = "atmel,24c64"; > + reg = <0x50>; > + pagesize = <32>; > + }; > + > + i2c-mux@71 { > + compatible = "nxp,pca9548"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x71>; > + i2c-mux-idle-disconnect; > + > + nvmeslot_0: i2c@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0>; > + }; > + nvmeslot_1: i2c@1 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x1>; > + }; > + nvmeslot_2: i2c@2 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x2>; > + }; > + nvmeslot_3: i2c@3 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x3>; > + }; > + nvmeslot_4: i2c@4 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x4>; > + }; > + nvmeslot_5: i2c@5 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x5>; > + }; > + nvmeslot_6: i2c@6 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x6>; > + }; > + nvmeslot_7: i2c@7 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x7>; > + }; > + }; > + > + tmp432@4c { > + compatible = "ti,tmp75"; > + reg = <0x4c>; > + }; > + }; > + > + i2c@7 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x7>; > + > + i2c-mux@71 { > + compatible = "nxp,pca9546"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x71>; > + i2c-mux-idle-disconnect; > + > + nvme_m2_0: i2c@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0>; > + }; > + > + nvme_m2_1: i2c@1 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x1>; > + }; > + }; > + }; > + }; > }; > > &i2c11 { > -- > 2.17.1 >