Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2024031rwa; Mon, 22 Aug 2022 00:09:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR5MJ8SUbkjyCrczlGpY7alwmt1W0sFell554hztuZ6Gp2hqhDovUNOP7RU5Y8RUSRPFrrLd X-Received: by 2002:a17:906:9bf7:b0:73d:6478:5ba9 with SMTP id de55-20020a1709069bf700b0073d64785ba9mr5829844ejc.576.1661152141172; Mon, 22 Aug 2022 00:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661152141; cv=none; d=google.com; s=arc-20160816; b=iS9X69ukFOdcD0+3gEQKv4Jxl5qKAa8UsWLzEE36vMtBc2PxXvIi66ErHRUDD4f12O ZuJcVkjCi8ob3NY5z5CRhwt8WIundz9wF7MDAVT7mtk76F0hMfYBpXy7ifi5/Oh0N3Vq eQUurs6z8vPSbEx3O+dObuBuUKWvFN/LTEhar0DfUxQq9MGHpxyuDUdSCr6I4U+3M7QT Jp60KpSvS//nUE6CBUwqU4sPynod/zApfkgYBL4S4OaUwxjr3P9i61Mg1Ri6khrNToNr UaLni3rhVTvgwVfwr3jTnSz7IwYyQ2c70MVZkokcRMWzg4vvQq+zZ5W2jkJv1neky5F2 HC7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:to:from:date:dkim-signature; bh=9hTAXsgJD7aCEY0rX6FQ88fQXTYtB+TZMr3M3hDpDQs=; b=Z2gjWZV0RMJaW03F7fkAeuZaObneeecXZq9KJI8sDVmFRM9YVhu3Dc3hquVRpBW9mk JdwTRb6EiP7z3cehI9CJ+d45hXCZYZ4M3VbjaG53gIXprusI/fSYWCUQ4AOoOeAY4Pyh orBCNVRPnDGWXRBXgnuMnNHur9vA14q44eNFRB/zkIfdys1yv/Zo6AIm4uP+yWA4o2ME M5KrORDFf3y8E9LvgSxKRanX+c6IPLN/CZ8j63JGtXTjKA00G7j+LVCkc60qQ7xukLkb Ele6Ag3LwGcSYdacBnJln4OgDKOkIfOLHpqEKoFla7b7tFWMPiSt9sSh2CN4oJvHjDAp j4/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Bh9C60Ti; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a056402084b00b004417f8545d5si10570723edz.112.2022.08.22.00.08.35; Mon, 22 Aug 2022 00:09:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Bh9C60Ti; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232864AbiHVHCU (ORCPT + 99 others); Mon, 22 Aug 2022 03:02:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232090AbiHVHCL (ORCPT ); Mon, 22 Aug 2022 03:02:11 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FADD28E18; Mon, 22 Aug 2022 00:02:10 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id y127so6498056pfy.5; Mon, 22 Aug 2022 00:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:content-disposition:mime-version:message-id:subject:to :from:date:from:to:cc; bh=9hTAXsgJD7aCEY0rX6FQ88fQXTYtB+TZMr3M3hDpDQs=; b=Bh9C60Tipnjy4vQntS579AMJ7qus7uhE7WRdika4d6MXyFhZsyhzIMsO4lkmHxDzQN 0EkhLYKwgtviqmo57z6FZv2v2Gip37RKn5hu+S3cDn1D+ZLDBjBs0hHjab9cKCE7WbNI txbd5VNcZdAIbJU9ZaOOwlPJ89Gt2H0Yuy4jYm8F8IDvWn9PHEvI7+/zcAFXRPhCZqGL B4C7WWtJwVPVnkHVMTnWcDGsk9SVTODBniCD0XknithZjZfCf9RCIJ2CdAioGR2EEQsB 1cUgkFFSZLRLDiTayq1eoQlDZpGfzSbSlR31bfo6w4KOk+rzypufZFF4f01IX12PB94v fSvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:content-disposition:mime-version:message-id:subject:to :from:date:x-gm-message-state:from:to:cc; bh=9hTAXsgJD7aCEY0rX6FQ88fQXTYtB+TZMr3M3hDpDQs=; b=xVNDhmszyXnPIEJV1SZxNqdbJUV3Vss2KnQ2KMuROgAUrbeko3BcOnk6rmjBpsR5Gh 1KBO3Al6tGACUSLRNxq10aBi/SXbg5tpPZsbQWoYGh5aiDSSRWnXHAtX4+aiIpjkzb4m SRF27Zk0fpH9fPnVPBAAbeEvTNqUVDNuNE83+rSoS6AnWxrq1wPjO2Wk+FyHVHhrGAH8 6u8QdVoSUsm3ISQWt8Zq3NKj213v80O6feN7CZ+QZl9tU+mtymIZZBNsAChQha+Et/kl QNeYIUDaX8bE7yo6piTvvGn1qNl8cHPnRNJtef121C7E8rxg0ZGVcJbxyplFMEsdLfZ7 uYvQ== X-Gm-Message-State: ACgBeo1rB0OhhdIHtYCODdVf1eWRp9UZ9y2hap5x2wjat2Otdssp7Aml taLEXzpfNIfrXEtZPA3Y7f8= X-Received: by 2002:a63:5f49:0:b0:41d:85a1:c4da with SMTP id t70-20020a635f49000000b0041d85a1c4damr15897132pgb.366.1661151729430; Mon, 22 Aug 2022 00:02:09 -0700 (PDT) Received: from hcl-ThinkPad-T495 ([2401:4900:1ce3:34a6:18fb:c516:b109:2b8d]) by smtp.gmail.com with ESMTPSA id x128-20020a626386000000b00535ffd27552sm6098788pfb.51.2022.08.22.00.02.06 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Aug 2022 00:02:09 -0700 (PDT) Date: Mon, 22 Aug 2022 12:32:04 +0530 From: Karthikeyan Pasupathi To: Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: [PATCH v1] ARM: dts: aspeed: Update for Facebook Yosemite V2 BMC Message-ID: <20220822070204.GA6110@hcl-ThinkPad-T495> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,WEIRD_QUOTING 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 This patch includes the following updates for Yosemite V2 BMC. 1) Updated GPIO configuration for power control. 2) Added IPMB-13 channel for Debug Card communication. 3) Removed EEPROM driver IPMB-12 channel and keeping it as "status ok". Signed-off-by: Karthikeyan Pasupathi --- .../dts/aspeed-bmc-facebook-yosemitev2.dts | 49 +++++++++++++++++-- 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts index 8864e9c312a8..4d2ff7eb6740 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts @@ -119,6 +119,40 @@ &pinctrl_adc15_default>; }; +&gpio { + status = "okay"; + gpio-line-names = + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "","","","","","","","", + /*C0-C7*/ "","","","","","","","", + /*D0-D7*/ "POWER_BUTTON","POWER_OUT1","","POWER_OUT2","","POWER_OUT3","","POWER_OUT4", + /*E0-E7*/ "DEBUG_UART_SEL0","DEBUG_UART_SEL1","DEBUG_UART_SEL2","DEBUG_UART_RX_SEL_N","","","","", + /*F0-F7*/ "","","","","","","","", + /*G0-G7*/ "LED_POST_CODE_0","LED_POST_CODE_1","LED_POST_CODE_2","LED_POST_CODE_3","","","","", + /*H0-H7*/ "","","","","","","","", + /*I0-I7*/ "SLOT1_POWER_OK","SLOT2_POWER_OK","SLOT3_POWER_OK","SLOT4_POWER_OK","","","","", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","","", + /*M0-M7*/ "","","","","","","","", + /*N0-N7*/ "","","I2C_SLOT1","I2C_SLOT2","I2C_SLOT3","I2C_SLOT4","","", + /*O0-O7*/ "","","","SELECTOR_BUTTON","SLOT1_POWER","SLOT2_POWER","SLOT3_POWER","SLOT4_POWER", + /*P0-P7*/ "","","","","LED_POST_CODE_4","LED_POST_CODE_5","LED_POST_CODE_6","LED_POST_CODE_7", + /*Q0-Q7*/ "","","","","","","","", + /*R0-R7*/ "","","","GPIO_DBG_CARD_PRSNT","","","","", + /*S0-S7*/ "RESET_OUT1","RESET_OUT2","RESET_OUT3","RESET_OUT4","","","","", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","","","","","","", + /*V0-V7*/ "","","","","","","","", + /*W0-W7*/ "","","","","","","","", + /*X0-X7*/ "","","","","","","","", + /*Y0-Y7*/ "","","","","","","","", + /*Z0-Z7*/ "POST_COMPLETE","POST_COMPLETE2","POST_COMPLETE3","POST_COMPLETE4","","","","", + /*AA0-AA7*/ "","","","","HAND_SW1","HAND_SW2","HAND_SW3","HAND_SW4", + /*AB0-AB7*/ "RESET_BUTTON","","","","","","","", + /*AC0-AC7*/ "","","","","","","",""; +}; + &i2c1 { //Host1 IPMB bus status = "okay"; @@ -207,11 +241,16 @@ &i2c12 { status = "okay"; - //MEZZ_FRU - eeprom@51 { - compatible = "atmel,24c64"; - reg = <0x51>; - pagesize = <32>; +}; + +&i2c13 { + status = "okay"; + // Debug Card + multi-master; + ipmb13@10 { + compatible = "ipmb-dev"; + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + i2c-protocol; }; }; -- 2.17.1