From patchwork Tue Apr 16 10:56:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10902705 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 33DAB922 for ; Tue, 16 Apr 2019 10:57:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 129AD26E4A for ; Tue, 16 Apr 2019 10:57:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0712C2766D; Tue, 16 Apr 2019 10:57:13 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham 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 A58F826E4A for ; Tue, 16 Apr 2019 10:57:12 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=lk8KzFaUAujby5Rh7uR58plqT7II0mU3A3mOay2DgGs=; b=doJLDmKSUVpKO0 Ijz9Bh0cHInPVCrUxQ5WQgIkiJMW3EfvQPlVyO+t0eWGUhEe4FhQuEWRug+ukXt81QueOlSH50il0 OQDXy54a5UmITNt2B7giiVY80VxbiSzr1HxqZYjUH0lva9105VhguRpXSzT055V9iWkXgkdZUEFwa BQLBCqivhVDiAXcFXrCpjOpAJZ3QoicI35+zJhJ2vxSPi5/tVhhazXTxXN8JGutbgeqF9HUmRMBQn 4OaIOpFagPsyd7UCkN0PXx1c72h9/Vx9l2n3QUk3va4pNpVfweT/l/+VEFl857ppdyq8NPI+snT+h bWoxkI77d3pEmN/TLGzA==; 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 1hGLm2-0004WG-Ri; Tue, 16 Apr 2019 10:57:10 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGLm0-0004Ts-Dc for linux-rockchip@lists.infradead.org; Tue, 16 Apr 2019 10:57:09 +0000 Received: by mail-pg1-x542.google.com with SMTP id v12so10172698pgq.1 for ; Tue, 16 Apr 2019 03:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oLgEviGZxKGV2+H3UGp5sMGd9P333i5wU/KufHmm9II=; b=dw/5LVKtMSRNuN/ZKVeIwX5pg3vXkLiv00Fryrs3KHEzPie9knXSncGlGtxhChdiTg xGZfA5vCBX+zgOYCo6wZg9glIELHhXZ9CmqavPo5nswtxfh7gDi4BCRzX9wpCUyurq0s HKER+o4QkJtyM3buGJ/x6ZXnFvJWfWZ1C8Qvc= 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:mime-version:content-transfer-encoding; bh=oLgEviGZxKGV2+H3UGp5sMGd9P333i5wU/KufHmm9II=; b=NwFlCLdhjb1xeif8B4hUFtBgxPId6nNe1kCrfdixYpXk2JztnzdKvK+R8sK5KQKeQR 6bphJpStv/j4le3+QP5EfAzd8xt89o0ASdlrOVG7Qg44RyWUolXYRQMZhOni4ZflD7wD bp0iSMwnN9wXOgr+uPMbMMM5dK/v2gLKULO19ZLAnd3LB0XXdsdv5eCQ0wo2rb0vYfLj /ZxilMbZCU3q6UIMq5udx9u9U+1bBVp7xcLfGwG8ydEste++hNB3BW+zmkjUIaghVy0q V+s9ScdcoZ+OhtbCGwABIfO7QICZlyysuSpqhneQmoQQfNnUAs7LTYWg66ExOnoXSRhR QG0Q== X-Gm-Message-State: APjAAAUZ2Iw79RjPQ1+DcH+q87MvI9qNdZuk6E8BVapbUltnyLhLqN6r cTtWa5ILYaAlb9zrzEvOKCOOaA== X-Google-Smtp-Source: APXvYqzVpIV3YojDJyfnymbehlGQRI9zyfk+1djPRAG1b3v9Do4dAY5dxZGRaJMQRhXWL4dfBhGXjw== X-Received: by 2002:a62:26c1:: with SMTP id m184mr44713998pfm.102.1555412227617; Tue, 16 Apr 2019 03:57:07 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id x24sm70368953pfn.128.2019.04.16.03.57.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 03:57:05 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Subject: [PATCH v2 03/14] rockchip: dts: rk3399: Create initial rk3399-u-boot.dtsi Date: Tue, 16 Apr 2019 16:26:36 +0530 Message-Id: <20190416105647.18437-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190416105647.18437-1-jagan@amarulasolutions.com> References: <20190416105647.18437-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190416_035708_501318_D3922036 X-CRM114-Status: GOOD ( 13.49 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , u-boot@lists.denx.de Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and which is U-Boot specific devicetrees binding. Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot bindings will move it future based on the requirement. This would help to sync the devicetrees from Linux whenever required instead of adding specific nodes. Signed-off-by: Jagan Teki Reviewed-by: Paul Kocialkowski --- arch/arm/dts/rk3399-evb.dts | 1 - arch/arm/dts/rk3399-firefly.dts | 1 - arch/arm/dts/rk3399-puma.dtsi | 1 - arch/arm/dts/rk3399-u-boot.dtsi | 8 ++++++++ 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 arch/arm/dts/rk3399-u-boot.dtsi diff --git a/arch/arm/dts/rk3399-evb.dts b/arch/arm/dts/rk3399-evb.dts index ce004d0d18..9162f3dd50 100644 --- a/arch/arm/dts/rk3399-evb.dts +++ b/arch/arm/dts/rk3399-evb.dts @@ -155,7 +155,6 @@ }; &sdmmc { - u-boot,dm-pre-reloc; bus-width = <4>; status = "okay"; }; diff --git a/arch/arm/dts/rk3399-firefly.dts b/arch/arm/dts/rk3399-firefly.dts index f90e7e88db..46f2ffaf8d 100644 --- a/arch/arm/dts/rk3399-firefly.dts +++ b/arch/arm/dts/rk3399-firefly.dts @@ -592,7 +592,6 @@ }; &sdmmc { - u-boot,dm-pre-reloc; bus-width = <4>; status = "okay"; }; diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi index 8304f67192..9049694243 100644 --- a/arch/arm/dts/rk3399-puma.dtsi +++ b/arch/arm/dts/rk3399-puma.dtsi @@ -492,7 +492,6 @@ }; &sdmmc { - u-boot,dm-pre-reloc; clock-frequency = <150000000>; max-frequency = <40000000>; supports-sd; diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi new file mode 100644 index 0000000000..f533ed95eb --- /dev/null +++ b/arch/arm/dts/rk3399-u-boot.dtsi @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +&sdmmc { + u-boot,dm-pre-reloc; +};