From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2207FC636D4 for ; Fri, 17 Feb 2023 11:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=44/TsEV7IsOhXD5Bbo9gXbr99gstmQtoiGCmfO4PA00=; b=ZDV93dCAwBcwDU gNPoTI+NqW1opwD7VF8ufcqgu7Iriklu4vEnej4excJO+4nLTWqAjn2gKFn5Uu9Tkbu7h7+EW6cTA E7bpPMj18D9w907oZW+AbPG8Kwwwr/Zu1njmUTi8fd6NDJW9GhIHnaxmKadwCMFREUDrj76jjMNTy jDQvGqseF7z9RB3RHx3ypibUUF+vloDBHiqKs008VVjk1w7R8DElFgRzQxP8B4mB0rFuChX4/f0LN ZCd0jiyTqDpbZwvRSGCZi/xkUNQN8cr/WfMhLztHQpkqqIckSf+euZhEBKTlyCYnYeGVSY6Op+zqs sVdnbnYv5pP3oUSgfyyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSyyu-00Dy3J-ME; Fri, 17 Feb 2023 11:32:49 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSyyo-00Dy1U-Jn for linux-arm-kernel@lists.infradead.org; Fri, 17 Feb 2023 11:32:44 +0000 Received: by mail-ed1-x535.google.com with SMTP id ez12so3106662edb.1 for ; Fri, 17 Feb 2023 03:32:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=NtPn4/xI7yqwIazolPw3ofvX5Wxk5SKUsFzeYA/r32E=; b=RZeDDAOH1v2odGYn1MOT4kO87CCkqtIyEfxoyFbqhVsY0tTLifsGibEavhmGVW//oP I/1Y5ctYALK7mJWpspSupQm3cng2RtspN7JCZcgNAS0gbdsg0wSQyPc0nwOMVAdXio8q c5FB4gpz+MCJ5K8wY7f9/u2wtNttXSwTmcg6DdCkJ/8z1J5HGLSLYdx/XjhpITQ83Di2 9tCMAvpNiifSk6yQ+eS1qdGoi4g1HCk5OO9G0nXW0AbvpCvZMQUp/nqayoS72VcUtte8 HR3GQ8CROa0rMYzZYkTVClREfAWgp92+34jI/nxPKGLV/dFqKjTGiXvn92FPGuyC1I64 IerQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NtPn4/xI7yqwIazolPw3ofvX5Wxk5SKUsFzeYA/r32E=; b=S/ezS3XDZSF/hhQtlwnpW7birFunRhNePPa9yDhiMyHcl/DyMVI9ebQtHjSCTttYq8 1+Etm6HTlONdNbFf0Dpt0Y1OQRN5igSaTzW6ebu2laRwROAxwQcFXgS/Dc+cOG9z5irc nIyvTga3fVGTo/Ip2gi+8urOBKd7iBVeWdKtjcH4pBVE9J9pIdt2P6rl80WsSSC9Tky4 bqh8ITbapFHc4jWQGFuGyuvhIRfdWjYjwKm4EMWtZfwbnghZ5c7og7STWuoutqHnQcMg FTcUAa74zb4wHkpxRh53WH2IPTZEO/R7OiIIkBZkmLJnmCYnTIVhIK/kJhAI6qDVPl5N 0XWA== X-Gm-Message-State: AO0yUKU+wuip6ABa1UozrRrpRYarQSp+MS5yYOElJJ9On8sOI5R8VEjZ vzh+AeM/SUL+ISe2Murzl7hvjg== X-Google-Smtp-Source: AK7set/dqNc4nmO8m/2hHFKBF6unWkZ80c7V4zsZlNnh2hhZVhuDW3B41WGCN/0b02DqNXV82H0zfQ== X-Received: by 2002:a17:906:3418:b0:884:ab29:bd0b with SMTP id c24-20020a170906341800b00884ab29bd0bmr8819322ejb.69.1676633559377; Fri, 17 Feb 2023 03:32:39 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id u28-20020a50a41c000000b004a0e2fe619esm2162487edb.39.2023.02.17.03.32.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Feb 2023 03:32:38 -0800 (PST) Message-ID: Date: Fri, 17 Feb 2023 12:32:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH] ARM: dts: aspeed: mtmitchell: Enable NCSI Content-Language: en-US To: Chanh Nguyen , OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20230217102122.16547-1-chanh@os.amperecomputing.com> From: Krzysztof Kozlowski In-Reply-To: <20230217102122.16547-1-chanh@os.amperecomputing.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230217_033242_679295_B3CC7AC7 X-CRM114-Status: GOOD ( 17.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 17/02/2023 11:21, Chanh Nguyen wrote: > Support the mac3 (RGMII4) as an NC-SI stack instead of an MDIO PHY. > > The OCP slot #0 and OCP slot #1 use a common the BMC_NCSI signal, > so we use only one of them at the same time. The OCP slot #0 will > be enabled by PCA9539's setting by default. > > Also, enable the OCP Auxiliary Power during booting. > > Signed-off-by: Chanh Nguyen > --- > .../boot/dts/aspeed-bmc-ampere-mtmitchell.dts | 37 ++++++++++++++++++- > 1 file changed, 36 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts > index 4b91600eaf62..e8a6b1f08d6a 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts > @@ -251,6 +251,14 @@ > pinctrl-0 = <&pinctrl_rgmii1_default>; > }; > > +&mac3 { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_rmii4_default>; > + clock-names = "MACCLK", "RCLK"; > + use-ncsi; > +}; > + > &fmc { > status = "okay"; > flash@0 { > @@ -439,6 +447,26 @@ > status = "okay"; > }; > > +&i2c8 { > + status = "okay"; > + > + pca9539@77 { Node names should be generic, so I believe this is "gpio". https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel