From patchwork Fri Jun 15 13:40:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Whitten X-Patchwork-Id: 10466517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A19B360384 for ; Fri, 15 Jun 2018 13:48:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E75F9285BE for ; Fri, 15 Jun 2018 13:48:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DBCE0286C6; Fri, 15 Jun 2018 13:48:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 90069285BE for ; Fri, 15 Jun 2018 13:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ir2n5zZdopZKQvGHEUp2WMv72TvOMe0+uYUbuaSK9dY=; b=W/vpQV+8DtpOiBxR37pl78F3PU MmD+UPDL9CQJXLKcbJjLHejzptbsZBttmwK6kuURMFcOQEb0jLMWxyDYFgLqM6OB8D0SxL3vIk+9D sfA0sQj6uG5OZ1WGvdOY03aN96MbkVVqBy/ueYVUtigzV8nSwBE+s6b/LFf6/ushFulvWs93w+bbw v6gv+VJe0q9hfBSIq5O6nW/+Qa2d/FGlqaax4RcLKEQVHMI21HUAJ7ZWhcciXdPkfjIYSS3ejNPpj IaxdiEXl9tEalaQoPElRdXJxeVjB4Hgohk4ru+BH5yMAZBYCYvJLZ/BY3DwrpUwcmzCGwKeTSZg78 pEc4d5lQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTp5k-0006vp-IH; Fri, 15 Jun 2018 13:48:40 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTozt-0003jt-RG for linux-arm-kernel@lists.infradead.org; Fri, 15 Jun 2018 13:42:59 +0000 Received: by mail-wr0-x242.google.com with SMTP id d8-v6so10000521wro.4 for ; Fri, 15 Jun 2018 06:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=mK8rbkkSjdUw4bWGYeXhoUYY1D03LPWDK5J5Kn2RXjA=; b=lAdb/DD2vs6YwTKrlLB/QOA52TjmXxKfRulb6BYSYyF/BLqzJsVleLz3ceaBd6kNup l+0aUjeFHRFSTGTppQp6Loi2lNH+5JScM42aFFqRYwV7OPm6VdRJy62CJxP4Q1mVpNmN bIWskyWg0tiReDzCrieIIgNaXRPL75hvSgguxiA7UIr88ARtwkeLx6pcu56R+vYcCE/c rYHPWz55ZFjufmrf1WN16xTtEvtoabOvFzV2HYGp+6MX9w94rX1m0K9DULyBoEGRhSxN 1N8jB32DhnVueOYNAqLhVW3BYJHIpZQOdnAgB3tzfRC6lfpppuSRbuFBcjamGSEkGIUr 91cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=mK8rbkkSjdUw4bWGYeXhoUYY1D03LPWDK5J5Kn2RXjA=; b=WQ3v2NyX63RAf28V1n3RW/siA0HC/PNARZH3hdYNwLMhzMYHVcg8BxhmAkAVvLj+Sp mW/hHzVuNx+vpl5B8kevDyB8bbyoEvQbt2P9tiu0qinAGIX0Qp6VeXdqfm0mCZnVzTDC gpFktVNsE2MLNnVsHERIwKJdC9d9PXXuvghxxvs5ecbSuca514UjwC5WjF2SxqUQnFvq 77MExNXgHkK1gPQWo2JW5S7OYO2sEMf3wo82FRXPYKwt+hSzWKERtdJr+a84i+QVO+50 Lv6AMCC0HfNq9JICy5z1H0qXDeHhdLbYlDhLun9/mAVGYGzFQUr+3ovTn8GNpNqLbBq+ zOXg== X-Gm-Message-State: APt69E1Fo7N+88M6IdwJSTHCBSv4HIOdVDpWnBGZX1qNQGtDGleF9An7 FsG12HmzHp58D8YChWmaciY= X-Google-Smtp-Source: ADUXVKK15mKyECoLQcLdFP4X2wKIW82G/Wlj/zJt2mCraFWiOCRjnyLO7kj+I3daooupgeOFnWtplg== X-Received: by 2002:adf:ca03:: with SMTP id o3-v6mr1745474wrh.148.1529070146260; Fri, 15 Jun 2018 06:42:26 -0700 (PDT) Received: from Sarah.corp.lairdtech.com ([109.174.151.67]) by smtp.gmail.com with ESMTPSA id d5-v6sm9816346wrp.64.2018.06.15.06.42.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Jun 2018 06:42:25 -0700 (PDT) From: Ben Whitten X-Google-Original-From: Ben Whitten To: devicetree@vger.kernel.org Subject: [PATCH v2 2/6] arm: dts: at91: add labels to soc dtsi for derivative boards Date: Fri, 15 Jun 2018 14:40:51 +0100 Message-Id: <1529070055-18701-2-git-send-email-ben.whitten@lairdtech.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529070055-18701-1-git-send-email-ben.whitten@lairdtech.com> References: <1529070055-18701-1-git-send-email-ben.whitten@lairdtech.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180615_064237_907847_867D6969 X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, alexandre.belloni@bootlin.com, Ben Whitten , linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds labels to commonly used device-tree nodes so that derivative boards can avoid ahb/apb hierarchy. Signed-off-by: Ben Whitten --- arch/arm/boot/dts/at91sam9x5.dtsi | 8 ++++---- arch/arm/boot/dts/sama5d3.dtsi | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index a3c3c31..11c0ef1 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sam9x5.dtsi @@ -389,13 +389,13 @@ }; }; - rstc@fffffe00 { + reset_controller: rstc@fffffe00 { compatible = "atmel,at91sam9g45-rstc"; reg = <0xfffffe00 0x10>; clocks = <&clk32k>; }; - shdwc@fffffe10 { + shutdown_controller: shdwc@fffffe10 { compatible = "atmel,at91sam9x5-shdwc"; reg = <0xfffffe10 0x10>; clocks = <&clk32k>; @@ -470,7 +470,7 @@ clock-names = "dma_clk"; }; - pinctrl@fffff400 { + pinctrl: pinctrl@fffff400 { #address-cells = <1>; #size-cells = <1>; compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus"; @@ -1206,7 +1206,7 @@ }; }; - watchdog@fffffe40 { + watchdog: watchdog@fffffe40 { compatible = "atmel,at91sam9260-wdt"; reg = <0xfffffe40 0x10>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index eae5e1e..1408fa4 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/arch/arm/boot/dts/sama5d3.dtsi @@ -494,7 +494,7 @@ atmel,external-irqs = <47>; }; - pinctrl@fffff200 { + pinctrl: pinctrl@fffff200 { #address-cells = <1>; #size-cells = <1>; compatible = "atmel,sama5d3-pinctrl", "atmel,at91sam9x5-pinctrl", "simple-bus"; @@ -1340,13 +1340,13 @@ }; }; - rstc@fffffe00 { + reset_controller: rstc@fffffe00 { compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc"; reg = <0xfffffe00 0x10>; clocks = <&clk32k>; }; - shutdown-controller@fffffe10 { + shutdown_controller: shutdown-controller@fffffe10 { compatible = "atmel,at91sam9x5-shdwc"; reg = <0xfffffe10 0x10>; clocks = <&clk32k>; @@ -1359,7 +1359,7 @@ clocks = <&mck>; }; - watchdog@fffffe40 { + watchdog: watchdog@fffffe40 { compatible = "atmel,at91sam9260-wdt"; reg = <0xfffffe40 0x10>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;