From patchwork Mon Mar 11 08:20:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 147 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8E6F53F03C for ; Mon, 11 Mar 2019 09:20:20 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id o67sf5323955pfa.20 for ; Mon, 11 Mar 2019 01:20:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1552292419; cv=pass; d=google.com; s=arc-20160816; b=p2E4su8g+2H17T/+wY2phvsSrFE3iokecPVTRNgNcxMCvrjTicEbGaR1oSNPljPQs1 XZCAjGqJHy/qpv5MTWKnbMKdloOV0pAsjwWr3WuhgX5gULWuairWyOdCi+din3XW4aph DWkXR7HIv06sfdtJzb++ozLHjZkUMcGDD0zj9NEl2ZTlm8hAQQT09VkWZNR7CSHCJlv0 1rdWn01eHdtB87sXC7qxjnjPx2ns2XRLfJJ1tUl2zRyXsa3FXMtAg/pO8odaeJSKHQ5M mjAWEVD0ro2gnF16v2C0KLDd0WsSWSItnsohBeg8N6isQPqOF2AV7/iJlRbJInvnHJ5w kadA== 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=KfEH941W70KLQOF7ft5W+Qeucn9YXtFdVTxbFmSwypj+5RXeSt6GCsQagyiSNxmRYu dnVv+o+5jeoteTyHNMdfa+Pv9cCUwe/tK3Yckcs3Iw7s7wUniWWXHbaq5uvYTmJMwEDk rtxe5mvZKiYy8wtX56IPnX5GEFBPGZ1ecdhHrTe527SaLlON8UTCUVrVhlpgC6h6uT/3 I+jNyCJYxQJlddILudgwZYzo1tjZ5hWyqojzzyi7ngjQPXh3S0hWmAr9MBmfVtGbBwqW NMY6YJcqIvvdpFHiGkCGX4qSmCD24NsitSaJMt8aoFbeMQE9aDlGc4Rwqyly0a1ZcX9p FhVg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cEwIxSwt; 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=lqNrj/Z4VGkqf2X1FFv/Zof/gmkvefFQ0+GAUZhgARjaesKj0fKpqnxf2gts4B7r/Y 2m6Tff+sGGPqNRLKEg0rjp3cPfNggFy/kz+bM1g/2HEFhxnE6QmNLPjRTirARUxkWVx3 nPlTIJTzHDJOwPnehwfnN89K32ibMCPvOStz4= 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=ClnWn1nEUZ462KxUM9CYfb98bA8gJ6hrnVXebIeX9QxcQbc85fKB1ZzedMfIVU5bVC aks55Dsd19j8Fv1JnC/NcRSKc84ul0OFyFpAjod7/OXioYUOau0K/Mx7TH8+MdWEn+fw eV5N3YaEh76TQSe1zOlMd6Ud95p5Gpqg5qD95GbVCmh7OEZLqlu1RGa8u4ZVJMl0ey6C Srt4k0ZClCNrrLg+jEXqKVQWHeey2ZWCHaIMxZFe4Fq/bVGjbewG6XZ+zvLz44sb6Hjl oh5P/MXSXulaHA9QMTzJjcRkx3dNYx/3hLB2Ug3sGYB9ewzRShtdKMPb6gnDX/mi29Ni ZkYA== X-Gm-Message-State: APjAAAVTQ2+BBKPkbxGPwEZ71yDxcKuB+wBqJx5BM0PgVMLhUViVpMDL 2G38AkvTMT+KjQ6LkpnMfCTMagRa X-Google-Smtp-Source: APXvYqwNtYCYG3AR+4sISjG162FCBmeG+g78T3hXIW49rAKVVqSjNQwf81bY3jB7UstaRWrsNghPEQ== X-Received: by 2002:a62:e010:: with SMTP id f16mr11561922pfh.16.1552292419200; Mon, 11 Mar 2019 01:20:19 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:4554:: with SMTP id s81ls7369361pfa.3.gmail; Mon, 11 Mar 2019 01:20:18 -0700 (PDT) X-Received: by 2002:aa7:8750:: with SMTP id g16mr5422940pfo.123.1552292418831; Mon, 11 Mar 2019 01:20:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552292418; cv=none; d=google.com; s=arc-20160816; b=v4iAI45C23nihhXVhLQ0+ZgnFzGaEdZZx3Uczjzk0EJx7YdQzKxZcBFsJWzYEhGIKT piH+lIUsXJWjhKd3H4lOzu6MttJqBvgGpjMOw96cvzJx2E0Arhc4opkZxUMRyaTLn2/b U1DQZVQVwNV/X+MON2qqBQhEXWVM0K0Ij1Cnve4flNHPntK7pwkCW6pjmN3FBrYmC86l RkbCkye6CG3zIRYKxwtx/ewhY/ACpSDKFTLAoRuGjUYCiTZvnVX6jOMF6fwsDfeoGp87 7Y2oRr6ANp2CSGtvLpvApToDdsXxssK8Cba3ciTRZeu858zr2TBfD9ZdbNoVdhvFHWDe Tvhw== 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=o6qL0hP1IqyKq2WeZROZYCbX2frpxFNRfimF/JJB8ZjS7V+TS9a33MIu6jmkTLgU7m Ke5JwKwv0MxVS4JlSIYZTjwfMRb8GF7zhGbqqxrG4qVsHaekr+MCiW1XTS0zeSjdMvYK wFTHL/GV7WW0CFb/ipcjVvm0n1Oay0Zh3fPitS/0TkHYjqF/XFoP1ALERO/iFgSlmL0V Fu/RCMf6kWLHvAx9uE0P4uMhOsaYR8Dxwu9o9xQp2D6nHg+r1mrqJSid67x91mDL/yvG +CXvvAx/xwDO1BOnJJXy/h+K9BFNxKtFBSwNfI3r4bHt5ofXpu6P8QoX1sZBIc4uPmRH fOFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cEwIxSwt; 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 a8sor7315495plm.39.2019.03.11.01.20.18 for (Google Transport Security); Mon, 11 Mar 2019 01:20:18 -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:a17:902:850c:: with SMTP id bj12mr18180898plb.69.1552292418080; Mon, 11 Mar 2019 01:20:18 -0700 (PDT) Received: from localhost.localdomain ([115.97.184.151]) by smtp.gmail.com with ESMTPSA id l5sm8262196pfi.97.2019.03.11.01.20.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Mar 2019 01:20:17 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich Cc: Kever Yang , zhaoyifan , Akash Gajjar , u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 2/4] rockchip: dts: rk3399: Create initial rk3399-u-boot.dtsi Date: Mon, 11 Mar 2019 13:50:03 +0530 Message-Id: <20190311082005.18550-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190311082005.18550-1-jagan@amarulasolutions.com> References: <20190311082005.18550-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=cEwIxSwt; 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: Philipp Tomsich --- 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; +};