From patchwork Sat Apr 25 10:53:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1108 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F06073F08E for ; Sat, 25 Apr 2020 12:53:37 +0200 (CEST) Received: by mail-pj1-f72.google.com with SMTP id i9sf10497788pjs.4 for ; Sat, 25 Apr 2020 03:53:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587812016; cv=pass; d=google.com; s=arc-20160816; b=yv7/6NKlFs8JGoRXsu6qq40Bjr8xWoORSfxnYZEJukmqP7byaT+zOfGR0LAZ6lvhvu F6ur7LXptXuuBVmjnz+u5To4vwQPAHel07pxZeanYwqSWT3lpUABJvRdrV/VfCA+XJ7Q PbVIJORX4+kl+xrVTZLsmnFBMXv2Avrtant0vjcEqNw8e+yWZZszJGYNFAJnIpSQ+Whl XMpUzhQk9NSzcvvhxgWGEgAZIiYnj9kR5gMp3TooRtPOAQccZNIwZ8MMlkNkfJqHsI3C HqpOD8d9iL8iK+1F0TtKwetH3BGoY5M5PpYcZUgm0MRK3boUGUF70iUa+7Wsdpfblz9o j5PQ== 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:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:dkim-signature; bh=capcDZ4bmekOHGv0+ZtcVXU5ntHZOexVM4rhHxZBicQ=; b=Af79yTUZGWkTaytu4daNwud3m1igskSwlaU9OYjjv2aN+68xv52YbD/Bt+bD34Q1IN DPwkmO+wp13WXlxtzWVpTeN1oat/8ElV8evWx1/erhYWpn/oViTNAMJp823KsSgrtJEM 9XwoJM4gbOMbVLceAUqsHyqegsQSIP1zttRuR9/NOd0oD8wyKpFc2AXnd5sUpj3laomg 0Y82IMYO2AdHyHFwIVI9RK5i9/LPBewRV0n0ri2Yt4dNMPn/JdlXvWgMytaitERF0df2 t5yegX4r1OAXNpn0YkFluDsrnQxmfjIyrt+WaGYAdSjHYxpTlESqnrOhnIzB6RT+07Yo gF3w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hDrqm4sP; 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=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=capcDZ4bmekOHGv0+ZtcVXU5ntHZOexVM4rhHxZBicQ=; b=CBr0zpL0apzX/zppO+IK6VZkVB9d3jeQD3cPufcvJNWccDPa8YDpRhuct//CZCK0q8 oLY1XlHGzTqAP8EB+kF7rbcBtVSSBGIdFYmw4+Wue9NjNzzCjPkATzynvz9RoUVZKz89 dvFNYtonk2sVievkwcRR2xJ1zPm4gQU8Ff6P4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :in-reply-to:references: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=capcDZ4bmekOHGv0+ZtcVXU5ntHZOexVM4rhHxZBicQ=; b=bdIIE6bOgOqlAxsTqhH8oT5PzJJMB3U0KBrGnQeDvtZHT4+ne17yB9iBf05SEkXp0W GSdDFR98K+fOM3AWOAqTMvccWUKgA+GTpOn4Nq6w5q6WwVAFDBNKbz73GoQUF68AzHO1 /wq26Vt8vVU9LWS2Vujruj/SlA7Dtv0Tzf4bqqBD6whW2RdqZKPyW5CcoJwEPhVa42f0 FeklmZQs/bmQUmzpYosgRWwouLmyWpIEp5uy7Lpa9LI00hNGwnPPx+VAQkRLehnaE+7p n0ldzWag9oIo8CdhZKZ/vF0FA5+7xy1wN2zf1thQ318EmnhlTM5Yzlo14aJmyHubOCex n0Pg== X-Gm-Message-State: AGi0Pub9CF7M8Blen+cghhAY2HNTcOGMd2tOoU8DQKBx8zsM68R8yCJx jrywpCJtPGMid8JIfpOa2NlxRs6J X-Google-Smtp-Source: APiQypJafWEd2Ym4/LHp2i4J8/M4ttT4e/MNVc/QJ91irtaqsjoik82XTpdNNBQTrTkZly1a7I4C3w== X-Received: by 2002:a63:e957:: with SMTP id q23mr12692443pgj.401.1587812016679; Sat, 25 Apr 2020 03:53:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:7790:: with SMTP id s138ls9092366pfc.11.gmail; Sat, 25 Apr 2020 03:53:36 -0700 (PDT) X-Received: by 2002:a63:1705:: with SMTP id x5mr13869499pgl.12.1587812016195; Sat, 25 Apr 2020 03:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587812016; cv=none; d=google.com; s=arc-20160816; b=uH+ZbmzdLjKrdzDbz97ksVFi57pHm0XXnU6G5mjW9m4F4gdxKdZoRmq/+qWRBSFUAK jFXHxn7yYNbGWTsvJqFH3ceXmIC0Bw0VCLvfG75KNq8S5TcS+nP4B9yG0hF5iE/1Yn8c HdMP1ZYqAmP1aNsaHI1GuDzz0XhD469008gHUe4tQcmMfCXRriXgzpUT6xAyE67x4QcN 8XmIIuCrx08w1eZSZ5rWAj1DQRhYpgpsTZaKAYQSaSSZgUuKsGpes8MhPGzg+WmfMSeq +2lDogvuC1RAVRwrU7LY9aC8CjRP0aJHLnvgFNN9v8XqlCOIT7MbsabQltT8xub1I0vD 8wQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9VLbkJmNTisU0jYBCvc49DqVXvKuARSDF8pUuqHfCB0=; b=alGEQyhm0F1KYfLKn7CV5eZ3OPggNEy8HYkuGpJ1P6BNDTN95ua2QF218DS850YtBI nHGvjirPUR9ba2lt/4vTtZ/yRW/H7yO/7x4YLg7LESnRUXWQB6sGOzQckL8ptfo004A2 /WjF32HkIAdTlw1tkfn+zHSq6BSf2beUxDVTVfHwYcQY5zb7F0WXIs2eJm4m2gLMyLfC hprM4izoCOsZjzIhMW5mRGVK/nd3pO2BdRQY75HDT6HEmQFIjSbKeTJ0QnK3UmbAJTdf oU3DYK1ksr0A0a0iUWO/EIT6VI8m5AdmP7odqWcW2lYpxQAcBl1zNXoXMmMJ5J80OQpG dBNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hDrqm4sP; 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 u6sor11138116pju.21.2020.04.25.03.53.36 for (Google Transport Security); Sat, 25 Apr 2020 03:53:36 -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:90a:12c3:: with SMTP id b3mr12590545pjg.57.1587812015894; Sat, 25 Apr 2020 03:53:35 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:1d46:fa69:c34:93dc]) by smtp.gmail.com with ESMTPSA id u188sm7996303pfu.33.2020.04.25.03.53.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Apr 2020 03:53:35 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: sunil@amarulasolutions.com, u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , Peter Robinson Subject: [PATCH 1/6] arm64: dts: rk3399-puma: Move u-boot properties into -u-boot.dtsi Date: Sat, 25 Apr 2020 16:23:14 +0530 Message-Id: <20200425105319.12009-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200425105319.12009-1-jagan@amarulasolutions.com> References: <20200425105319.12009-1-jagan@amarulasolutions.com> X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hDrqm4sP; 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: , Move U-Boot specific properties into rk3399-puma u-boot specific dtsi file. This would help to sync the devicetrees from Linux whenever required instead of adding specific nodes. Cc: Peter Robinson Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399-puma-u-boot.dtsi | 16 ++++++++++++++++ arch/arm/dts/rk3399-puma.dtsi | 11 ----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/arch/arm/dts/rk3399-puma-u-boot.dtsi b/arch/arm/dts/rk3399-puma-u-boot.dtsi index 52f62b5d39..e664779227 100644 --- a/arch/arm/dts/rk3399-puma-u-boot.dtsi +++ b/arch/arm/dts/rk3399-puma-u-boot.dtsi @@ -22,3 +22,19 @@ }; }; + +&bios_enable { + u-boot,dm-pre-reloc; +}; + +&gpio1 { + u-boot,dm-pre-reloc; +}; + +&gpio3 { + u-boot,dm-pre-reloc; +}; + +&spiflash { + u-boot,dm-pre-reloc; +}; diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi index 558b6337df..246a892cb7 100644 --- a/arch/arm/dts/rk3399-puma.dtsi +++ b/arch/arm/dts/rk3399-puma.dtsi @@ -91,7 +91,6 @@ */ bios_enable: bios_enable { compatible = "regulator-fixed"; - u-boot,dm-pre-reloc; regulator-name = "bios_enable"; enable-active-high; gpio = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>; @@ -520,14 +519,6 @@ status = "okay"; }; -&gpio1 { - u-boot,dm-pre-reloc; -}; - -&gpio3 { - u-boot,dm-pre-reloc; -}; - &pinctrl { /* Pins that are not explicitely used by any devices */ pinctrl-names = "default"; @@ -633,8 +624,6 @@ #size-cells = <0>; spiflash: w25q32dw@0 { - u-boot,dm-pre-reloc; - compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <49500000>;