From nobody Sun Sep 14 18:26:45 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4CD16C004D4 for ; Thu, 19 Jan 2023 10:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230334AbjASKVj (ORCPT ); Thu, 19 Jan 2023 05:21:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230287AbjASKVT (ORCPT ); Thu, 19 Jan 2023 05:21:19 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 081AE659A for ; Thu, 19 Jan 2023 02:21:18 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id 20so1083520pfu.13 for ; Thu, 19 Jan 2023 02:21:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ufispace-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=rL2zoNqn7rKJXBUdA7n2h+JOSB03tHyVIMK1O+/+XBA=; b=tJRmZW258uFABdbVGNx65PAgSM+mFHemClFfBw7mnvRyxokBeXAz6iIXUsj+pNSsK9 nibKFk0Hd46wAuOxsHoCP9yZRh4zOlrRjmJB018rhd7zRx264EXSVYJeDkGu78/Bnl8d o8VxffqBQOJk7DROKTJ/svVjweCM9oV/18+lIwGyC5invq/IzzfzaUGhUm0AYDWAgXkw ldNm4Mq2QhfnYJMq9F/1n43H/epbMpCEO88P5zORZ+alULcUoI+LzQeQqB5eHRaZt5K5 X08j8+8nIhjHY4gd64/pIxN5ySAmXrPylhfYkeGtxCkXE6vM1zdRbVTKOLn11DcxMgbo c7Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rL2zoNqn7rKJXBUdA7n2h+JOSB03tHyVIMK1O+/+XBA=; b=be+BfZJtGg3JlMCWD94NEqlcAyUN4kkg+7QtEEbo3kI8vP+YcZSVULrDnhwmAW+rFt I/FpuDJzzsNsfQ/GEYBED811Mr7AKPEDSh3iNhr805X3LFpKOrbULULNvL+imlAN1o9c gWyYtOF3ITdF/KnnHHSDlwFeIGvkGH4UjpReucWGQ82AsEdbrz437L2C6hPVvcCsp+Tg aVYLRFEdeZXIKlq4qdyvfoFyLHqzF9StrTqUU8X8bsZ68sz93Crae3AgXTGDtzENK0ld bKNw93JTCyXWMJAAz1MlxYoWZtZeu/IB+3O2/VWB2T9LIGMJePwYZJyjXDlWMPp1rteZ D9Yg== X-Gm-Message-State: AFqh2kou9OZt+yF73nfHgEbxJH9y8PBuj3qi4I2hCC+eVYtZ2F/hZky1 YZzkxAv63mSOZdNv77qKLd3VfrDD7vGia9hqnP+u/TzTe5pNNPskAacD3ZuraVlzIkF0KduDl/V rvm518KAFe2jBxool0pByXwzxQgbFQGs= X-Google-Smtp-Source: AMrXdXvoEJVMsJVwWlxtJdUyWwzIN0910blx4t0nBLIMLicnFjHDxkZvxZ6+qurrrAl7cim/GPpeNw== X-Received: by 2002:a05:6a00:181f:b0:58b:d244:b525 with SMTP id y31-20020a056a00181f00b0058bd244b525mr15630841pfa.17.1674123677598; Thu, 19 Jan 2023 02:21:17 -0800 (PST) Received: from openbmc500G.LAB.ufispace (CH210-63-217-225.static.apol.com.tw. [210.63.217.225]) by smtp.gmail.com with ESMTPSA id p128-20020a625b86000000b00580d25a2bb2sm19152964pfb.108.2023.01.19.02.21.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 02:21:17 -0800 (PST) From: Jordan Chang To: linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au, andrew@aj.id.au, robh+dt@kernel.org Cc: jay.tc.lin@ufispace.com, eason.ys.huang@ufispace.com Subject: [PATCH 1/3] dt-bindings: vendor-prefixes: Add prefix for Ufi Space Date: Thu, 19 Jan 2023 18:21:00 +0800 Message-Id: <20230119102102.73414-2-jordan.chang@ufispace.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230119102102.73414-1-jordan.chang@ufispace.com> References: <20230119102102.73414-1-jordan.chang@ufispace.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add a vendor prefix for Ufi Space (https://www.ufispace.com). Signed-off-by: Jordan Chang --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Docum= entation/devicetree/bindings/vendor-prefixes.yaml index 2f0151e9f6be..ab0dd1cb5ede 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1344,6 +1344,8 @@ patternProperties: description: Ubiquiti Networks "^udoo,.*": description: Udoo + "^ufispace,.*": + description: Ufi Space Co., Ltd. "^ugoos,.*": description: Ugoos Industrial Co., Ltd. "^uniwest,.*": --=20 2.39.0 --=20 ****************************** This e-mail is confidential. If you are not=20 the intended recipient, you must not disclose, distribute or use the=20 information in it as this could be a breach of confidentiality.If you have=20 received this message in error, please advise us immediately by return=20 e-mail and delete the document. The address from which this message has=20 been sent is strictly for business mail only and the company reserves the=20 right to monitor the contents of communications and take action where and=20 when it is deemed necessary. Thank you for your co-operation. From nobody Sun Sep 14 18:26:45 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A8B2C00A5A for ; Thu, 19 Jan 2023 10:21:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230355AbjASKVr (ORCPT ); Thu, 19 Jan 2023 05:21:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbjASKVW (ORCPT ); Thu, 19 Jan 2023 05:21:22 -0500 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A7D95EF8A for ; Thu, 19 Jan 2023 02:21:21 -0800 (PST) Received: by mail-pf1-x433.google.com with SMTP id 127so1117888pfe.4 for ; Thu, 19 Jan 2023 02:21:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ufispace-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=alvox7oxfs/Dz7IeYeOMp2DW95Yg30i+3OxcsGjnsts=; b=Lew2hLC5rAjWlTDceaQ8Z0YjpKn70BiBqXx+39OplEwgAxrtff+ArmI96+LX5jRBGn cDZAGdjz1ioaeqQ6Zqh1eQ64/+m9gl8NK88Xleh1WFqMhUMrtcHjKN40nQVdV4j8Qm+2 AaNN+aGqqZqXAolyDbq5Qm9eiBC4dHnNJqb3iQclUgk+Zpn0JGlvZ8yEY0rJZiVttPez +qva9/4XUiKYRWRi8YQTIPx8Kee43uhFb5O/a1LaBIIZup8zXNBw3J1pX9pknxPyewQ2 oba7CHyTqGkSi9P/eDBlGiE8/M1piUzqCawxz8uFU22E419KeQsuTFKjsR1S86qqlVk+ qb7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=alvox7oxfs/Dz7IeYeOMp2DW95Yg30i+3OxcsGjnsts=; b=kIl0fArjqGy3EpGzgff/U++vUMKnsan+21Rb9mpPsNeTCex6cJGMfaaYSarh4b6CZj SKfKMglJUqTczLcAViDOsa75zcxJjnSO15IZWgpoJJFf1jgpeu/rGU9RCxNcf+jvB4Pb p5CysQL3+mHqf/VoMg8UeSUSlgl5qKTKJIeOj9igi2FRFSa2PbBbxLaQONKGBZ8vs3OK VOWQ6XjrATSn3d3k/kJIq0fsro/ww1JxdoQdP64C/sx5E/oXkI0MBHLISI02aDQRPJY2 hIvgZ8KlNWbuFSYTx0D8SKueVeAX3FVq4eVX4omOA3n0UFXohTHtobk30AbjFrSDgEJj apBw== X-Gm-Message-State: AFqh2ko/GD90WX0FPINvvRy2ZnIYlPQqnSZAyINfwtIuSOQDzfJNy+Ym hloD6d4PQ959MEZejZ8ut+qiJhqoboqo06B2BjKfykUUQwJ6sV5G+pnn85ddpX+sMtw61cnzyuf TXPRpWUYbZqcHuwuGmg== X-Google-Smtp-Source: AMrXdXt1ImXcPaKYIdueoj4iH9mAMmluwaoNwNRy3gfTgU4Bqmc3+X9CwSe7KcmSJFrllefWY0Hoyg== X-Received: by 2002:a62:148d:0:b0:58b:ca43:9c05 with SMTP id 135-20020a62148d000000b0058bca439c05mr10211079pfu.16.1674123680834; Thu, 19 Jan 2023 02:21:20 -0800 (PST) Received: from openbmc500G.LAB.ufispace (CH210-63-217-225.static.apol.com.tw. [210.63.217.225]) by smtp.gmail.com with ESMTPSA id p128-20020a625b86000000b00580d25a2bb2sm19152964pfb.108.2023.01.19.02.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 02:21:20 -0800 (PST) From: Jordan Chang To: linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au, andrew@aj.id.au, robh+dt@kernel.org Cc: jay.tc.lin@ufispace.com, eason.ys.huang@ufispace.com Subject: [PATCH 2/3] dt-bindings: arm: aspeed: document Ufispace NCPLite BMC Date: Thu, 19 Jan 2023 18:21:01 +0800 Message-Id: <20230119102102.73414-3-jordan.chang@ufispace.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230119102102.73414-1-jordan.chang@ufispace.com> References: <20230119102102.73414-1-jordan.chang@ufispace.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document Ufispace NCPLite board compatible. Signed-off-by: Jordan Chang --- Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml b/Doc= umentation/devicetree/bindings/arm/aspeed/aspeed.yaml index 272626937ecd..0f180aad3a09 100644 --- a/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +++ b/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml @@ -85,6 +85,7 @@ properties: - jabil,rbp-bmc - nuvia,dc-scm-bmc - quanta,s6q-bmc + - ufispace,ncplite-bmc - const: aspeed,ast2600 =20 additionalProperties: true --=20 2.39.0 --=20 ****************************** This e-mail is confidential. If you are not=20 the intended recipient, you must not disclose, distribute or use the=20 information in it as this could be a breach of confidentiality.If you have=20 received this message in error, please advise us immediately by return=20 e-mail and delete the document. The address from which this message has=20 been sent is strictly for business mail only and the company reserves the=20 right to monitor the contents of communications and take action where and=20 when it is deemed necessary. Thank you for your co-operation. From nobody Sun Sep 14 18:26:45 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52B0BC004D4 for ; Thu, 19 Jan 2023 10:22:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230343AbjASKVz (ORCPT ); Thu, 19 Jan 2023 05:21:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230330AbjASKV0 (ORCPT ); Thu, 19 Jan 2023 05:21:26 -0500 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 992BD6469D for ; Thu, 19 Jan 2023 02:21:24 -0800 (PST) Received: by mail-pg1-x536.google.com with SMTP id r18so1107549pgr.12 for ; Thu, 19 Jan 2023 02:21:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ufispace-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=gzxculiynfgXpHNLfw83WQVl9BRzHCte92yfypt/lzE=; b=iMez6eg6tLPXVJnCAHmcrknTi5rYVgZt1+dLFPJVkgshsgYTpw6SUSxaQESzJAx3z/ fMsiGGOBpLSfrlQjaMsyJK5/Uv7UYA3shLXgvB4HS9K3TdOT3GvWwvf0t4u6LZvXOSRm UXjx95TbLOy+hzDy1sksBPjJNI5/Ms54GF3gp0it9IYwrimXvlCcMHRD6yD0mWj+LKcF wEiYAn8jWnCjM6BZd9Jc2ScUDlpDuA2vigq62jVoQzKYfpUPObGVrxOfRvqU9uAMGLp2 Bhuu8Gqr6pwHX3/7YnO4CbXEfxyEdDP90WJKtjBJHiuB3NTctERKB6ZVPW6HXunzgxg3 9STw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gzxculiynfgXpHNLfw83WQVl9BRzHCte92yfypt/lzE=; b=dm7H9lZOhGHKDdwlbsILulueWB/kNW9uJhVILTJv/PMo8WW8IFrmY8yeoUfFozJGDT nl9jBh7HQxXQPwU3SHDKzV+GfkbXNq75usHSXPFVVDlOApT/c7z3MyFFmnbXmtnG53Dn I7EdnTZgcsh2ZDcX66LJ0tbgz83vBXdtNFFy6rZf6UrbaAQNdb7tpyVM1Uz8ZzoWTiMK kypAigpkbLr3JtjIJuydmgfi5BJzEySZu4S5NvLpW8o2k8svwjQBKV1HMsYZjeBav3Gl lzwjJXJZaBukXjOXo8gjtkLTLJNehbHoNI/l/XyNtw+3ZfAtpYuPQpZzdRR7UndGWNy0 Q5BQ== X-Gm-Message-State: AFqh2koRCMpHmWr9zGm02KszV6kr1hWx+stv1CilCwsE4lS0IiXWW9Sy agNofT52w7wJ7mD+CwUJC2RF22KRpZzt9MxLLlvMWI/5UnGS+eWDTJCKxaW67JobJrZAeVRh4Mw oRKA1glCzFt9G9esbQqbu0HOX7HO8 X-Google-Smtp-Source: AMrXdXtD7cMvIdoqey2C0zAtrZY2BsSasx8SYNksTtc/M4gFgi7pNyudlmTGzK8XhBkPsrpAaS6DEQ== X-Received: by 2002:aa7:85c4:0:b0:58d:bb58:e928 with SMTP id z4-20020aa785c4000000b0058dbb58e928mr9998794pfn.32.1674123684077; Thu, 19 Jan 2023 02:21:24 -0800 (PST) Received: from openbmc500G.LAB.ufispace (CH210-63-217-225.static.apol.com.tw. [210.63.217.225]) by smtp.gmail.com with ESMTPSA id p128-20020a625b86000000b00580d25a2bb2sm19152964pfb.108.2023.01.19.02.21.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 02:21:23 -0800 (PST) From: Jordan Chang To: linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au, andrew@aj.id.au, robh+dt@kernel.org Cc: jay.tc.lin@ufispace.com, eason.ys.huang@ufispace.com Subject: [PATCH 3/3] ARM: dts: aspeed: Add device tree for Ufispace NCPLite BMC Date: Thu, 19 Jan 2023 18:21:02 +0800 Message-Id: <20230119102102.73414-4-jordan.chang@ufispace.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230119102102.73414-1-jordan.chang@ufispace.com> References: <20230119102102.73414-1-jordan.chang@ufispace.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add initial version of device tree for Ufispace NCPlite platform which is equipped with AST2600-based BMC. Signed-off-by: Jordan Chang --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/aspeed-bmc-ufispace-ncplite.dts | 360 ++++++++++++++++++ 2 files changed, 361 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed-bmc-ufispace-ncplite.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 2ee9c043218b..d26e0651e805 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1626,6 +1626,7 @@ dtb-$(CONFIG_ARCH_ASPEED) +=3D \ aspeed-bmc-inventec-transformers.dtb \ aspeed-bmc-tyan-s7106.dtb \ aspeed-bmc-tyan-s8036.dtb \ + aspeed-bmc-ufispace-ncplite.dtb \ aspeed-bmc-vegman-n110.dtb \ aspeed-bmc-vegman-rx20.dtb \ aspeed-bmc-vegman-sx20.dtb diff --git a/arch/arm/boot/dts/aspeed-bmc-ufispace-ncplite.dts b/arch/arm/b= oot/dts/aspeed-bmc-ufispace-ncplite.dts new file mode 100644 index 000000000000..7ab29129d1e4 --- /dev/null +++ b/arch/arm/boot/dts/aspeed-bmc-ufispace-ncplite.dts @@ -0,0 +1,360 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// Copyright (c) 2022 Ufispace Co., Ltd. +/dts-v1/; + +#include "aspeed-g6.dtsi" +#include +#include + +/ { + model =3D "Ufispace NCPLite BMC"; + compatible =3D "ufispace,ncplite-bmc", "aspeed,ast2600"; + + aliases { + serial4 =3D &uart5; + }; + + chosen { + stdout-path =3D &uart5; + bootargs =3D "console=3DttyS4,115200n8 earlycon"; + }; + + memory@80000000 { + device_type =3D "memory"; + reg =3D <0x80000000 0x80000000>; + }; + + iio-hwmon { + compatible =3D "iio-hwmon"; + io-channels =3D <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, + <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, + <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>, + <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>; + }; + + gpio-keys { + compatible =3D "gpio-keys"; + + fan-status-int-l { + label =3D "fan-status-int-l"; + gpios =3D <&gpio0 ASPEED_GPIO(M, 2) GPIO_ACTIVE_LOW>; + linux,code =3D ; + }; + + allpwr-good { + label =3D "allpwr-good"; + gpios =3D <&gpio0 ASPEED_GPIO(V, 4) GPIO_ACTIVE_HIGH>; + linux,code =3D ; + }; + + psu0-alert-n { + label =3D "psu0-alert-n"; + gpios =3D <&gpio0 ASPEED_GPIO(V, 1) GPIO_ACTIVE_LOW>; + linux,code =3D ; + }; + + psu1-alert-n { + label =3D "psu1-alert-n"; + gpios =3D <&gpio0 ASPEED_GPIO(V, 2) GPIO_ACTIVE_LOW>; + linux,code =3D ; + }; + + int-thermal-alert { + label =3D "int-thermal-alert"; + gpios =3D <&gpio0 ASPEED_GPIO(P, 2) GPIO_ACTIVE_LOW>; + linux,code =3D ; + }; + + cpu-caterr-l { + label =3D "cpu-caterr-l"; + gpios =3D <&gpio0 ASPEED_GPIO(N, 3) GPIO_ACTIVE_LOW>; + linux,code =3D ; + }; + + cpu-thermtrip-l { + label =3D "cpu-thermtrip-l"; + gpios =3D <&gpio0 ASPEED_GPIO(V, 5) GPIO_ACTIVE_LOW>; + linux,code =3D ; + }; + + psu0-presence-l { + label =3D "psu0-presence-l"; + gpios =3D <&gpio0 ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>; + linux,code =3D ; + }; + + psu1-presence-l { + label =3D "psu1-presence-l"; + gpios =3D <&gpio0 ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>; + linux,code =3D ; + }; + + psu0-power-ok { + label =3D "psu0-power-ok"; + gpios =3D <&gpio0 ASPEED_GPIO(M, 4) GPIO_ACTIVE_HIGH>; + linux,code =3D ; + }; + + psu1-power-ok { + label =3D "psu1-power-ok"; + gpios =3D <&gpio0 ASPEED_GPIO(M, 5) GPIO_ACTIVE_HIGH>; + linux,code =3D ; + }; + }; + + gpio-keys-polled { + compatible =3D "gpio-keys-polled"; + #address-cells =3D <1>; + #size-cells =3D <0>; + poll-interval =3D <1000>; + + fan0-presence { + label =3D "fan0-presence"; + gpios =3D <&fan_ioexp 2 GPIO_ACTIVE_LOW>; + linux,code =3D <2>; + }; + + fan1-presence { + label =3D "fan1-presence"; + gpios =3D <&fan_ioexp 6 GPIO_ACTIVE_LOW>; + linux,code =3D <6>; + }; + + fan2-presence { + label =3D "fan2-presence"; + gpios =3D <&fan_ioexp 10 GPIO_ACTIVE_LOW>; + linux,code =3D <10>; + }; + + fan3-presence { + label =3D "fan3-presence"; + gpios =3D <&fan_ioexp 14 GPIO_ACTIVE_LOW>; + linux,code =3D <14>; + }; + }; +}; + +&mac2 { + status =3D "okay"; + use-ncsi; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_rmii3_default>; + clocks =3D <&syscon ASPEED_CLK_GATE_MAC3CLK>, + <&syscon ASPEED_CLK_MAC3RCLK>; + clock-names =3D "MACCLK", "RCLK"; +}; + +&fmc { + status =3D "okay"; + flash@0 { + status =3D "okay"; + m25p,fast-read; + label =3D "bmc"; + spi-max-frequency =3D <50000000>; +#include "openbmc-flash-layout-64.dtsi" + }; + + flash@1 { + status =3D "okay"; + m25p,fast-read; + label =3D "alt-bmc"; + spi-max-frequency =3D <50000000>; +#include "openbmc-flash-layout-64-alt.dtsi" + }; +}; + +&uart1 { + status =3D "okay"; +}; + +&uart4 { + status =3D "okay"; +}; + +&uart5 { + status =3D "okay"; +}; + +&kcs3 { + status =3D "okay"; + aspeed,lpc-io-reg =3D <0xca2>; +}; + +&lpc_reset { + status =3D "okay"; +}; + +&lpc_ctrl { + status =3D "okay"; +}; + +&uart_routing { + status =3D "okay"; +}; + +&wdt1 { + status =3D "okay"; +}; + +&wdt2 { + status =3D "okay"; +}; + +&peci0 { + status =3D "okay"; +}; + +&udc { + status =3D "okay"; +}; + +&adc0 { + vref =3D <2500>; + status =3D "okay"; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_adc0_default &pinctrl_adc1_default + &pinctrl_adc2_default &pinctrl_adc3_default + &pinctrl_adc4_default &pinctrl_adc5_default + &pinctrl_adc6_default &pinctrl_adc7_default>; +}; + +&adc1 { + vref =3D <2500>; + status =3D "okay"; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_adc8_default &pinctrl_adc9_default + &pinctrl_adc10_default &pinctrl_adc11_default + &pinctrl_adc12_default &pinctrl_adc13_default + &pinctrl_adc14_default &pinctrl_adc15_default>; +}; + +&i2c0 { + status =3D "okay"; +}; + +&i2c1 { + status =3D "okay"; + + lm75@48 { + compatible =3D "national,lm75"; + reg =3D <0x48>; + }; + + lm75@49 { + compatible =3D "national,lm75"; + reg =3D <0x49>; + }; + + lm86@4c { + compatible =3D "national,lm86"; + reg =3D <0x4c>; + }; +}; + +&i2c2 { + status =3D "okay"; + + lm75@4f { + cpmpatible =3D "national,lm75"; + reg =3D <0x4f>; + }; + + fan_ioexp: pca9535@20 { + compatible =3D "nxp,pca9535"; + reg =3D <0x20>; + #address-cells =3D <1>; + #size-cells =3D <0>; + gpio-controller; + #gpio-cells =3D <2>; + + gpio-line-names =3D + "","","presence-fan0","", + "","","presence-fan1","", + "","","presence-fan2","", + "","","presence-fan3",""; + }; +}; + +&i2c3 { + status =3D "okay"; + + eeprom@50 { + compatible =3D "atmel,24c128"; + reg =3D <0x50>; + pagesize =3D <64>; + }; +}; + +&i2c4 { + status =3D "okay"; + + psu@58 { + compatible =3D "pmbus"; + reg =3D <0x58>; + }; + + eeprom@50 { + compatible =3D "atmel,24c02"; + reg =3D <0x50>; + pagesize =3D <1>; + }; +}; + +&i2c5 { + status =3D "okay"; + + psu@58 { + compatible =3D "pmbus"; + reg =3D <0x58>; + }; + + eeprom@50 { + compatible =3D "atmel,24c02"; + reg =3D <0x50>; + pagesize =3D <1>; + }; +}; + +&i2c8 { + status =3D "okay"; +}; + +&i2c10 { + status =3D "okay"; + + lm75@4d { + compatible =3D "national,lm75"; + reg =3D <0x4d>; + }; +}; + +&gpio0 { + status =3D "okay"; + + gpio-line-names =3D + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "","","","","","","","", + /*C0-C7*/ "","","","","","","","", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "","","","","","","","", + /*F0-F7*/ "CPU_PWRGD","","","power-button","host0-ready","","presence-ps0= ","presence-ps1", + /*G0-G7*/ "","","","","","","","", + /*H0-H7*/ "","","","","","","","", + /*I0-I7*/ "","","","","","reset-button","","", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","","", + /*M0-M7*/ "","","","","","","","", + /*N0-N7*/ "power-chassis-control0","power-chassis-control1","","","","","= ","", + /*O0-O7*/ "","","","","","","","", + /*P0-P7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","","","", + /*R0-R7*/ "","","","","","","","", + /*S0-S7*/ "","","","","","","","", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","","","","","","", + /*V0-V7*/ "","","","","power-chassis-good","","",""; +}; --=20 2.39.0 --=20 ****************************** This e-mail is confidential. If you are not=20 the intended recipient, you must not disclose, distribute or use the=20 information in it as this could be a breach of confidentiality.If you have=20 received this message in error, please advise us immediately by return=20 e-mail and delete the document. The address from which this message has=20 been sent is strictly for business mail only and the company reserves the=20 right to monitor the contents of communications and take action where and=20 when it is deemed necessary. Thank you for your co-operation.