Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp816398pxb; Wed, 11 Nov 2020 17:40:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhUbHWT1bKaiUAmVCzIE1BmijF2gYzo0XiMD/Ec6PerTs7KS3Z/cn+BqdFsAkFF81OpCry X-Received: by 2002:a17:906:e15:: with SMTP id l21mr10255654eji.509.1605145222713; Wed, 11 Nov 2020 17:40:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605145222; cv=none; d=google.com; s=arc-20160816; b=ffAuc9pGW7Pp6pgAipItY34qbFCzEXq8YRkBp8cSdojFKOOAN5jX+QhJPtd5IlnxR5 bav9EyqhHUhkENzjr/lW25vQ4HmeXMMk2hsB9hKbQvOjJPecYHTB7tPu4KW+sL8Gz6ph Fq11+bvqNNcTyfq4yrH+A8VjxaHC9rAxOz+WSf4I7oE+D+BqQhHWYEyRvAIf3WIqWcPm E6qoXL9A0PyTy/nxTOjUEFEKfnkCdK/wycNTRywGr0PrGJNWR14gYVjWlswGAP/R+oVE f0GbowmhUcQBh77jZ5q193XonsCBtRt4rG8d6Pq7dOzVa7vBxMQBIxegGCK7cHzg5WU9 m0tg== 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=N2LgTSKfWk09fHPTlpgxk+FWUKycAN1+sy73/0N+lpU=; b=Qe+izwAx+2efHup/V3O5f5+5n5j8bJj1wuIWIrwjmFUSe0JtoMkrnbfMujaSPlynfT F9cmG83ZHTXTCsNPYVy7rkQSg5dw+1z378mBVmHt0jj5kd9ddpVE0wV7IsMPmteIX12m e202mywNORp9hXtV5gl1lDr4Sj+AlJ0pdMvtwjXKcfFNmQ5Fp+2IMmOCAZQstkMFAZV8 C3cuUCgZNA53jRyFJEx1RrTrecSpp/aFBZ0V6k9jn8US1uljm8wKb1snX6ktsKuU+tVn LYpPlaqQve0YLFOMbFvvKFg749a55f54s6rzo2Rc69vVRZFjknO7MgzaiFyAnI7GNhA7 S/sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=htAnRd+1; 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 x12si2594387eju.750.2020.11.11.17.39.59; Wed, 11 Nov 2020 17:40:22 -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=htAnRd+1; 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 S1728890AbgKLBfc (ORCPT + 99 others); Wed, 11 Nov 2020 20:35:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727898AbgKKXX4 (ORCPT ); Wed, 11 Nov 2020 18:23:56 -0500 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CDF5C0617A7; Wed, 11 Nov 2020 15:23:50 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id w4so2496221pgg.13; Wed, 11 Nov 2020 15:23:50 -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=N2LgTSKfWk09fHPTlpgxk+FWUKycAN1+sy73/0N+lpU=; b=htAnRd+1Sh/deb/MzYSg8ZeA9XmDxI9jAdDA0mdVUSephAAcr+sk4XPbMu2XhoEz3Y S/5IVFFvTCXKr3Ae2ZQ2oJlJxscC9MsoGvPhVpcIIFEvQksXXyUnR/5YBbr0A4lGgkM8 G3Kxj6WM1eucze+yfJK4gcL81WDbpUQDMl4gxQ+ll+Z2EARLhqzfwE03w2DxDNQ3my6h 6/cXJ3qBl08htrN7k2u41QkoXF6cfpVnr696bc1Vgev09HckSFKMVV+8QI4+UJMYSCUL FAjZMgLMCQbzSbHShqrAoyjJ/r3wUcBJm6CVZiVp8tBmFkA27wUpNdX1BHxs18COVb6A jDtA== 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=N2LgTSKfWk09fHPTlpgxk+FWUKycAN1+sy73/0N+lpU=; b=HqFyQ6j7QN3tg8CMANlJYPulC3Z4LE84ZNdAPvJf9owTlh+xWUS7z8XzQShv+oaVUj cQqA+TIGFBckDrum/lIqSYXpubR+5BW1E8+0S2zEGU094sElH4WxW8PupTqBh1UVXVHM Jb/JyJj+r3sVfnG4/mPvvJj0MC87EEiPUEjcluubfFAIWx8ydrk0Ko4AcPTli6zKZ/fo KzYclmUdrKXVdEFrC9g2sGOTEt/YHqET2e2yaQMo27IEW9nw0SVCMAM63+kSYJTcyBc6 OxQ3T5WkMlB4KGm2rkMHc0BTeqTI4e/p4966N+Zx5uGAiRxpVysYu7v98FxvonhYQF4q P3dw== X-Gm-Message-State: AOAM530Wn8YxyEkjLLKmSorUbJgtqs36m7eVoEp4KZzDwLxojQWvXbb9 MYmctDe9e+C4kj1MwfQjkh8= X-Received: by 2002:a17:90a:c693:: with SMTP id n19mr6296334pjt.69.1605137030062; Wed, 11 Nov 2020 15:23:50 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 15:23:49 -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 2/4] ARM: dts: aspeed: wedge40: Use common dtsi Date: Wed, 11 Nov 2020 15:23:28 -0800 Message-Id: <20201111232330.30843-3-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 Wedge40 device tree by using the common dtsi. Signed-off-by: Tao Ren --- .../boot/dts/aspeed-bmc-facebook-wedge40.dts | 112 +----------------- 1 file changed, 1 insertion(+), 111 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts index 8c426ba2f8ab..2dcfeae3c92a 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts @@ -2,137 +2,27 @@ // Copyright (c) 2018 Facebook Inc. /dts-v1/; -#include "aspeed-g4.dtsi" +#include "ast2400-facebook-netbmc-common.dtsi" / { model = "Facebook Wedge 40 BMC"; compatible = "facebook,wedge40-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>; - }; - ast-adc-hwmon { compatible = "iio-hwmon"; io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; }; }; -&wdt1 { - status = "okay"; - aspeed,reset-type = "system"; -}; - &wdt2 { status = "disabled"; }; -&fmc { - status = "okay"; - flash@0 { - status = "okay"; - m25p,fast-read; - label = "spi0.0"; -#include "facebook-bmc-flash-layout.dtsi" - }; -}; - -&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 - &pinctrl_ndts4_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"; -}; - -&i2c8 { - status = "okay"; -}; - -&i2c11 { - status = "okay"; -}; - -&i2c12 { - status = "okay"; -}; - -&vhub { - status = "okay"; -}; - &adc { status = "okay"; }; -- 2.17.1