From patchwork Tue Oct 25 02:41:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 13018432 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 295AFC38A2D for ; Tue, 25 Oct 2022 02:44:26 +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:MIME-Version: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:In-Reply-To:References: List-Owner; bh=1juZpCGuscrPRe568i2pYSlu5ymsj2iPsP6vYU+/Cto=; b=LcW8gadlUvTImo A75IGVmpXUOtb+L4HrTdeVAOVdZ9yGI2M6NSbx/iJH9xXMETz6XwB70tPg3qqdcHPTLUjcK3CL4oB Jh1qBwDL2aDtrUNA+oF5WpuptKGP1CtMVsVeGj6cMgMu+beM2SHXKFlHFxZBKraLM55Ym+93Wb/6l RrQQAl4ZP3gXeHZK2swceL5kzCczyDej/VSRJUEhK7D2eGXvPJzpv2KpTW3upgCM3nwssdHAqiiIh zyjEnjIKZ7alKoxbEKTm5Xh3yEXPQQnGBjXWNgn1zKrIkS8CKJZJBJkBaZlLJQqQtAjPreIfaz/3s qwOMmA9/WsQKrz7eSWYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1on9uS-003isa-Tw; Tue, 25 Oct 2022 02:43:21 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1on9uP-003iqr-2S for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2022 02:43:19 +0000 Received: by mail-pj1-x1029.google.com with SMTP id m14-20020a17090a3f8e00b00212dab39bcdso8364439pjc.0 for ; Mon, 24 Oct 2022 19:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mV+GmkM5T+Z4YGFSVgtClSbjpVnm7tENAQZ0qymGquE=; b=o/rfZHK9lBRIPYU0h9n8rn/cmxibbkidswYdgOYctV33CCbkpjR45aK58E9qHNDVTZ YXqKjXynSwKH81l7CyztTBx1+7b6aLnyWZJVaiSsshXznCRBK7xvKzKZpf2pTM5s0KIQ OWhqsKHpTs5OU64XRIVEP6bVCHok0ZBRg0yI11+84VW9EbqQQ8BoFRXmNN8Ok3TQrpZ2 RuEvslDRrRcA7d+MH9qGQ5EnKEjht++ylGJxuGrpKRTiLta8e99xboE4oMWHLAeG5JOS +SkC+ekpU8SqAnztMFUH4x4Ex5n0+pErx/bCLh1IAU31rE6ai4To3Wu7bsG/4ufj51Zh PqVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mV+GmkM5T+Z4YGFSVgtClSbjpVnm7tENAQZ0qymGquE=; b=Cq+FxTpgsbfRrBiJ0hVdeQTIHI6h7bEu1n5sAlmC5Pz1rt0gXtXLrFCQtSeupJx7N1 yobroO8Z9Vyu4DhzTCc9eXwtk6X1Odg+aF96bBXDa/g8htsp9w53Y6nQL1CDWUsXHvY/ GiTSHUx81pKepvG9/tSI9wZ0B3rLC6D+QKuk5+FwVK+jUpbuFplqOuxfnAWVOs2oLhrQ 6uh6UUl+qNwV4fSBH8OjaqM1zThNEk3nLLlHd8eorCoJZvi2TR84juox0Yk6uErAcNSQ szZH3eLMj5RHdKyjsMld2zDV/k9Dbc0FTFGVyq5qFXPWtnORxWoE0fqB0SbOjzXXQUMs jfXw== X-Gm-Message-State: ACrzQf2GueiO66wIO5dLniKAEkfNeLr4Op364DXb+7LycrTmkHp3E9OB II6HYw4RxTSWb5CIP7cT2HGdwjBqYY8= X-Google-Smtp-Source: AMsMyM6Gn9mitFHKGNaBOVjMemkrZDCwBoVXWp3zLOWC+8DpJz3H3JZkZk3J8nbXfblaGsgUI2XRww== X-Received: by 2002:a17:902:e742:b0:17f:6a44:ee4a with SMTP id p2-20020a170902e74200b0017f6a44ee4amr37219795plf.103.1666665788091; Mon, 24 Oct 2022 19:43:08 -0700 (PDT) Received: from localhost.localdomain.dhcpserver.bu9bmc.local (125-228-123-29.hinet-ip.hinet.net. [125.228.123.29]) by smtp.gmail.com with ESMTPSA id p12-20020aa79e8c000000b0056befcd7958sm458516pfq.84.2022.10.24.19.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 19:43:07 -0700 (PDT) From: Potin Lai To: Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Patrick Williams , Potin Lai , Potin Lai Subject: [PATCH 1/1] ARM: dts: aspeed: bletchley: add aliases for mdio0 and mdio3 Date: Tue, 25 Oct 2022 10:41:45 +0800 Message-Id: <20221025024145.1561047-1-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_194317_148897_4D1D6DAB X-CRM114-Status: GOOD ( 11.22 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add aliases for mdio0 and mdio3 so that we can use name to lookup the address of Aspeed SOC. For example: root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio0 /ahb/mdio@1e650000 root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio3 /ahb/mdio@1e650018 Signed-off-by: Potin Lai --- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index c02c15f15465..2825d5f3f78b 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -15,6 +15,8 @@ / { aliases { serial4 = &uart5; + mdio0 = &mdio0; + mdio3 = &mdio3; }; chosen {