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 52C13C4743D for ; Tue, 8 Jun 2021 17:57:20 +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 8037461108 for ; Tue, 8 Jun 2021 17:57:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8037461108 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 C4D9982EDB; Tue, 8 Jun 2021 19:56:49 +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="L5GKu7QR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 56D1282EAF; Tue, 8 Jun 2021 19:56:44 +0200 (CEST) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (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 8864F82D2D for ; Tue, 8 Jun 2021 19:56:39 +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-oi1-x233.google.com with SMTP id t40so9371088oiw.8 for ; Tue, 08 Jun 2021 10:56:39 -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=L5GKu7QRJIglu5Xaq8oOus8sGOb+kIXl6icucWSz2NKfLn8o0eEJ1G5ZjAQKM0QyD4 hRiyq/zjoDGtZsNNOZfPTWdaUSYbnFriVqFtXXmX4TqNpvuOkDJsLPL1x8s1VJ795kq7 +dPklKD5Aa5T7EDFdLJA+/qhCEmV8VTsEDoQyLXLCzfcY+FGmm+QQzKBikYbWR19PeYS VNU5kCqSMtmxpluu8WsUwbsAOlqcR66E4DwEURcgv6mDuAg6GKlSkZ04pAuxXEkh3LfG YzCN448/t97NsldqH3UjtXwgSm25GQDGyUEr9falRFxZY6skW5GuE7v9cvgIglXaKSG1 moag== 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=rOE77+qtAPdYzaI1zqRxlIpekPHx9IpVZwthcHR7IkSNA4rBYbSY6+KShLOO6MMfe4 HQbrvucPSuuNw4jecGY8rWj8PYDfCg/puIvO/W+dPxLGhPahxg4Y+I7HuYalmsy+quA4 AnsT7p/114Ssd3NWqZBoteJOLDUNwmuJQO0Q+VzgiEzzT/cieqIbmrEVd1FLawoSf40A sv5E69HOR4UeD47uB1Z4lkH0/ev9/pP8uwnTzOqQ01QJM0jIjVSJO2DSRh1tzAEsg2Og AeHxOkxncMWelPtmFwm2JnZUvM0csDyhiSyFus4lJkevXZF/PPGWJM36Jlltgj8z8tDB eaoA== X-Gm-Message-State: AOAM530FfT7a91mfDgaBORRcyA+KJjccdJooA0MQSEeQazb1WrhHq/Re 2sIlqErfkyTYfmhaOscvmEcHFovI0Ks= X-Google-Smtp-Source: ABdhPJwCqs7E2aoBD/y2Q3bXPzvdlfRpYeoa+LnTkozClLt/Fv5TsAfm5uK2Q/r4MHO5dXaizhhrZg== X-Received: by 2002:aca:bd86:: with SMTP id n128mr3817901oif.75.1623174997830; Tue, 08 Jun 2021 10:56:37 -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 a24sm3189228otr.3.2021.06.08.10.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 10:56:37 -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 v2 3/5] rockchip: px30: add the serial flash controller Date: Tue, 8 Jun 2021 12:56:24 -0500 Message-Id: <20210608175626.5176-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210608175626.5176-1-macroalpha82@gmail.com> References: <20210608175626.5176-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