From patchwork Fri Oct 13 10:22:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 115738 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp565003qgn; Fri, 13 Oct 2017 03:33:05 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDqM8i2Gmj/C+u7XQalvzkhDxEeMXZQW75NYdEQhfdiMrpn5QxiB2F7fWOky1Uq++fP/iBX X-Received: by 10.80.128.133 with SMTP id 5mr1592413edb.114.1507890785727; Fri, 13 Oct 2017 03:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507890785; cv=none; d=google.com; s=arc-20160816; b=p/WbrKsTLgluVm4lztelJjKhgCukhOB219E1hL8WLkFbT2OCSjBcNO1MODdV7q08LZ qQZF3nUOFTxOmkE76WZl6SsL81A8MTbgrjV2g66Opggjk/oB8ke4JoX2NXWoQu2alahN aSdBpVSLndmz27NoSRCZso20gyUho90J5H8YR1SCRP2cpPPBxtbOvPqJVKuOqptx74ft 9nfr5ClabAKRHPfXC1PmaD5+Ltf7IaYfEpnhFUt+LRbskhUKHfha8F1wW+9L4BPy7C/k fG0RbXmaAVi79MvTlcvS0AI84l2e5GCaspm9TYr1f1kjq4Hv1CQOccpuHXdLQCwOW/Sw b6zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=cwjBh+iSofPIZKdFIRYPU9fg4DBbRp7HSE8d4As1XtY=; b=GtylsNCSo8T3oWmGJ/KPlGNkzYA2ulLgLHDIN2UnFmidcbQiZ5vxE2LehYrlwE7npL aut0p3XMdxZzURiY5pxN+CNF8D3i+rqjdmznS0ssLs4OQEGZHIeY0daYyCqzF8Q/G4oT 8qV8hcRr+n8V/xOs2wi26+jsFRIO7x78RL7iUm/SuSnBZE6sdTbLWY0200ukm+/rXrBM 5si1uyRIiSBnufhkpkaqzuYos/OSYIACXyW9xli2RrESI8NJi21BUcFRIlEQ6phBG3qu EwxwxP4HOoyLZjAGDp6Epplh+Cn6OA5x562pzctarWvt81NLbCyTlAFFdweZko3d+2gn OZwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=ZdVq50Xl; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id o35si715825edd.385.2017.10.13.03.33.05; Fri, 13 Oct 2017 03:33:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=ZdVq50Xl; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 4E9ADC21F3A; Fri, 13 Oct 2017 10:29:26 +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=0.0 required=5.0 tests=T_DKIM_INVALID 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 28786C22032; Fri, 13 Oct 2017 10:22:56 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C014FC21F03; Fri, 13 Oct 2017 10:22:41 +0000 (UTC) Received: from conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by lists.denx.de (Postfix) with ESMTPS id C2DCFC21F3A for ; Fri, 13 Oct 2017 10:22:39 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v9DAMGxK009903; Fri, 13 Oct 2017 19:22:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9DAMGxK009903 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1507890145; bh=w4msrBRsxqHvVC401MdvGdbDAE8VA4TU/EzS0aVmV7M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZdVq50XlvQZw0WueJN3WWDFo+s7RIP2QdrKzDTtMDRoSOmayakFhTcGq2aJx98+wl OLWxKUifhTjMOxrN19PwC/5+d0dsl8WbBujP53sE+BoK+AN2WJMMYLvmt8j2yDltjq jt4SthZp/LfB8NrJawZ+utvgJUCsixFVlqiqPvRJOpK09VIHKVutTcqaXjiLHZDtlZ 27IrSRix54366/2MiHc7XAAkpYNasoFRGTcMJKAXJmnh29GIUmWjh2xlihRfE0AVKU w+hu5e+3bznk8BDiL6usA3LYPqw9bz9UbPFPL9wtEVBWvF9wgLS6lEngSIi9BJ/435 VSLX/fDMANpGQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 13 Oct 2017 19:22:06 +0900 Message-Id: <1507890129-1543-18-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507890129-1543-1-git-send-email-yamada.masahiro@socionext.com> References: <1507890129-1543-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 17/20] ARM: dts: uniphier: prepare to use clock for serial 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The serial driver is probed by SPL and/or board_init_f. To get the clock from the serial driver, the clock node must be marked as u-boot,dm-pre-reloc. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-v7-u-boot.dtsi | 8 ++++++++ arch/arm/dts/uniphier-v8-u-boot.dtsi | 13 +++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 arch/arm/dts/uniphier-v8-u-boot.dtsi diff --git a/arch/arm/dts/uniphier-v7-u-boot.dtsi b/arch/arm/dts/uniphier-v7-u-boot.dtsi index 4a0c9c0..e3854fa 100644 --- a/arch/arm/dts/uniphier-v7-u-boot.dtsi +++ b/arch/arm/dts/uniphier-v7-u-boot.dtsi @@ -30,6 +30,14 @@ }; }; + perictrl@59820000 { + u-boot,dm-pre-reloc; + + clock { + u-boot,dm-pre-reloc; + }; + }; + soc-glue@5f800000 { u-boot,dm-pre-reloc; diff --git a/arch/arm/dts/uniphier-v8-u-boot.dtsi b/arch/arm/dts/uniphier-v8-u-boot.dtsi new file mode 100644 index 0000000..3d83e62 --- /dev/null +++ b/arch/arm/dts/uniphier-v8-u-boot.dtsi @@ -0,0 +1,13 @@ +/ { + soc@0 { + u-boot,dm-pre-reloc; + + perictrl@59820000 { + u-boot,dm-pre-reloc; + + clock { + u-boot,dm-pre-reloc; + }; + }; + }; +};