Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp815408pxb; Wed, 11 Nov 2020 17:38:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyI8a0DrICEEQ0cGWBaGJW1tlyQviLnCPVJZXWWuNMK4LdToUBDVm2hl5OjyY5ylVdm8xVu X-Received: by 2002:a17:906:ad85:: with SMTP id la5mr29400106ejb.423.1605145103042; Wed, 11 Nov 2020 17:38:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605145103; cv=none; d=google.com; s=arc-20160816; b=QXLB++ZpoJA54pU5xZPlH5wSE40zUxN4yik6+fWqxBXeEOO8owf5pJG6N0d2gxkhIn Xu39xJQZi4lED3rn7ShgDRbPSeM5pdc2AFArofp3AoRhcF4DO1ZCUcR/sO4hxjLn976O 5Th4Zeg9EYjzbjJ5UKf0i5p4L0waEgnfu+J73z2avqs75p1QMz9zADarwdOTXHxsSfbL GroKdZr5STC1xczFx8eu3NfnFA287yiaCNz4wlhBP5WGrX2YS/VsXjkL2ocRlRjG5SJa HmfSXLOHkdL+qJjee6rJHYlf3lsTGLsdZ69y57A9QXrZGeWZUTL5OHPZYBmWAwveqRoH o9+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=MW5X8Ll2JhETf4+ug/bVFsXNI7M19MuHlME7/bl5UmU=; b=wqPVQsDiqD5a77+vSmXDB2TqEoVXzHmrVWuIvFJ7+srAgsqgY785g8oPD3J/+QpviA jdcdrMwPi9msO9WCmlHj+0cGP5OPx+UjUe3J5UJ+M4KA3aDqRExPyXVwHyRCcfRXbrBZ 0XUtgAsTBhH6Rlix3yVRb3jVnfaFHTbYcuPr2olD6IOCKt0qPcclHiW6iWYggDN3A2Gd 10K76IBccix4Gm4cTv83IgVNa9kO7xBq+Y3ICQJq3DQ1jNrFNhuXJ5MeZTQr+ILjgvq6 4bzoBK0UD6uKhQ8kAo8IyiXSyIK7oQpckl3SuvHsKg8WHGiWxL5xmM0Crj0Is88cngeh s1Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XNDDuBEQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si3836452edj.402.2020.11.11.17.38.00; Wed, 11 Nov 2020 17:38:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XNDDuBEQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728924AbgKLBfr (ORCPT + 99 others); Wed, 11 Nov 2020 20:35:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727903AbgKKXYc (ORCPT ); Wed, 11 Nov 2020 18:24:32 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AA3CC061A04; Wed, 11 Nov 2020 15:23:53 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id b3so1766588pls.11; Wed, 11 Nov 2020 15:23:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MW5X8Ll2JhETf4+ug/bVFsXNI7M19MuHlME7/bl5UmU=; b=XNDDuBEQWCdL7ehrCtLL9MwLE0+4qdUXIXWOdwLPALUgwiTmzHC6e+cBPJ0SYsJ9wO iZREhUmjxK2KZ+YOYwtOFLWwpKHjkAtDdXdDniQyrTFYbasEU0nd4WjnrpTnzdOPNcjy h6ZPQ/FRMloM7Pxt6JRsVK2JWJWUE9InUYw/5+jCIWMmfU48Qt6u86FGlyPEqpfg/BQo j0qJnzHOeosNN73wMOZjrXqXQBgp34zU3Tk+VdjMZIsysDNjJ5wMky5Onx3k5m1hFU+i OltNoE7k0n90eB7m62oLeT2GEsSUq0Xw+PeQJrrN6TooOD0QSC9U9dnOpXReyKjJUBsd JGZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MW5X8Ll2JhETf4+ug/bVFsXNI7M19MuHlME7/bl5UmU=; b=nShnjnwTrNisg3DTi0CzZMeu9qDz6mUaOnTM0LMwp+ZfzsiH1tlQ9BLQQlhlJaEoxH hK12vjSWT1HrFEIjCGjMoCjm1w0g5pvVSrRQFs7glSCks2NnnWSy7CLVh8TtdEsrlx0E ZVPqtTdBol73ZPeP+HAbmseO0+t+GH1tg5FCi8J4y3jNHOl1OSqK8zz13j4x8iJ+K5/U EMOwJSHxD25CB+OxhrFZfWzk6qnkXDrwti/SYwV86VMLyqDiH0F3GjIz6wuqGKSV8hnu Ggq6oL9JqbXy9YEb1GdGos454y9aTKcr2MUK1DoBkF88F7i8HJcoFK01KL3YslJGrKE0 mB4A== X-Gm-Message-State: AOAM5326JbigWkf9AtQbNyqSM7xaFI6xBozth2P958wjyxX87m12VgX5 cOcH+Z3U93x/qWRgDkpVN+o= X-Received: by 2002:a17:902:7402:b029:d6:8558:7920 with SMTP id g2-20020a1709027402b02900d685587920mr22805813pll.8.1605137032352; Wed, 11 Nov 2020 15:23:52 -0800 (PST) Received: from taoren-ubuntu-R90MNF91.thefacebook.com (c-73-252-146-110.hsd1.ca.comcast.net. [73.252.146.110]) by smtp.gmail.com with ESMTPSA id a128sm3901431pfb.195.2020.11.11.15.23.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 15:23:51 -0800 (PST) From: rentao.bupt@gmail.com 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, taoren@fb.com Cc: Tao Ren Subject: [PATCH 3/4] ARM: dts: aspeed: wedge100: Use common dtsi Date: Wed, 11 Nov 2020 15:23:29 -0800 Message-Id: <20201111232330.30843-4-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201111232330.30843-1-rentao.bupt@gmail.com> References: <20201111232330.30843-1-rentao.bupt@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tao Ren Simplify the Wedge100 device tree by using the common dtsi. In addition this enables the second firmware flash, and turns on the "i2c-mux-idle-disconnect" flag for I2C switch 7-0070. Signed-off-by: Tao Ren --- .../boot/dts/aspeed-bmc-facebook-wedge100.dts | 120 +++--------------- 1 file changed, 15 insertions(+), 105 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts index 322587b7b67d..39c6be91d53f 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts @@ -2,36 +2,16 @@ // Copyright (c) 2018 Facebook Inc. /dts-v1/; -#include "aspeed-g4.dtsi" +#include "ast2400-facebook-netbmc-common.dtsi" / { model = "Facebook Wedge 100 BMC"; compatible = "facebook,wedge100-bmc", "aspeed,ast2400"; - aliases { - /* - * Override the default uart aliases to avoid breaking - * the legacy applications. - */ - serial0 = &uart5; - serial1 = &uart1; - serial2 = &uart3; - serial3 = &uart4; - }; - chosen { stdout-path = &uart3; bootargs = "console=ttyS2,9600n8 root=/dev/ram rw"; }; - - memory@40000000 { - reg = <0x40000000 0x20000000>; - }; -}; - -&wdt1 { - status = "okay"; - aspeed,reset-type = "system"; }; &wdt2 { @@ -40,108 +20,38 @@ }; &fmc { - status = "okay"; - flash@0 { + flash@1 { status = "okay"; m25p,fast-read; - label = "fmc0"; -#include "facebook-bmc-flash-layout.dtsi" + label = "spi0.1"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + flash1@0 { + reg = <0x0 0x2000000>; + label = "flash1"; + }; + }; }; }; -&uart1 { - status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_txd1_default - &pinctrl_rxd1_default>; -}; - -&uart3 { - status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_txd3_default - &pinctrl_rxd3_default>; -}; - -&uart4 { - status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_txd4_default - &pinctrl_rxd4_default>; -}; - -&uart5 { - status = "okay"; -}; - -&mac1 { - status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; -}; - -&i2c0 { - status = "okay"; -}; - -&i2c1 { - status = "okay"; -}; - -&i2c2 { - status = "okay"; -}; - -&i2c3 { - status = "okay"; -}; - -&i2c4 { - status = "okay"; -}; - -&i2c5 { - status = "okay"; -}; - -&i2c6 { - status = "okay"; -}; - &i2c7 { - status = "okay"; - i2c-switch@70 { compatible = "nxp,pca9548"; #address-cells = <1>; #size-cells = <0>; reg = <0x70>; + i2c-mux-idle-disconnect; }; }; -&i2c8 { - status = "okay"; -}; - &i2c9 { status = "okay"; }; -&i2c10 { - status = "okay"; -}; - -&i2c11 { - status = "okay"; -}; - -&i2c12 { - status = "okay"; -}; - -&i2c13 { - status = "okay"; -}; &vhub { status = "okay"; -- 2.17.1