From patchwork Tue Sep 5 10:30:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wenyou Yang X-Patchwork-Id: 810076 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xmjmh0sszz9sNr for ; Tue, 5 Sep 2017 20:36:04 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D48A2C21F2C; Tue, 5 Sep 2017 10:35:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id ABCDCC21FBB; Tue, 5 Sep 2017 10:35:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 172F6C21FC6; Tue, 5 Sep 2017 10:35:11 +0000 (UTC) Received: from eusmtp01.atmel.com (eusmtp01.atmel.com [212.144.249.243]) by lists.denx.de (Postfix) with ESMTPS id A33DEC21D8D for ; Tue, 5 Sep 2017 10:35:07 +0000 (UTC) Received: from apsmtp01.atmel.com (10.168.254.31) by eusmtp01.atmel.com (10.145.145.31) with Microsoft SMTP Server id 14.3.235.1; Tue, 5 Sep 2017 12:34:27 +0200 Received: from shaarm01.corp.atmel.com (10.168.254.13) by apsmtp01.atmel.com (10.168.254.31) with Microsoft SMTP Server id 14.3.235.1; Tue, 5 Sep 2017 18:38:44 +0800 From: Wenyou Yang To: U-Boot Mailing List Date: Tue, 5 Sep 2017 18:30:08 +0800 Message-ID: <20170905103008.3099-3-wenyou.yang@microchip.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170905103008.3099-1-wenyou.yang@microchip.com> References: <20170905103008.3099-1-wenyou.yang@microchip.com> MIME-Version: 1.0 Cc: Tom Rini , Stephen Warren Subject: [U-Boot] [PATCH 2/2] ARM: dts: at91: sama5: Add the sfr node X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" For sama5d2, add the sfr node with syscon support. In order to access the SFR_UTMICKTRIM register for the utmi clock driver, add the phandle property for the utmi node to point to the sfr node. Signed-off-by: Wenyou Yang --- arch/arm/dts/sama5d2.dtsi | 6 ++++++ arch/arm/dts/sama5d3.dtsi | 2 ++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index d8a65145d6..4233ef8c18 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -122,6 +122,7 @@ compatible = "atmel,at91sam9x5-clk-utmi"; #clock-cells = <0>; clocks = <&main>; + regmap-sfr = <&sfr>; u-boot,dm-pre-reloc; }; @@ -660,6 +661,11 @@ status = "disabled"; }; + sfr: sfr@f8030000 { + compatible = "atmel,sama5d2-sfr", "syscon"; + reg = <0xf8030000 0x98>; + }; + sckc@f8048050 { compatible = "atmel,at91sam9x5-sckc"; reg = <0xf8048050 0x4>; diff --git a/arch/arm/dts/sama5d3.dtsi b/arch/arm/dts/sama5d3.dtsi index 84ee089202..ee0e14e516 100644 --- a/arch/arm/dts/sama5d3.dtsi +++ b/arch/arm/dts/sama5d3.dtsi @@ -998,6 +998,8 @@ interrupt-parent = <&pmc>; interrupts = ; clocks = <&main>; + regmap-sfr = <&sfr>; + u-boot,dm-pre-reloc; }; mck: masterck {