From patchwork Mon May 9 15:11:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 12843768 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 E376EC433F5 for ; Mon, 9 May 2022 15:15:35 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=s/ajogbCY88cSqw0issB1OwPXVJe7T6F5Wzp/rnJ5mU=; b=3MjRggp2kKq8Bc m7ttSHgtUchyqLpRWBP+R1osPEXS+sg+KX0dty+3S8t6htNKszC9oDdrkkHa7i6vugEjMY5maMJKT E5F6/5sTbVnvIi2VManktIVbIhDtU1tyBFSobidv3HomO8k//JaKFxNMXlanRGuhY05uEmAXfJQIT VcLZ88/68BiTMcZw8YkgSb5gYnYaTqZpwjbHkFo5NUCSmNC4osBnYEi7Xl9KdTWpxjozzTMfZYuIG qge9/OB8EN/IbcSNmKoNWJFFzyvkJaIDs8RvMJYPPZeyDrIBWVCANEf2MGD7+fjqOBmaWrl40h4dD jhBua5RRQq+bzcnxsjGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no55m-00F24h-2O; Mon, 09 May 2022 15:14:34 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1no55a-00F1zi-6z for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 15:14:23 +0000 Received: by mail-pg1-x534.google.com with SMTP id v10so12290939pgl.11 for ; Mon, 09 May 2022 08:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Qg+PjIH80BWgPjryO+lEfxqIjbHNYFW9R/NziKjRsqg=; b=nFXJ7/e777voUuCQ7olvjfLpPspuAnXo0pnZq71CqcDX1y8rQ75IXVDXvU0Xpg+s2N JdNHFGQqvLLCSw/qzH8VR9bhjWdFkehVN8jzErv6Iz5UNtOT7QwGKYDfqdMr8HalGoSH bU7KMhyFOn4aeIwf+OpyRt2qHtJVYkpxV7jmBqW/GvWsVA8KAYqEgDKmCyCLTSltIHqV OJTf7vuc6bHQ1rIxaNZ8uHPUPsn9crBIjQzLgAdVpuUU+IXrOeZTHO6QdsVep3kPk/HM xqbwSWXeC4ksVThoEZfmKR06Zy2WRIvx4BqxFDWiEBE+fHRrY3+WuNpoMwbXmkGy3Bvl id7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Qg+PjIH80BWgPjryO+lEfxqIjbHNYFW9R/NziKjRsqg=; b=XU+Ajqb25yHKR8wyWYxDteKHsxphsk3EmGASi/kKrj+ANaGCSUSKwx8XuzDhwCXkjO SfAs7pyGfpbGht/pEZ3YzKAetAt5G2ssXVAcENAX76kpo/1dmjL10JvJY95UiP6P1uMU B2YXFwpKv3lUXjMJ8e5htA7a51/amoFo0MowSiCj/mRXppf55CLWkiP3zp1z5AqPF1Eh IGzQRQjOl18P8ruemEh2cavcXZ0/X/AqjnaIllgBVHgXz+pl10kkdxHq8K1Foo8NmmFG mqWwUQpGELTB0nllwAIFDunrxD40hwr8SV0qTkCV0uBuoBDEElfBo2fRQOSuna8+zUWl XlpA== X-Gm-Message-State: AOAM5324vjPUEdvUknPSd3aOpEUWIqfygpFo1vddxPxF94ndUZDqPxDb 9eKJSXvD632jmErziLXr9xM= X-Google-Smtp-Source: ABdhPJzqnTOXeTQ4O1sXqY7E5WC4qdsqLpqMgymb+DcBsNbTzji3GC2bw0lIanvntFtT1EdmpOHW5Q== X-Received: by 2002:a63:874a:0:b0:3c6:aa29:15f6 with SMTP id i71-20020a63874a000000b003c6aa2915f6mr5982815pge.210.1652109259085; Mon, 09 May 2022 08:14:19 -0700 (PDT) Received: from potin-quanta.dhcpserver.local (125-228-123-29.hinet-ip.hinet.net. [125.228.123.29]) by smtp.gmail.com with ESMTPSA id k7-20020a056a00134700b0050dc76281b6sm9221596pfu.144.2022.05.09.08.14.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:14:18 -0700 (PDT) From: Potin Lai To: Rob Herring , Joel Stanley , Andrew Jeffery Cc: Patrick Williams , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Potin Lai Subject: [PATCH 1/6] ARM: dts: aspeed: bletchley: enable ehci0 device node Date: Mon, 9 May 2022 23:11:13 +0800 Message-Id: <20220509151118.4899-2-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220509151118.4899-1-potin.lai.pt@gmail.com> References: <20220509151118.4899-1-potin.lai.pt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_081422_286465_D7CC6F0D X-CRM114-Status: GOOD ( 10.88 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable ehci0 node for USB2 host feature Signed-off-by: Potin Lai --- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index be76cd955129..b7439df65423 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -840,3 +840,7 @@ status = "okay"; /* TODO: Add Marvell 88X3310 */ }; + +&ehci0 { + status = "okay"; +}; From patchwork Mon May 9 15:11:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 12843769 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 C25D1C433EF for ; Mon, 9 May 2022 15:15:51 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kGCJ0cYBLLZ9/NFIOqmVUwQ17LwBrcBMJpjIuCsUTW0=; b=o5ILx4/BdgNbBr tPRuxiZV6t1X7+jLe9ao4f+0vC4KXvboqEbpOZPngXuw55uAn4WI2mFSBuTnAEP8nK9S52IcrLidH 3rGbPdSgHLOKC7i1uYVXD9t/6Pkb0yyxa9GsaSOBki2fpesbozlVlKNdrYteYWeO8OFpUL/RqIUCH sfZO8PzPCWquhcO90Pq0uiYc2AsI7iaXywU1oUBE6W4HTB+9qnyOawV0rDl1c9OKpBV9y0fs1wHO8 5TUmzooUtySlwki8Xyqwx0FFTpgV8Hp8XHFqmjpYiiXj+3raCez9Rkjz4iel7fq5dPobO221tLmA1 F9OVGerWRNVMHqnSMcqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no55v-00F28Z-Lx; Mon, 09 May 2022 15:14:43 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1no55c-00F201-0a for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 15:14:25 +0000 Received: by mail-pj1-x1035.google.com with SMTP id cu23-20020a17090afa9700b001d98d8e53b7so171641pjb.0 for ; Mon, 09 May 2022 08:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VxaY2CaQXKasRpf6kPykVpFMOeU3YbfMP1tGgUzsF6E=; b=dc80k80GoGz8fuwhEp3O1QAx9Zq2f/CuNW34zaKkZrLIPXL4X4QND5i2Qo9NCLMfM2 40tziY1NupspO9nEz4wUkK3++sblZJvCU1uIT4VCnCr2QAa+3D/j3LRo1HfxvrqZz5Ev xgBXCP9VphhB0p0PbLsuV/B3GiBp8tEp0EYwsafJhpibJqEiqdbtR1/T3lqVyKKCQuWc +aWlWtZH+51B7M+PYuUDexZgsuuocMsMxRxwsHjNsNskWHfZHq3Uv034klQLK1vnfuL+ YgGOrCSDAfGYNL/9gjWsbE9S2kXFFdnPHYdeq0gwHJ9yQp3Owj5ka8bnetcnHuJQiLYq u3pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VxaY2CaQXKasRpf6kPykVpFMOeU3YbfMP1tGgUzsF6E=; b=L05O9OZHYPhrVi703N5xb73PQ0i3xVbqT0K+OjgFJOjT25kY5DedAO1WmwDfK9AxDN dyElOorRXTl/jSycgJaIyAsGexr/yODM1mAsAobUq8XhaWDvjfYANDiA4ikPUJ2iimQc +8Qk4SzAc0rdPsTTW9vHOoiBgu2Ka+kbZKwGQeWgiPBatx+Ev5F6vJer22Y+jG6DxAVz 9cCgUEvnJv2gzifJ5Ivi92pQ/QtkUWcZDiVkCc6b2rHVV1Gg3CYOPHoFUHd/dTY6Uhfx XtY31O1MmZKdyIdl1ofVyvVWXgvx1aiaV4O1rW/cLVPFTglz/7WA1wdKh2+132SoEFKu lR4g== X-Gm-Message-State: AOAM531bOEUE8YnXN0AlTvp9F/AolM/V5LnYFpEmu5DNrVp9Jz2ckHsv FrvNWtpCZUm+qnwUTNNd3HA= X-Google-Smtp-Source: ABdhPJx3o2uKlMst0NqqHq284RCuXaHgmGCaNzGIi5fze4asH3VUuWmUNgs5ZmRTwQHfG/LiSJ2UuA== X-Received: by 2002:a17:902:d717:b0:15e:b6ed:4824 with SMTP id w23-20020a170902d71700b0015eb6ed4824mr16531436ply.110.1652109260904; Mon, 09 May 2022 08:14:20 -0700 (PDT) Received: from potin-quanta.dhcpserver.local (125-228-123-29.hinet-ip.hinet.net. [125.228.123.29]) by smtp.gmail.com with ESMTPSA id k7-20020a056a00134700b0050dc76281b6sm9221596pfu.144.2022.05.09.08.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:14:20 -0700 (PDT) From: Potin Lai To: Rob Herring , Joel Stanley , Andrew Jeffery Cc: Patrick Williams , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Potin Lai Subject: [PATCH 2/6] ARM: dts: aspeed: bletchley: switch spi2 driver to aspeed-smc Date: Mon, 9 May 2022 23:11:14 +0800 Message-Id: <20220509151118.4899-3-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220509151118.4899-1-potin.lai.pt@gmail.com> References: <20220509151118.4899-1-potin.lai.pt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_081424_091742_DE01BF92 X-CRM114-Status: GOOD ( 11.39 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Due to DVT schematic has stable spi signal, switch back to aspeed-smc driver for improving performance. Signed-off-by: Potin Lai --- .../dts/aspeed-bmc-facebook-bletchley.dts | 33 ++++++++----------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index b7439df65423..eefb624d4850 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -51,26 +51,6 @@ }; }; - spi2_gpio: spi2-gpio { - compatible = "spi-gpio"; - #address-cells = <1>; - #size-cells = <0>; - - gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>; - gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>; - gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>; - num-chipselects = <1>; - cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>; - - flash@0 { - reg = <0>; - compatible = "jedec,spi-nor"; - m25p,fast-read; - label = "pnor"; - spi-max-frequency = <100000000>; - }; - }; - switchphy: ethernet-phy@0 { // Fixed link }; @@ -242,6 +222,19 @@ }; }; +&spi2 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spi2_default>; + + flash@0 { + status = "okay"; + m25p,fast-read; + label = "pnor"; + spi-max-frequency = <50000000>; + }; +}; + &i2c0 { status = "okay"; ina230@45 { From patchwork Mon May 9 15:11:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 12843770 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 B166BC433EF for ; Mon, 9 May 2022 15:15:57 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EzCVdcB+paJbBVnNxkREH12fRzrcnHb3upTdtbvoh0E=; b=UzcggTQnMcpTGM gDhguCdhjMGlq7SZHU20hWMjb0K9NLIM4pPMOBnUafxzjR+o4QTOQQawshzOSe7EbDwAUAHgJggfd 8efh71/tebkNzyMqF+m8+dWOX3414YApBU2HCrqLgnS/DIs0+AVRWi44mQaLeu7R/qs5NRmtaJ8JQ 4GjGlUy3uaWM6cZcl3R+hEMmtnT4wrVtQjcfnEXqMpQeu+1mQo8St5rLGCKWdgxysAClqVEQwmjfr hwl+ozTbAR+BF+KURQehEQB4Ottr0vY7BX4kUF0ebxwoYNiPQFMsaAuRyfkXg4y1ytC9DExnkJmV4 hzPufM5aTclP+Ii/tevA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no565-00F2BI-2n; Mon, 09 May 2022 15:14:53 +0000 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1no55c-00F20c-SR for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 15:14:26 +0000 Received: by mail-pg1-x52e.google.com with SMTP id l11so6733199pgt.13 for ; Mon, 09 May 2022 08:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VIzcE9Jh/Wl++Vizntiyvc6bbcJWikZRRO7DMyzUoQA=; b=BpiOONQUR9CoeZaahhTnJq+980AeyAM13OfSIRjm8FhuvBy+cDakZVpizCZhEPn5aI B8wKN6VR/xkPwxTxLUSDTboj0tim6oOAnsCylezD1Ah4MKyVvP5/zGPR5ekk3jpEzWX9 Ue8GJpDWLCnRQjua9gzxj9Rzg5/I0lhPdRoBNbctEOJEOy9m+sINocKRujVdGL62a39h bb3yN+tYqNQDUs/ksekYf52BRJt1sRqxpzfs0KE/uf5wT254h3P2AQ7uKptFtC+2GV31 usdpuhvw5KZB/S78t2uH9lwoHK97b5qkt57PzSfrB/V9zEl9HfaAmryJm1ZvBEwnrJ8n J+yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VIzcE9Jh/Wl++Vizntiyvc6bbcJWikZRRO7DMyzUoQA=; b=gG+cBSherCIXGYW8dbCbtQ1DA2jsXQhravbuQtCj+77z+f3m6FFtyMwgIFe3aJPYP6 MD5+YM9cjvR+ZnXPEv3p/YwUNv8dHS5xJ5way5l5K/qL6Yxh9VP0cwqSb7qFIwDgm/36 rAx1Zm0iEybYUs5CgyquHmtAmXXkNFsT4S6utmxLdf+lCOqPPnSLQq84he2MH3glWcLK CPkwmJfR6iW46LwvuksEU25eLU1+xziVMHkocYvwhT9gQZipypyDoRP3e+Ona+K6/jOy 4EnWA1oxwEQcnQQ2LW+fRyxEODmBW/C6PryvgK7scU0MfXZKo6cf5WJ2WiYFiW6Kj30r nKCQ== X-Gm-Message-State: AOAM530+LUHKG25cQm3Ak8ZNkfyshxRJT3CVQzktaca2GmgKO2AcntOU /S5eKwbOP2fAFqgj4EHpbig= X-Google-Smtp-Source: ABdhPJzdZR3Vz5g68NJkrzAKAsQqiAvl1SNwW/B5PARQ6L1vhtOCNjYukyYbhABxznSJtfmu268NKQ== X-Received: by 2002:a65:63ce:0:b0:3c6:a186:7878 with SMTP id n14-20020a6563ce000000b003c6a1867878mr6657662pgv.374.1652109262786; Mon, 09 May 2022 08:14:22 -0700 (PDT) Received: from potin-quanta.dhcpserver.local (125-228-123-29.hinet-ip.hinet.net. [125.228.123.29]) by smtp.gmail.com with ESMTPSA id k7-20020a056a00134700b0050dc76281b6sm9221596pfu.144.2022.05.09.08.14.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:14:22 -0700 (PDT) From: Potin Lai To: Rob Herring , Joel Stanley , Andrew Jeffery Cc: Patrick Williams , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Potin Lai Subject: [PATCH 3/6] ARM: dts: aspeed: bletchley: Enable mdio0 bus Date: Mon, 9 May 2022 23:11:15 +0800 Message-Id: <20220509151118.4899-4-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220509151118.4899-1-potin.lai.pt@gmail.com> References: <20220509151118.4899-1-potin.lai.pt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_081424_959356_6E221776 X-CRM114-Status: GOOD ( 10.86 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable mdio0 bus based on DVT schematic. TODO: Add Marvell 88E6191 Switch Signed-off-by: Potin Lai --- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index eefb624d4850..0994ea3f41ae 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -829,6 +829,11 @@ &pinctrl_adc14_default &pinctrl_adc15_default>; }; +&mdio0 { + status = "okay"; + /* TODO: Add Marvell 88E6191X */ +}; + &mdio3 { status = "okay"; /* TODO: Add Marvell 88X3310 */ From patchwork Mon May 9 15:11:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 12843771 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 BA7B8C433EF for ; Mon, 9 May 2022 15:16:11 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fzID4KcF/Z6PR7is7raP+N+qyUD3A5t5KDIqlrPES74=; b=j7EqlX7LMRVWB6 smu9bWXsa0ezNrvSoCEydJi3LwEEJ4IEM0GnS3sRXHWTufgaewkYVkDia9t/JbrIouRZTLVlJf1IU n88VqRY48uw6axu+3OmdJfFklmKvGzvyYC25wVOF5KghKPAv31qm7DM6drdvcJc4hUF2TeXxzyyDm XPe4g8XSVb1sb8Ts8Dgtv4aRd6MSZa8wipBendbxBoBw0n5g/ETEMDKeSBumPi9/nFFUK1ReSpaPy 1amrTrbqoEqxfogdhpeIz9I72fsqmgthQNZanjSmZgtBd2kDDOCgjimOZjIfmRPajv7BDFBTMoQ0T 7xdJ/8908iqDLTiBE3Ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no56E-00F2ED-Rh; Mon, 09 May 2022 15:15:02 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1no55h-00F21c-O7 for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 15:14:31 +0000 Received: by mail-pf1-x42d.google.com with SMTP id a11so12506604pff.1 for ; Mon, 09 May 2022 08:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZWn5E2EE8nj4uEWuuAfTQEal8qD1zVL11WzqRE45Q6Q=; b=faAQpKEzldkVkRL/XHRO8hiCHrXbqFQa+pdUFHO1feAhT0CRQUcdhryrb2m4ZFHxVL TWa40b1NL6mJ5aiDDJ1LylBy+YrupOHd7WFLp4ySA5GmJss0PXnmpt/ZjULZNkkwsJHs V2HrdS8O47TfPqtmDNt3LF4LoRPyhscZ3W32pXzqZYbjoGhUJSQ7VWXpW3lVEi6jKE+v NGvAxDUSmjPF2Fc64FZPHDc4jqbv2nyyMdy59WSdDpuj+YG8e1LRPtDgWD8AWPhtLFjm fDEYzGg+pj/KnO8l3/kAyeSp8hIBzjvwmn29ZHUGFn1is9jH2sBffNhNxSM6R4n0mHg6 Mbiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZWn5E2EE8nj4uEWuuAfTQEal8qD1zVL11WzqRE45Q6Q=; b=qp8PmBbisS/LzLJyIV7gs0KCo+nWtcwOw9Fkq4dwZa5xre8kxzWRD8YpN6pFNNuTH6 uHctneeziYjPcDoSmpuvVUqfiWtg3Xtgd8B4L1Utlo1Y+osILOryFWEsGzq7LL9W4sKQ T0UwukLOL8R3gd5LIYN8HsbXKuaf0dHXPsFDE2/Al2AHRVJtdBLHPYyU6u78WtHflPwb Zfj9k57fauIWezaQfe6Rn3yNLBKnjGGr3s3GYCHHH4QwvR7MveIYIvvC2tIBaJVvOKQp D3Ptq1g6gbsYV8bg8tKwxStV0rGAADrR7WRSHQK2APHgrJK1DlGO5XpVD/aXcf6IfQzj hbGg== X-Gm-Message-State: AOAM5307E+m7g2pXRAkudpcz25kgu3arLUJvBUUB8fsLXs2GXjAkT7HD c1ch7IBUMoBPDQQc63qQoZ8= X-Google-Smtp-Source: ABdhPJziy1/dsxuxQ5K1tlFRDwXkYdaJw0QVHlhrp3egp6duEob8OIrAAnQmQqNRYCx9dU4sxxCneA== X-Received: by 2002:a05:6a00:170a:b0:50d:3e40:9e0 with SMTP id h10-20020a056a00170a00b0050d3e4009e0mr16745937pfc.48.1652109264656; Mon, 09 May 2022 08:14:24 -0700 (PDT) Received: from potin-quanta.dhcpserver.local (125-228-123-29.hinet-ip.hinet.net. [125.228.123.29]) by smtp.gmail.com with ESMTPSA id k7-20020a056a00134700b0050dc76281b6sm9221596pfu.144.2022.05.09.08.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:14:24 -0700 (PDT) From: Potin Lai To: Rob Herring , Joel Stanley , Andrew Jeffery Cc: Patrick Williams , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Potin Lai Subject: [PATCH 4/6] ARM: dts: aspeed: bletchley: update gpio0 line names Date: Mon, 9 May 2022 23:11:16 +0800 Message-Id: <20220509151118.4899-5-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220509151118.4899-1-potin.lai.pt@gmail.com> References: <20220509151118.4899-1-potin.lai.pt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_081429_823276_5B4045A3 X-CRM114-Status: GOOD ( 10.08 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update GPIO line names based on DVT schematic Signed-off-by: Potin Lai --- .../dts/aspeed-bmc-facebook-bletchley.dts | 42 ++++++++++++------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index 0994ea3f41ae..49e4b9f63a28 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -766,43 +766,55 @@ &gpio0 { gpio-line-names = /*A0-A7*/ "","","","","","","","", - /*B0-B7*/ "","","SEL_SPI2_MUX","SPI2_MUX1", - "SPI2_MUX2","SPI2_MUX3","","", + /*B0-B7*/ "FUSB302_SLED1_INT_N","FUSB302_SLED2_INT_N", + "SEL_SPI2_MUX","SPI2_MUX1", + "SPI2_MUX2","SPI2_MUX3", + "","FUSB302_SLED3_INT_N", /*C0-C7*/ "","","","","","","","", /*D0-D7*/ "","","","","","","","", /*E0-E7*/ "","","","","","","","", - /*F0-F7*/ "","","","","","","","", - /*G0-G7*/ "BSM_FRU_WP","SWITCH_FRU_MUX","","", + /*F0-F7*/ "BMC_SLED1_STCK","BMC_SLED2_STCK", + "BMC_SLED3_STCK","BMC_SLED4_STCK", + "BMC_SLED5_STCK","BMC_SLED6_STCK", + "","", + /*G0-G7*/ "BSM_FRU_WP","SWITCH_FRU_MUX","","FM_SOL_UART_CH_SEL", "PWRGD_P1V05_VDDCORE","PWRGD_P1V5_VDD","","", /*H0-H7*/ "presence-riser1","presence-riser2", "presence-sled1","presence-sled2", "presence-sled3","presence-sled4", "presence-sled5","presence-sled6", - /*I0-I7*/ "REV_ID0","","REV_ID1","REV_ID2", - "","BSM_FLASH_WP_STATUS","BMC_TPM_PRES","", + /*I0-I7*/ "REV_ID0","", + "REV_ID1","REV_ID2", + "","BSM_FLASH_WP_STATUS", + "BMC_TPM_PRES_N","FUSB302_SLED6_INT_N", /*J0-J7*/ "","","","","","","","", /*K0-K7*/ "","","","","","","","", /*L0-L7*/ "","","","","","BMC_RTC_INT","","", - /*M0-M7*/ "ALERT_SLED1","ALERT_SLED2", - "ALERT_SLED3","ALERT_SLED4", - "ALERT_SLED5","ALERT_SLED6", - "P12V_AUX_ALERT1","", - /*N0-N7*/ "","","","","","","","", + /*M0-M7*/ "ALERT_SLED1_N","ALERT_SLED2_N", + "ALERT_SLED3_N","ALERT_SLED4_N", + "ALERT_SLED5_N","ALERT_SLED6_N", + "","", + /*N0-N7*/ "LED_POSTCODE_0","LED_POSTCODE_1", + "LED_POSTCODE_2","LED_POSTCODE_3", + "LED_POSTCODE_4","LED_POSTCODE_5", + "LED_POSTCODE_5","LED_POSTCODE_7", /*O0-O7*/ "","","","", "","BOARD_ID0","BOARD_ID1","BOARD_ID2", /*P0-P7*/ "","","","","","","","BMC_HEARTBEAT", /*Q0-Q7*/ "","","","","","","","", /*R0-R7*/ "","","","","","","","", /*S0-S7*/ "","","","BAT_DETECT", - "BMC_BT_WP0","BMC_BT_WP1","","", + "BMC_BT_WP0_N","BMC_BT_WP1_N","","FUSB302_SLED4_INT_N", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", - /*V0-V7*/ "PWRGD_CNS_PSU","RST_BMC_MVL","","PSU_PRSNT", + /*V0-V7*/ "PWRGD_CNS_PSU","RST_BMC_MVL_N", + "P12V_AUX_ALERT1_N","PSU_PRSNT", "USB2_SEL0_A","USB2_SEL1_A", "USB2_SEL0_B","USB2_SEL1_B", - /*W0-W7*/ "RST_FRONT_IOEXP","","","","","","","", + /*W0-W7*/ "RST_FRONT_IOEXP_N","","","","","","","", /*X0-X7*/ "","","","","","","","", - /*Y0-Y7*/ "BMC_SELF_HW_RST","BSM_PRSNT","BSM_FLASH_LATCH","", + /*Y0-Y7*/ "BMC_SELF_HW_RST","BSM_PRSNT_N", + "BSM_FLASH_LATCH_N","FUSB302_SLED5_INT_N", "","","","", /*Z0-Z7*/ "","","","","","","",""; }; From patchwork Mon May 9 15:11:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 12843777 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 25F2FC433F5 for ; Mon, 9 May 2022 15:16:23 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hLloq9P0+mmumno357wZiuMCWnQ6G0sn+BkBzDcsa4A=; b=bkhzpY+8TbKLLF h7OkEkY4UHpRzMnjOZfcegRl5uTcloTz4zNzqXWfKYLpIY33q+xO2Xx1mP6VYkUQrdFV4g78mc/KI cvN/VJolUTvpdenoEo+hRscgTRjncHLRFa4fXRH6orEaK45HT5Usj0eh/5wWg5r+VPi4R8qJv0Bsr cf9N+bzFWwCqDEa2FZyt0blg3fnC3IbjoIXrd8iV7Pu6hi2Mor995mGa9K0nEyBwt4zHQtqHZd+Ob 0LMSvSy4Fm8p7lyHePgDBtBQAkYmadsZAKShM1oHjLcDMAzeOWhHpMfb8RSSt755d3yUo3aeedI9K cQaTWLbOZ4KgRlhACbGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no56Q-00F2IZ-Kl; Mon, 09 May 2022 15:15:15 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1no55j-00F22B-Iw for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 15:14:33 +0000 Received: by mail-pj1-x1036.google.com with SMTP id x88so1877684pjj.1 for ; Mon, 09 May 2022 08:14:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WgTLqnT/JdnofY2i4XQH1SFV76qGHBZFSCrNzgW1auA=; b=c6RjhM+eU+MdKYm1EbTwR/F/uIdwLFMaMafEleB61+8905fo4Ws4/h0DXoTOWn3OlT bgiBm2lVrpBki9Afh5UN2CnDirmmlMQvT/YsevMSIvg1uQn1C5DXPi2cf2lldklRwMeK tgnADUGNwHQ+IS+VvCHkh/dJP+r7oWLfgk30tUwi4ScP1BoG+Eqv6Qa9n8znn8kh2tt/ sgCcRdgigUhuFWb6UJJYOO+l6kl7A4FyZajnDevbZBSBg40hEVgba5xqdJTzp8I1kzt/ f3qTyCTrIMjMO+lUq03M4H9cZiokR+zpnY8NJ0f4K78wVmLvcH1jXD2cQz+zV3kgtrN0 fyCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WgTLqnT/JdnofY2i4XQH1SFV76qGHBZFSCrNzgW1auA=; b=BG81D9eIXbA3nBkrweYvXCr3ysaNcUyK+lcWoz4F+ZTV+x5Q7fi6JaEGwB2X2vom7e fljmIKBrN/VMqBRhZK7Eyg0G9HfBtsrP5rIXu0693Gn5A5kh1y3+hX5mMW6VB4xm4LlX 52WlWMAvqZMguy9Mr2tP8eVCh1gQvG5AY0enDxFDk/vFyskhI+zKfJPheq+1WLmRm6Ab VRajdX9U1F/FlCVqSbi7NXsMPL3+g6uoIZFjnN3WQxsJpifaoBJ87nwYU93afwgQ8Aye UfdJlbUUrKH64A1cK131HjK/Bq2XdNvlXzp9+W3jn00VGXX7AEJxFeRxekl6D3ImqNfC /4Mg== X-Gm-Message-State: AOAM532PGkNYFJPyabEDIdPBS8BN5YXbFXi8TlgEHer5QY5KZIz0KaR7 QzokuWFCYqCElHYmfIqRqZw= X-Google-Smtp-Source: ABdhPJwebWEyxOLv9FykzklIKPAvvcDSsglFgYv7KURzSwboPnqYQrxbbtnp/S0Flcdwfoxp1wA7pg== X-Received: by 2002:a17:902:6902:b0:15e:a439:82b6 with SMTP id j2-20020a170902690200b0015ea43982b6mr16604718plk.76.1652109266595; Mon, 09 May 2022 08:14:26 -0700 (PDT) Received: from potin-quanta.dhcpserver.local (125-228-123-29.hinet-ip.hinet.net. [125.228.123.29]) by smtp.gmail.com with ESMTPSA id k7-20020a056a00134700b0050dc76281b6sm9221596pfu.144.2022.05.09.08.14.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:14:26 -0700 (PDT) From: Potin Lai To: Rob Herring , Joel Stanley , Andrew Jeffery Cc: Patrick Williams , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Potin Lai Subject: [PATCH 5/6] ARM: dts: aspeed: bletchley: add pca9536 node on each sled Date: Mon, 9 May 2022 23:11:17 +0800 Message-Id: <20220509151118.4899-6-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220509151118.4899-1-potin.lai.pt@gmail.com> References: <20220509151118.4899-1-potin.lai.pt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_081431_671547_D9E0927E X-CRM114-Status: GOOD ( 10.49 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add an ioexp node on each sled baseed on DVT schematic, address at 0x41. P0: SLEDX_SWD_MUX P1: SLEDX_XRES_SWD_N P2: SLEDX_CLKREQ_N P3: SLEDX_PCIE_PWR_EN Signed-off-by: Potin Lai --- .../dts/aspeed-bmc-facebook-bletchley.dts | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index 49e4b9f63a28..b30986e7cb41 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -253,6 +253,17 @@ reg = <0x4f>; }; + sled1_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED1_SWD_MUX", "SLED1_XRES_SWD_N", + "SLED1_CLKREQ_N", "SLED1_PCIE_PWR_EN"; + }; + sled1_ioexp: pca9539@76 { compatible = "nxp,pca9539"; reg = <0x76>; @@ -323,6 +334,17 @@ reg = <0x4f>; }; + sled2_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED2_SWD_MUX", "SLED2_XRES_SWD_N", + "SLED2_CLKREQ_N", "SLED2_PCIE_PWR_EN"; + }; + sled2_ioexp: pca9539@76 { compatible = "nxp,pca9539"; reg = <0x76>; @@ -393,6 +415,17 @@ reg = <0x4f>; }; + sled3_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED3_SWD_MUX", "SLED3_XRES_SWD_N", + "SLED3_CLKREQ_N", "SLED3_PCIE_PWR_EN"; + }; + sled3_ioexp: pca9539@76 { compatible = "nxp,pca9539"; reg = <0x76>; @@ -463,6 +496,17 @@ reg = <0x4f>; }; + sled4_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED4_SWD_MUX", "SLED4_XRES_SWD_N", + "SLED4_CLKREQ_N", "SLED4_PCIE_PWR_EN"; + }; + sled4_ioexp: pca9539@76 { compatible = "nxp,pca9539"; reg = <0x76>; @@ -533,6 +577,17 @@ reg = <0x4f>; }; + sled5_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED5_SWD_MUX", "SLED5_XRES_SWD_N", + "SLED5_CLKREQ_N", "SLED5_PCIE_PWR_EN"; + }; + sled5_ioexp: pca9539@76 { compatible = "nxp,pca9539"; reg = <0x76>; @@ -603,6 +658,17 @@ reg = <0x4f>; }; + sled6_ioexp41: pca9536@41 { + compatible = "nxp,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "SLED6_SWD_MUX", "SLED6_XRES_SWD_N", + "SLED6_CLKREQ_N", "SLED6_PCIE_PWR_EN"; + }; + sled6_ioexp: pca9539@76 { compatible = "nxp,pca9539"; reg = <0x76>; From patchwork Mon May 9 15:11:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 12843778 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 EAB0DC433EF for ; Mon, 9 May 2022 15:16:35 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IDe2YACXXwhTxP1z211SXAomPI2j85ZdO2cwfgPrUO0=; b=JSLPnmOW2VlpAJ By6q17n60JXnPIKMo/rkv4JYjapkcjF2nT8u5zZN8YVFtPIvA9pMU5NWum0fVdbDpgFhowZ5hPCmm BONTYGRSWYcsiwpBe7fNIb2Rk65zxpZGhPDG1brM24Hly87hJfUhNoZQuQg2c1HUIJlvKTRwj3sJr yssKWcFrOfZurgAwZceFf4xSpptz+3kqrcOWVM9Mv2UiwvU6NoEAZh5d8BdoGTbSix0SxYfzh4L1L PYyxjBRX7OhcrVIkJ2BTCXx1hGYOn33nGt1dXBJTN43QSgckkp6fgYCAHSF+m21yB41Kgk09202te Z8lMvYz+Vu8eBSB+a7vQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no56h-00F2RJ-NY; Mon, 09 May 2022 15:15:31 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1no55k-00F22D-51 for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 15:14:34 +0000 Received: by mail-pl1-x635.google.com with SMTP id d17so14168576plg.0 for ; Mon, 09 May 2022 08:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=l2qY2cWlLlfG1RUgISmGZpjql0HcXWQoFGn6X90qPgw=; b=HfpJU62BWT0EujKLbfSRY6wrZRaE5cObcOb+ZI6QW3t0fNHohXRezm2t+V8qmyyZ9p IrsG6hw0nFIUodpqCg/hV3cHh+J48WkjRwoRPxbjWisvDKptfa/OM+8aRj3kttpPriGL 26lj75O5GGl7QPIucUmRgCkmBayFT3et0YyYPFEfv8byvgBIZn8jeeped/yo3GC6jwtO hJMEdTl4FzAmBgnEqebb9N5oqRwl39/tvhTal9UfnZ4n9m2mUrHd4nd9wkeUc8MgnK4d zQ47MMIZkXNdYj2/a71XRRKOvB2o2ySi780ldxqejtfDPG6RxHcDRW0ni0zpHjqT5OOk 66RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=l2qY2cWlLlfG1RUgISmGZpjql0HcXWQoFGn6X90qPgw=; b=pTLFF7RCvE0ruMRFbdZ+lbeOi6M2+2dGKfgdBt6n++/kumT3KC8H15nB2i4eUM0YDB tq5zJBCvY2Qq/cATsZ0ZR+Je0KUqx+ZIKPkrQToxJxp23+Jx1jUSYHKFcNzmNL05Wotd QsbX8FpYsVwrTYzQjaHH+TwroAv75mZluvcNFahTFt3tQwl6hgn9h1pEWw+qOACYSlf/ q2A8eafNzhnIAeddswqGWTRAVBcAywmmI/j3GjB8kOTi2CXqC8bKj/6uTQwO3HWQ1Ff9 fnxJ8b3o2nwiqYqwkIz9IweQo9oizx/lp/htp9N5GKAvqB/RsE41W5Mbi6wI2xJpnky3 l5VQ== X-Gm-Message-State: AOAM533H/4Pdpjypg0L2oQNXBSDv47t0QU3UGW16+oZsKi1eSGeSHtNj B2EJBWlofWdHFUY7lVe2suw5v/pYnmMWpk0M X-Google-Smtp-Source: ABdhPJzMRdVCHBfbZqKWcPvtFFQon5E4cmHhyCetrXKiUDqjC2LJYav7DQoCH6sy7+Up3FJ24crgCA== X-Received: by 2002:a17:902:e884:b0:15e:bfbc:1a35 with SMTP id w4-20020a170902e88400b0015ebfbc1a35mr16553144plg.51.1652109268422; Mon, 09 May 2022 08:14:28 -0700 (PDT) Received: from potin-quanta.dhcpserver.local (125-228-123-29.hinet-ip.hinet.net. [125.228.123.29]) by smtp.gmail.com with ESMTPSA id k7-20020a056a00134700b0050dc76281b6sm9221596pfu.144.2022.05.09.08.14.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:14:28 -0700 (PDT) From: Potin Lai To: Rob Herring , Joel Stanley , Andrew Jeffery Cc: Patrick Williams , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Potin Lai Subject: [PATCH 6/6] ARM: dts: aspeed: bletchley: add eeprom node on each sled Date: Mon, 9 May 2022 23:11:18 +0800 Message-Id: <20220509151118.4899-7-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220509151118.4899-1-potin.lai.pt@gmail.com> References: <20220509151118.4899-1-potin.lai.pt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_081432_234438_56B99009 X-CRM114-Status: GOOD ( 10.38 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add eeprom (24c26) on each sled for storing sled fru information. Signed-off-by: Potin Lai --- .../dts/aspeed-bmc-facebook-bletchley.dts | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index b30986e7cb41..41d2b1535d9a 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -314,6 +314,11 @@ op-sink-microwatt = <10000000>; }; }; + + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; }; &i2c1 { @@ -395,6 +400,11 @@ op-sink-microwatt = <10000000>; }; }; + + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; }; &i2c2 { @@ -476,6 +486,11 @@ op-sink-microwatt = <10000000>; }; }; + + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; }; &i2c3 { @@ -557,6 +572,11 @@ op-sink-microwatt = <10000000>; }; }; + + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; }; &i2c4 { @@ -638,6 +658,11 @@ op-sink-microwatt = <10000000>; }; }; + + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; }; &i2c5 { @@ -719,6 +744,11 @@ op-sink-microwatt = <10000000>; }; }; + + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; }; &i2c6 {