From patchwork Tue Apr 28 10:00: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: 1124 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 61AB13F0CC for ; Tue, 28 Apr 2020 12:00:36 +0200 (CEST) Received: by mail-pl1-f200.google.com with SMTP id c13sf16817788plq.22 for ; Tue, 28 Apr 2020 03:00:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1588068035; cv=pass; d=google.com; s=arc-20160816; b=LlStOpTkIDLbht20k50WxSxwGIWBWq0hc+gmoa2gnXx3uh++H+62OfJp1SRgc9zv4B ZEwhgh1PalB33RBFStLOTp/stc7Z16aw0UhYHOh6sAesVCLtx/2yUbLwyzCD+WjJEK6j hmgPQ2xx4tYtqScdjJgw6ombriIU0uMt82QRGDhelku3wnV7lGVkOWynGJTnxyQDxyJB Znx7/HKTZzMl2PWlb7PE5+mJ+QihCVdakWSmD31OM+0ZzXw4r2PiAIjEt11Sa/xnzF4L 3dMISUpOZABzOmKadYs7GNgUvv+LYUL7JYRmITsivvynaYlWCSOIBWPGCPFMp3RVUDTM aFGQ== 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=giuG/6mrnQB4hIV4pBofmsOhiQKSlVXgdRQsREQscbk=; b=ZHDjxoOYvy8Wdv1/QETXgDCUEEpkiMqE9Yzal4CKbMdaEeuZyqDoph0eJgtMB26B9G msonXc2v8HCOB9S2f7kEnfK9zR80hphXJk3qyQcgQQMHtPnIdEAka/flFQd9x9MWI0l5 3HNq5f2TlSnaF0RenymQHFoU018XSqsTiZ9w8t0lq+B0hEU1LxByety3x/ncsSL1oxCX YQzPSyv1dtZCLFAt2iGw6DbNdpUp++6b292+q7lgRc2j3wxFWyJ1LrvEHkZcCIZRBVYc 56xHvpzvltD+ev3xVjEsNx9ypzVMaUvixYp/rF/2FaY52/4Klw3vXlHvwmU8me9yGMA3 5cdQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=haVDTJ6B; 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=giuG/6mrnQB4hIV4pBofmsOhiQKSlVXgdRQsREQscbk=; b=HlvCG+zSiBr06gk6IDO2cgTTmDTGzO2R08eJg0CX6ewkLTiKO+k2d5ft62ZYrrEPUh 879nVqTfbZGNozQT+eEQMYUBNK5JuyUHBANViFbfXAwAVZjPaMojVQyQnnGQOEoXe1yJ lUs1wXFD2mm2CT8Nd+GCzYM/+hnM2H4+/qwoE= 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=giuG/6mrnQB4hIV4pBofmsOhiQKSlVXgdRQsREQscbk=; b=U8SdleiX/pMJRNYxJsdAYKaXlLzG2z6hN8aTu7/BbngOpWnFaXAHerpSsBKCbE5O5L Yxx2VOQP5FcKbbEvRlW8Go5hUQev0OmsltC5rTzNGtUMjaQ3VuJF5swsLr/HW10FP94w 6SIcNAU1WjQ2o0lxuEu8s4NwSzRC0qIZhvzY4aWwIKsFzYfwjAweT54kleWOJfWgJga1 aqmYBpbuf+JoH1om1yY+fTzbO/r7y5itHBvTxI3MFjoAbAlGnFYiLsu51Q/7gqd9Yk6U O1uaoudQq6tcWrtWR2fH4s3Jix1hG8IAfSZs23oN4JcUGhjIMPGePNd66KlAWbDK3E9p bRog== X-Gm-Message-State: AGi0PuaMLOfzaVfT1H3GT0VBfVVtToDZJqW3UwgbfpJEgi1PwlIQZ7lo IUdtI/yBvefTPHfdvs6TqgmvmMPJ X-Google-Smtp-Source: APiQypIvKatWMDzIugNwpdcLQb5v0f6J0C3kpzKzUElqtFu/0R7m+SWQkNox9S5wGLR0GkSm1SVqug== X-Received: by 2002:a17:90a:718c:: with SMTP id i12mr4136025pjk.58.1588068035235; Tue, 28 Apr 2020 03:00:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:bd15:: with SMTP id a21ls18315705pff.6.gmail; Tue, 28 Apr 2020 03:00:34 -0700 (PDT) X-Received: by 2002:a63:4c1d:: with SMTP id z29mr26748853pga.243.1588068034768; Tue, 28 Apr 2020 03:00:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588068034; cv=none; d=google.com; s=arc-20160816; b=P3dre97DsWw+1s1NHuNziBg1YpV03P0A3/fPy8pRvhqOdsnVjVWaTJ+zMGvXCI0F6F Zlud4mifEyoTntSX6OVTkhOiGerRGEGMe1WZFeITk0B9vevgwd+2rN7kgopkQieZA2Uv mNiC39iEebo5EONkbzE5zRyeT+gZ6RntlPEYGOy7RM80X0h2xc0PsPyk3iw+Px5HmN0q ujH/YbaCyMiqxZtWib2Dp6yjg0tOuwaVANwWpd3rt0VOY/8i9gw2bPE+3o6wFBaaIXlU d/UlZ8ETjJ6g8jkpZCogTAFIsh3LhxKJ7TGXcUx/fdOk+xxN6HcnM9mlPFUJhyfE1+6C zbdg== 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=u3OmJrFRH5SZ5vhK1B3zVrM5qwfRMs/mWoaA11CxKAA=; b=BxWlKR7VyIuEKBEs/A07K5eI7Sm4a4NfEIdayRri20Xdudu3MZmqLm4lDg1+MSy8ox vK41ewXkdiCLWbBa0E6EtvXwr51JZ12mD7kpFv9rdL3yd6eGGdQiOkOELB3IFMALub/1 9QLPHPATVo94wSXW2r38/prKI+4ta10I9lz2l4QxO88+KmIyHVkK+OYikh2w2unwmSt7 mZj7gAlzC86n+NSBomTrzdYjWUkUZKX5ONxsZT+CIkmLjsI6yg72aziOQb3krC6J9zm4 koYdrtUqNtQHs4nCfWFAcsBF395dwskxtSk05aiFcFFim176frrUK+WU4YfV/62/kgQI 0/ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=haVDTJ6B; 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 b8sor2745144pjq.10.2020.04.28.03.00.34 for (Google Transport Security); Tue, 28 Apr 2020 03:00:34 -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:eac5:: with SMTP id ev5mr4035455pjb.173.1588068034445; Tue, 28 Apr 2020 03:00:34 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:f9c1:1c6a:49dc:267d]) by smtp.gmail.com with ESMTPSA id j32sm12676379pgb.55.2020.04.28.03.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2020 03:00:33 -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 v2 1/6] arm64: dts: rk3399-puma: Move u-boot properties into -u-boot.dtsi Date: Tue, 28 Apr 2020 15:30:14 +0530 Message-Id: <20200428100019.19155-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200428100019.19155-1-jagan@amarulasolutions.com> References: <20200428100019.19155-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=haVDTJ6B; 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 Reviewed-by: Kever Yang Reviewed-by: Kever Yang --- Changes for v2: - none 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>;