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: 214 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6C62D3F0A0 for ; Tue, 16 Apr 2019 12:57:09 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id g37sf12328955pgl.19 for ; Tue, 16 Apr 2019 03:57:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555412228; cv=pass; d=google.com; s=arc-20160816; b=oCAbwjHoKo8F9ULtYa6K1eUeNi8IFJawls3cZ8OEnVHq1O5ojce2cP74+Cn2iFW5n0 NYCDdvun7yGTpvAoD/QB2XIMkXeZJeLt6jEoeejx+Sj36J6ikrqO8qsCObuAOkWW+ZAV IcO/ItYtXkoU8xG7gxRaZIQ00OIjkVVC1RBuVstVGvRYUeB1dtsEVh2z5UdIxEYsSiMZ Tby+aX/AlPBB6fnrGILl6IOOL/uBsUrfDsroU9LiYFOjQrasTmRWYn4DIsuj0oVW16AR HVnhk/JPGizndfWdz0wnN/RR3m1TQo93njsA96q7MuIvwa4F+IgX0mSTtaxkfoQ1D651 XOFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=rs5ohBV1FaSmzErJij2ac+XwVRcy9SzijZZ6a0MP1jk=; b=NeCF0FX5frvKg8g98lMh6D6nbu5FUhl6oEvBjGZDwR0baWsXHUd/AgQ6SmHBNNJBbB hGOf8S6zpcZua+bKjV/MOIixiihgTYZ8ra57A//KJwYx4P2/r5cM0qWsn6Pj0o8LXqAA BAZFRpJIUrv+ufswFqi7jOZZ8sQt5LEqutnnvjaR/hvu3jc7q9jAUhzHbWv/DVeSM30I tQhqf3ZrL28h8mNtYyJyM/So0TnOB3ZjYcy/ze5pk2Ay1OZbf8QqgsFUAo5WtaZirjl2 Vk8cqO8BS4bNEK30mNoWgyZT1f1+7FQIdbV6elEtcg17/M/Vyu8Ybx9hiE3bgJZeoSEZ XwAw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="dw/5LVKt"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=rs5ohBV1FaSmzErJij2ac+XwVRcy9SzijZZ6a0MP1jk=; b=ibYo6dpcj42iB5MRNyPhs0dNlsqmTC7bFyJ+gRbcfUzsMiB+lnML/nQjyquMmfQzjE 7Wz06FQ4xAYw0fZcD0e5SsPo1mQWSykWFWAg8Rm+IJhn6het6SHA2aFCdvi2Kd40370U BU6UBBC0A1L6nM4a0Jxam2c1d70a9gQglf7Sg= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=rs5ohBV1FaSmzErJij2ac+XwVRcy9SzijZZ6a0MP1jk=; b=h9iYFJXb7EN7KEm3CrlWRHcPn0jL3OLbZ6G1UPE0pEnndJkgNUJiaKPlIMPUP/sEaN am7LiubBBxVHUkQORT0CbBlp/gwR7tQYNSKSg6bJO0Ff3UZ/nDqrP27+m0owzUDhJXaz n9vaj3V5rlnsKsU6CDuqpQbs5b1/Jyw0BqciI7XfA6SdCE9Jsik9Ih5IDgGmsBvBRirj yuv/RA33AzBAm/2NkmyZXLVr0i77eh2MjJKr5IPOasMQrRC96Qd4tncJjJdTe3KDabif BP1bRq60g42NHRlSU/4HJ/QaFCKrzcESKnFsBTO7AklUlg3JylG95PlJeT/Ydrb/12gN 6IKg== X-Gm-Message-State: APjAAAVn6O7TNzYPMYuEj2gdxMKMvy4CYGvUElc+QC47UC8LnGo8sVzp qvzg8CExji6D6K1BLOb5F8/lRp2K X-Google-Smtp-Source: APXvYqzjZYTQhGHb3qZQ26JcqoBH1BrHZFNja5UPlnC7KUXBUQItw+QZ4RGDSEFylHtougNpfHieFg== X-Received: by 2002:a63:bd11:: with SMTP id a17mr1910951pgf.104.1555412228221; Tue, 16 Apr 2019 03:57:08 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:ba86:: with SMTP id k6ls5758114pls.10.gmail; Tue, 16 Apr 2019 03:57:08 -0700 (PDT) X-Received: by 2002:a17:902:f089:: with SMTP id go9mr78628513plb.309.1555412227922; Tue, 16 Apr 2019 03:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555412227; cv=none; d=google.com; s=arc-20160816; b=RXCNvi1xSFlWybqLlKVkoVyUppA76o5vRqyF4byNoXDckbBo00soiXYCH8TXPfT8/G et7bu3riPmb6Rvu9MEwm+p9PWYzBwukuzdNj+05ZuFMu44BC7TeKysWHra+7d051lQI0 +xm8XreeaY5mkinKVGqgMrGSSI51IZOn2r2S34rnsxLB8+2tp3EMObUbp/UsFFYSmAso BoaSzEDFHASlaadn1ydN5HHKHTjuy/64U4dJek+aBl8ThBrRLGe8YxEvgdRzzltFZdmf LT7u84BL/r0+2FNeZiAgTjtxH1GcX2fbNGOgGaFKBPB4C815z4ri6Z6iYPQBbC1W1QfQ kBdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=oLgEviGZxKGV2+H3UGp5sMGd9P333i5wU/KufHmm9II=; b=lBWed0xpz1T+SLfIv9p/d8nGZ2btyNfEEarB/Gq5ukymd0Gk3fC0AAEtd0vMzCSitW jaLUaTQ1VF7pCL8FpP2Mojg9UwI53yTASGRRgvN/Gdq2KZI3fm8zYotv/r7kjhRQsA9I AhJ1i98Yo5irJ31TQSERU6Y0/0bw/BuBUUBhgMO0lLJS6QlH9B/p8ab47hx4x1ysjcm5 0Wgrf9SUhTQ3nIFWcR1Cwe6nLXV8fLFyJhOsuuBsLhPijWkjHBCrpyPgfd1TK4xBsWUV XU5i0SjBVpaDw3tOFEu5h7rvGla0phKrrXJVeT9LpPuwPfHX2DXIw7OD0LUi5fT8Mr4f 4ITg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="dw/5LVKt"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d83sor55727630pfm.41.2019.04.16.03.57.07 for (Google Transport Security); Tue, 16 Apr 2019 03:57:07 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; 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 Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="dw/5LVKt"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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; +};