Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4219917ybi; Mon, 15 Jul 2019 05:46:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwKD4h4YHFvc7RBv6asN+0RIp/hkOgFDeC8/swmCuKqIhFFELt/caRi4BPjl08O3AeVpgAa X-Received: by 2002:a65:6497:: with SMTP id e23mr25780369pgv.89.1563194793520; Mon, 15 Jul 2019 05:46:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563194793; cv=none; d=google.com; s=arc-20160816; b=ES4jxZO8/2Nls8HKzMHYeYWyDOIFC1C6cpSzjji693NYgQRJBJ5/JaK+hU4WztI+0c E715Gk6GmUATJueJAitQLCqBTJkOoc33+SlfUlZN6PDCySskNV/xEgLuGwLuaGae5d8P kDiTfaGtvuuXYssq1R/1UeXQ15MOSnSkQDwB/Ro6dp0TLE8DIuCnagYoH8WjUC4Gfv3V YahVdZ0IaGYV2cTq9pUun25xbYvcgdZIqTyYYpKfCVcD9CCf6OOUIK4riRnDYWAqMh6e 6re2uGqO4JoH1hbDT0ABPdP7+7JbUhfiVADN9YpF3oCsEXEbCOWaPTnXq1EphiLPKhWg eVZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=LR6wVN9M871+aI+Zz2/xAtq0PjCbEVYLnCfnQUmJAAU=; b=CdJnicw+luFVCO5NxpLvu9LJKoj/iIcNrQHAj1RU1cX1bEep50yHbBcdSUfcGtkoN8 etuoMCPbl+xp4fwlt/x8oco/kzFaTMxD7o/+W9Bypg+kdvchwkIrZgtp+FZYICwv4hyH CwcyyTbSQ6rfKWXaaip76JPWRaV68h9aCO3/KYkkOic1jDJ6f55SBWMj7/7ZiyzO0PEI 2l27KFWte9ta6/VoUHZwSBvLaKsl3EY9j1i/bDQ0s0hHmgTsGsFjJS2ifeentuuOaBPI vUz3kKh81LHsD1pvR1UQvO5ZOQztY0//Zn7R6nzZSSZK6jmSEkWyNIfSDfg2BKBGzOm3 /7/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=TH3vrDwF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si16244644pfz.154.2019.07.15.05.46.14; Mon, 15 Jul 2019 05:46:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=TH3vrDwF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730504AbfGOMpa (ORCPT + 99 others); Mon, 15 Jul 2019 08:45:30 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60574 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730437AbfGOMpS (ORCPT ); Mon, 15 Jul 2019 08:45:18 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190715124516euoutp01f7ab377e1cc6cfb63302c6a0d55cf286~xlVATnML42021920219euoutp01P for ; Mon, 15 Jul 2019 12:45:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190715124516euoutp01f7ab377e1cc6cfb63302c6a0d55cf286~xlVATnML42021920219euoutp01P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563194716; bh=LR6wVN9M871+aI+Zz2/xAtq0PjCbEVYLnCfnQUmJAAU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TH3vrDwFxFP2684e7h0NgXK4tvPJE56+FYE1ZpKDcApesyklc74kuoE4o89jUNXNZ WtaJeuKrwBLJvDKD/cSuWEe9geyVdVfUorBFm6Eod29YHMdvy0I5nzEgPyFhGOpnbT 6g6UsYV5PaHO8IBCTmcof0/yt4CCxH3TxsyUh0B0= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715124515eucas1p108b426eaa33d9fe510ae208b72392523~xlU-SaHDx3191231912eucas1p1F; Mon, 15 Jul 2019 12:45:15 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 53.D0.04325.B557C2D5; Mon, 15 Jul 2019 13:45:15 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715124514eucas1p1dcbbcbac0503980825d5e4ebae32003b~xlU_X-DGF0146601466eucas1p1v; Mon, 15 Jul 2019 12:45:14 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190715124514eusmtrp21c632d15dbbe3d9e5a7d65adb92ab2ef~xlU_J1NmX2735227352eusmtrp2N; Mon, 15 Jul 2019 12:45:14 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-24-5d2c755bde19 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id AD.60.04146.A557C2D5; Mon, 15 Jul 2019 13:45:14 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190715124513eusmtip219fb635485904465e149061e04d5f99f~xlU9Yc20b1099510995eusmtip26; Mon, 15 Jul 2019 12:45:13 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, a.hajda@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, Lukasz Luba Subject: [PATCH v1 49/50] ARM: dts: exynos: add buses support for Exynos5800 Peach Pi Date: Mon, 15 Jul 2019 14:44:16 +0200 Message-Id: <20190715124417.4787-50-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190715124417.4787-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHKsWRmVeSWpSXmKPExsWy7djP87rRpTqxBp2TJS1urTvHarFxxnpW i+tfnrNazD8C5PY/fs1scf78BnaLs01v2C1uNchYbHp8jdXiY889VovLu+awWcw4v4/JYu2R u+wWS69fZLK4eMrV4nbjCjaL1r1H2C0Ov2lntfh3bSOLg7DHmnlrGD3e32hl99i0qpPNY/OS eo+D7/YwefRtWcXo8XmTXAB7FJdNSmpOZllqkb5dAlfGzfnXmQp+aVXMmf2MsYFxt3IXIyeH hICJxKPJi9i6GLk4hARWMEpMu/iACcL5wijRO30eK4TzmVHi+o1n7DAt/663QCWWM0p8bn/A CtfSMvcoUBUHB5uAnsSOVYUgDSICSxgljvxMAqlhFrjJJLHnyU5WkISwQLjEjXlvmUFsFgFV iYe/lzOC2LwC9hL3Nn9hhdgmL7F6wwGwGk6g+M9pF8COlRC4xC5xuXsmE0SRi8S2N61sELaw xKvj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6xYm5xaV56XrJ+bmbGIGRs+3Yz807GC9tDD7E KMDBqMTD65CiHSvEmlhWXJl7iFGCg1lJhNf2K1CINyWxsiq1KD++qDQntfgQoynQUROZpUST 84FRnVcSb2hqaG5haWhubG5sZqEkztshcDBGSCA9sSQ1OzW1ILUIpo+Jg1OqgVF7ezaP050e 9i12vrttukNcjjZN1V7294isxMWPd5zuTzxge32J7OwbXRZLpn84WbxBz8bS2vc2a176xjqF Zy3bfNtLmXkvnVeWn5pZE3k+O/fK+Yees6rzj0al2P858F3UcM1Bn0WOkpu3nnWqZZa6erDg 8Yz1J0uDMx6adJ//U1XHsnBqzzklluKMREMt5qLiRACmXNvfsgIAAA== X-CMS-MailID: 20190715124514eucas1p1dcbbcbac0503980825d5e4ebae32003b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190715124514eucas1p1dcbbcbac0503980825d5e4ebae32003b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124514eucas1p1dcbbcbac0503980825d5e4ebae32003b References: <20190715124417.4787-1-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch adds SoC buses support. It also changes connections of the clocks pinning to the rigth parent. There is also frequency set of the needed clock to make it working at the right rate. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 172 ++++++++++++++++++++++ 1 file changed, 172 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index e0f470fe54c8..38edb00c7f1b 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -151,6 +151,163 @@ vdd-supply = <&ldo9_reg>; }; +&bus_wcore { + devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>, + <&nocp_mem1_0>, <&nocp_mem1_1>; + vdd-supply = <&buck3_reg>; + exynos,saturation-ratio = <100>; + assigned-clocks = <&clock CLK_MOUT_ACLK400_WCORE>, + <&clock CLK_MOUT_SW_ACLK400_WCORE>, + <&clock CLK_DOUT_ACLK400_WCORE>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>, + <&clock CLK_DOUT_ACLK400_WCORE>; + assigned-clock-rates = <0>, <0>, <400000000>, <1200000000>; + status = "okay"; +}; + +&bus_noc { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK100_NOC>, + <&clock CLK_DOUT_ACLK100_NOC>; + assigned-clock-parents = <&clock CLK_FF_DOUT_SPLL2>; + assigned-clock-rates = <0>, <100000000>; + status = "okay"; +}; + +&bus_fsys_apb { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_PCLK200_FSYS>, + <&clock CLK_DOUT_PCLK200_FSYS>, + <&clock CLK_FOUT_MPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; + assigned-clock-rates = <0>, <200000000>,<600000000>; + status = "okay"; +}; + +&bus_fsys { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK200_FSYS>, + <&clock CLK_DOUT_ACLK200_FSYS>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>; + assigned-clock-rates = <0>, <240000000>,<1200000000>; + status = "okay"; +}; + +&bus_fsys2 { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK200_FSYS2>, + <&clock CLK_DOUT_ACLK200_FSYS2>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>; + assigned-clock-rates = <0>, <240000000>,<1200000000>; + status = "okay"; +}; + +&bus_mfc { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_gen { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK266>, + <&clock CLK_DOUT_ACLK266>, <&clock CLK_FOUT_MPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; + assigned-clock-rates = <0>, <300000000>,<600000000>; + status = "okay"; +}; + +&bus_peri { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_g2d { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK266_G2D>, + <&clock CLK_DOUT_ACLK266_G2D>, + <&clock CLK_FOUT_MPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>; + assigned-clock-rates = <0>, <300000000>,<600000000>; + status = "okay"; +}; + +&bus_g2d_acp { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_jpeg { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK300_JPEG>; + assigned-clock-rates = <300000000>; + status = "okay"; +}; + +&bus_jpeg_apb { + devfreq = <&bus_wcore>; + status = "okay"; +}; + +&bus_disp1_fimd { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK300_DISP1>; + assigned-clock-rates = <300000000>; + status = "okay"; +}; + +&bus_disp1 { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK200>, + <&clock CLK_DOUT_ACLK400_DISP1>; + assigned-clock-rates = <200000000>, <400000000>; + status = "okay"; +}; + +&bus_gscl_scaler { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_DOUT_ACLK300_GSCL>; + assigned-clock-rates = <300000000>; + status = "okay"; +}; + +&bus_mscl { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK400_MSCL>, + <&clock CLK_MOUT_SW_ACLK400_MSCL>, + <&clock CLK_DOUT_ACLK400_MSCL>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>, + <&clock CLK_DOUT_ACLK400_MSCL>; + assigned-clock-rates = <0>, <0>, <400000000>, <1200000000>; + status = "okay"; +}; + +&bus_isp { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK400_ISP>, + <&clock CLK_MOUT_SW_ACLK400_ISP>, + <&clock CLK_DOUT_ACLK400_ISP>, + <&clock CLK_FOUT_DPLL>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_DPLL>, + <&clock CLK_DOUT_ACLK400_ISP>; + assigned-clock-rates = <0>, <0>, <400000000>, <1200000000>; + status = "okay"; +}; + +&bus_isp266 { + devfreq = <&bus_wcore>; + assigned-clocks = <&clock CLK_MOUT_ACLK266_ISP>, + <&clock CLK_MOUT_USER_ACLK266_ISP>, + <&clock CLK_DOUT_ACLK266_ISP>; + assigned-clock-parents = <&clock CLK_MOUT_SCLK_MPLL>, + <&clock CLK_MOUT_SW_ACLK266_ISP>; + assigned-clock-rates = <0>, <0>,<300000000>; + status = "okay"; +}; + &clock_audss { assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>; assigned-clock-parents = <&clock CLK_MAU_EPLL>; @@ -736,6 +893,21 @@ bus-width = <4>; }; +&nocp_mem0_0 { + status = "okay"; +}; + +&nocp_mem0_1 { + status = "okay"; +}; + +&nocp_mem1_0 { + status = "okay"; +}; + +&nocp_mem1_1 { + status = "okay"; +}; &pinctrl_0 { pinctrl-names = "default"; -- 2.17.1