Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2142729pxb; Mon, 8 Mar 2021 15:44:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPCXNwgxM/NoyiWMERrB5ztfYrCSQ8vbVOmFydrw8yPZnr7yvMQzFZrvXHoGpAE5I0hY8O X-Received: by 2002:a05:6402:35d3:: with SMTP id z19mr978061edc.143.1615247061345; Mon, 08 Mar 2021 15:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615247061; cv=none; d=google.com; s=arc-20160816; b=X1lmalUQcUUNingAwXjgQWTuvbB7K02p+NAdoEgJHbBhIeGS6JFrdd62/cfQv6AYos jFo/CJJqZ8RmCV3pa8j3J9o///Bj9XDZLGAcggnpLWZiL6OieJND6mjGA+VX7hfe50+5 64atFLx5YhnrmSMgkJ+gicJHmdqaRetyT1hiRh3iOpxBtOoXdtHsvRUv2Sfj9oKIrhQD 2xsOUDuF2ujuL10PSGhVZr1dGwKusUDDlR1c13Sd9QvzsicwYskyH0xr/siq/OMClT62 5dy9snUrpYBXXbCj74n75mR9OlVoh/XdyWTGU6wFms1BUq7nYjZKCpD5risnDfKWC5Jq PZHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cNI4lb320b0g3N9E/pXmEbLu1U21wMPwIZ392wgv3s0=; b=Rgmwc21Imkz9OqGfZtVcIK2Gh6B+vDs6jLoPMyLAwNObafZod4IGhL7FzLrC8il2Kd essrZ/sossK6Bae74mbjYzaRRBil+Y0ITo5NIbeBSRhcPNX77vzqoT8oIyxI+Fk+0lX6 eVbNWJsT3qRtb1hsxB37zoFzpcny95z2EPwBJH4DIRyv4Xnvc72GHxsTA6/H2IVc9wvN d/L4JpPUYAni63QohOHs5Bxi8V4u0v/KhKAatc8wotqgW369ikzjeifc6kGClecfrMFD Rjf2yA5ti8zOrSesRIlsjSEyZ/5arGeLgh9y9S+BA8UC7rjVqO7QRwHte3/eM4SSFQRs exxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YcPsI338; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc17si7989914edb.2.2021.03.08.15.43.35; Mon, 08 Mar 2021 15:44:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YcPsI338; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231857AbhCHXje (ORCPT + 99 others); Mon, 8 Mar 2021 18:39:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231423AbhCHXj0 (ORCPT ); Mon, 8 Mar 2021 18:39:26 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59A47C06175F for ; Mon, 8 Mar 2021 15:39:26 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id j4-20020a05600c4104b029010c62bc1e20so4836343wmi.3 for ; Mon, 08 Mar 2021 15:39:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cNI4lb320b0g3N9E/pXmEbLu1U21wMPwIZ392wgv3s0=; b=YcPsI338+uXPcczjZIr4QmN6Oyh6oeU8GRI3DSZWU3u/MWJjM8XgFa0Gb8xQ60FIuJ lzjDln7EN43CZ2axKiPiz31vDsxWjGmobql/eL7UYG7y3XCNXVZk5UCCwxpiaNGsupRK 0f05SH8UHs6G8D+vBiqFwlx6hjdrJfaT/0qeKJAv9gkTBqc18h9tmUqiebabPE7IIu1f iBRI34fSmAX3HLjR1L/DolojefjT/AiXjNQEwdPcFxTHxONrme0Op9ywkzOJgH1A0wf2 oXzx4B+03hMEdrUn3qIrj2ju5Y3+wdE0SIE2LEVe+KsvcpHeHGV3vgcvilfsF4BYcQML YStw== 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=cNI4lb320b0g3N9E/pXmEbLu1U21wMPwIZ392wgv3s0=; b=eE7xy0sc5tJHTCoDmhFCaSjpsQBTGty3blvqRZk2PljSWzvTi9AeNE8Io1BIbpdC/N XuoW3mP9FaCYdgKGXoER6IaWUjgujqAnoKB+vmemtciv6oenuv7+t+ueZp8gBPtPVB6S UNjUcNE3qsKYlNp1cr3YMRlqoeFHthtFV69U0R5zMzXPleKz48wggxDIdjXP2uFBg2Hn +In5d65TqwcOPCrTLYdB0Nbn5RukLHHEpQfbqrwoJpOJ8pFxa+wfRTm6w7QUqo/wkgpo d1n81phRz3a/kbxXBlaGNPDx9NhlV2ZhLBmxyaxkhp1YEyUL5okSNTkk+4dz+lhRLRJE hM0A== X-Gm-Message-State: AOAM5302I1+8JAFsnDyOX9jXVsZZJWlK2UByW5ubc0l60VJtd9SrCvXp wtmoD9iuZF/C7IO/Xo0msqg7vA== X-Received: by 2002:a05:600c:289:: with SMTP id 9mr1023445wmk.135.1615246765017; Mon, 08 Mar 2021 15:39:25 -0800 (PST) Received: from localhost.localdomain (lns-bzn-59-82-252-141-80.adsl.proxad.net. [82.252.141.80]) by smtp.gmail.com with ESMTPSA id b186sm1145408wmc.44.2021.03.08.15.39.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 15:39:24 -0800 (PST) From: Daniel Lezcano To: heiko@sntech.de Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Lin Huang , Enric Balletbo i Serra , =?UTF-8?q?Ga=C3=ABl=20PORTAY?= , Rob Herring , Johan Jonker , Helen Koike , Chen-Yu Tsai , Jacob Chen , Shunqian Zheng , Robin Murphy , Boris Brezillon , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [RESEND PATCH v5 2/4] arm64: dts: rk3399: Add dfi and dmc nodes. Date: Tue, 9 Mar 2021 00:38:56 +0100 Message-Id: <20210308233858.24741-2-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210308233858.24741-1-daniel.lezcano@linaro.org> References: <20210308233858.24741-1-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lin Huang These are required to support DDR DVFS on rk3399 platform. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaƫl PORTAY Signed-off-by: Daniel Lezcano --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index edbbf35fe19e..6f23d99236fe 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1937,6 +1937,25 @@ status = "disabled"; }; + dfi: dfi@ff630000 { + reg = <0x00 0xff630000 0x00 0x4000>; + compatible = "rockchip,rk3399-dfi"; + rockchip,pmu = <&pmugrf>; + interrupts = ; + clocks = <&cru PCLK_DDR_MON>; + clock-names = "pclk_ddr_mon"; + status = "disabled"; + }; + + dmc: dmc { + compatible = "rockchip,rk3399-dmc"; + rockchip,pmu = <&pmugrf>; + devfreq-events = <&dfi>; + clocks = <&cru SCLK_DDRC>; + clock-names = "dmc_clk"; + status = "disabled"; + }; + pinctrl: pinctrl { compatible = "rockchip,rk3399-pinctrl"; rockchip,grf = <&grf>; -- 2.17.1