From patchwork Thu Apr 25 17:34:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10917529 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 B4538933 for ; Thu, 25 Apr 2019 17:35:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99679283B1 for ; Thu, 25 Apr 2019 17:35:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B60D2863C; Thu, 25 Apr 2019 17:35:03 +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 2F905283B1 for ; Thu, 25 Apr 2019 17:35:03 +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=vxhikFbEZB+MmI4yvF2TjMRAeygtoh9oDBnmrqvSn0A=; b=isNkTdP3vhe14Y 53+lfsDZK7rPLDvTomXAvppqij+jlXdTwgflbxdWyxQl35AA+CcOkWI/+mLhn3jgXJrpelkfbP0a/ cktEFtBwnjKyR4Vmq3UtsWa4RPxSo27sCcoMEJCNDcicZ4wfWi90GOwl7XzHmcJV3VHzfB2yr/Y+N CekFX0kir/sNDfhnRHkn4JwAyKDU/4YmLy4nLtm1uR6HDjsT2XK52n7JGjm0G95XGl4N5nG+4/r9h CMxi0Ysj766Gyvz8v2xDdTjo5ct1RexyGnrKkYDYBkohu+Viyc4vgSV6SVvPgq2MnrD7ExpzMX+uV Khj59uZHJ/WCIJfafPcg==; 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 1hJiGy-0000IY-Qq; Thu, 25 Apr 2019 17:35:00 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJiGv-0000Fn-PK for linux-rockchip@lists.infradead.org; Thu, 25 Apr 2019 17:34:59 +0000 Received: by mail-pg1-x543.google.com with SMTP id k19so206319pgh.0 for ; Thu, 25 Apr 2019 10:34:57 -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=r+v9pTUEzK82bdiFTgus9L7UjHVzZLDhVq3HmF1YZ9E=; b=oNWUCGXLyZ7Cf4u7vDRvxu+PLUgxmovOQ9qFXaRAZib7UDiCm6cxNi7QRd6Jg+Ee8N MRId8alViU+YYEgNlvjSntrhqAl6U6Ixo8KDknX69xanExs0HvwVrHmCuBoWfEW5DB5i FhpaHsCY+gtp4w7PJZKifl2eVSXYFMlYDpHU4= 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=r+v9pTUEzK82bdiFTgus9L7UjHVzZLDhVq3HmF1YZ9E=; b=Pqm1SMC5jL31Bk/Ny3U8nffKibxT1ERo1MAp59pN6deHr0i7uud5tdDByPAw45j3R6 Lj2hxPMTHInjI/s4hWVjguF4npy65K2wvJNT7A38pPQsRrjtSz8zLk+Yz7WguIlpgosV Ia9qfMYJdyWVAg5HRTC1BNYWVXb77lpYxvFY8gKUMmc4WP0HTsTic9WlQYCl56Ade09w S/DE8/Np0cb99o4JAlcgB3s/aHH10l7A3nmXu15/cqHds+mvjTvzOPBZ66k2wUiHbhPV yWhuV8asT37Uo41x5Hecrxc6caTcKC83Szzw3qrDM2l64zvrZoKn68pq9QM9AYVXDsrB /3pg== X-Gm-Message-State: APjAAAUnRx8XBGfVD6JdYoQyBncsE7s+VOEBEnoQEVch7QrcJpBJFLlj WqW+J6XAN8hyaRraWkTO0Qtudg== X-Google-Smtp-Source: APXvYqwY8P1tLFy5ysGKeCity2JdGm5kk9C4Y3GKIAIM3eA3/glpYl3ETabE3dwAylpzMAJfY0nabA== X-Received: by 2002:a62:5185:: with SMTP id f127mr41888625pfb.199.1556213697063; Thu, 25 Apr 2019 10:34:57 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id i3sm38265876pgl.57.2019.04.25.10.34.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 10:34:56 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Subject: [PATCH v3 03/13] rockchip: dts: rk3399: Create initial rk3399-u-boot.dtsi Date: Thu, 25 Apr 2019 23:04:17 +0530 Message-Id: <20190425173427.13445-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190425173427.13445-1-jagan@amarulasolutions.com> References: <20190425173427.13445-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190425_103457_991343_0AC79C98 X-CRM114-Status: GOOD ( 13.88 ) 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: Paul Kocialkowski , 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; +};