From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84536C47082 for ; Tue, 8 Jun 2021 18:11:36 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D97F661375 for ; Tue, 8 Jun 2021 18:11:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D97F661375 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1240E82EDB; Tue, 8 Jun 2021 20:11:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PUCDf8wX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1B53782EDB; Tue, 8 Jun 2021 20:11:17 +0200 (CEST) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0749B82EAC for ; Tue, 8 Jun 2021 20:11:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=macroalpha82@gmail.com Received: by mail-ot1-x329.google.com with SMTP id 5-20020a9d01050000b02903c700c45721so20145561otu.6 for ; Tue, 08 Jun 2021 11:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZO9wuhPzn5ALMRAXAsHS8qw/Igj+uPm50FE5KznZyCw=; b=PUCDf8wXuqyIl2flYU32xstvrZrsJFzQBKMonFgGdy/QF9BT9vKmxx0Sf+2NjbnT/e Ym1W+bqMXK+Fh+DfnOfUcZwBwlHvfsxhLb52ByhYmqtBUKoUM2gjR47vRQGmi5L4Q/tI NGtnNWUyE0rXaMr5swDE5GNU/tRSmP6RKx9dLTG6IF+Nr4sdvUKW0P82zt9qQXVaR59H jnnXpduD4bxRf1tIpFTPiqGXFtd2gZ2msTu1eadE+lmu22N8PAr+YnFlYRcDz73WkgMU JXQfTZCnohdWutVrJFzGRuZcMlrNPagvpKb1vk+L8tL1CiG/fOUxVWoKLdjm8VCGk3e6 K1ow== 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=ZO9wuhPzn5ALMRAXAsHS8qw/Igj+uPm50FE5KznZyCw=; b=cQfzzfSzEvfv9ssubZQ81VIWnda7v6OXzFngRxfgtCbcTQSlquUNM/7VKo7LCTjKPC aK/HCXZXfhAGsVWlCrE6ckNM2ClP0yKyvdiF7vLkF8t/1XfS5J6GaLMOsMRHhuL4QoID 6y8IjzX67Q3gygQ6MlsTLU/iPZ5XZvPfERXMGK63llIYfTZXHA4/1We7YTW0UTzE4k2c 8KiHZJiQ/am8fG2mDPhAdiJib9dWqOpguXpnX477PAvzgKJ62A/JDSxJDuVTiF3k29nr InsOqKlKLpf4EV9on+MaEcuHyOJb7b7SzP1NLLM5lOKaE9uzcUB2zlj/g/Tuk+hEYrJf +ZlQ== X-Gm-Message-State: AOAM5307qemQRfvHhMrvzMnmdFhyHUX6prlMNYteKRg34GrTtqNx/xVy NBBOnI0t7Z1BP1SC+bH+43rQhnyBKOw= X-Google-Smtp-Source: ABdhPJz6L6oqZH/OzdZ8Jj/DgR7N5xPEgCwV1DREkDKWCkvfnIh5p+Pev8rfnjnqsQQUzbCrCJKo3A== X-Received: by 2002:a9d:542:: with SMTP id 60mr19237056otw.143.1623175870313; Tue, 08 Jun 2021 11:11:10 -0700 (PDT) Received: from wintermute.localdomain (cpe-76-183-134-35.tx.res.rr.com. [76.183.134.35]) by smtp.gmail.com with ESMTPSA id n66sm2894199oih.50.2021.06.08.11.11.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 11:11:09 -0700 (PDT) From: Chris Morgan To: u-boot@lists.denx.de Cc: heiko.stuebner@theobroma-systems.com, vigneshr@ti.com, jagan@amarulasolutions.com, kever.yang@rock-chips.com, philipp.tomsich@vrull.eu, sjg@chromium.org, jon.lin@rock-chips.com, Chris Morgan Subject: [PATCH v3 3/5] rockchip: px30: add the serial flash controller Date: Tue, 8 Jun 2021 13:10:58 -0500 Message-Id: <20210608181100.14093-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210608181100.14093-1-macroalpha82@gmail.com> References: <20210608181100.14093-1-macroalpha82@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean From: Chris Morgan Add the serial flash controller to the devicetree for the PX30. Signed-off-by: Chris Morgan --- arch/arm/dts/px30.dtsi | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/dts/px30.dtsi b/arch/arm/dts/px30.dtsi index b6c79e7ed3..aaa8ae2235 100644 --- a/arch/arm/dts/px30.dtsi +++ b/arch/arm/dts/px30.dtsi @@ -960,6 +960,18 @@ status = "disabled"; }; + sfc: sfc@ff3a0000 { + compatible = "rockchip,px30-sfc"; + reg = <0x0 0xff3a0000 0x0 0x4000>; + interrupts = ; + clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>; + clock-names = "clk_sfc", "hclk_sfc"; + pinctrl-names = "default"; + pinctrl-0 = <&sfc_clk &sfc_cs &sfc_bus4>; + power-domains = <&power PX30_PD_MMC_NAND>; + status = "disabled"; + }; + gpu: gpu@ff400000 { compatible = "rockchip,px30-mali", "arm,mali-bifrost"; reg = <0x0 0xff400000 0x0 0x4000>; @@ -1926,6 +1938,32 @@ }; }; + serial_flash { + sfc_bus4: sfc-bus4 { + rockchip,pins = + <1 RK_PA0 3 &pcfg_pull_none>, + <1 RK_PA1 3 &pcfg_pull_none>, + <1 RK_PA2 3 &pcfg_pull_none>, + <1 RK_PA3 3 &pcfg_pull_none>; + }; + + sfc_bus2: sfc-bus2 { + rockchip,pins = + <1 RK_PA0 3 &pcfg_pull_none>, + <1 RK_PA1 3 &pcfg_pull_none>; + }; + + sfc_cs: sfc-cs { + rockchip,pins = + <1 RK_PA4 3 &pcfg_pull_none>; + }; + + sfc_clk: sfc-clk { + rockchip,pins = + <1 RK_PB1 3 &pcfg_pull_none>; + }; + }; + lcdc { lcdc_rgb_dclk_pin: lcdc-rgb-dclk-pin { rockchip,pins = -- 2.25.1