Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5111792pxv; Tue, 20 Jul 2021 20:04:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvdu28NQRdS4pQErvJDgNGKqKoVKeyuoN+KFcinW3QvXcrW8R38Z3yHmdMepdhFFtZPTPT X-Received: by 2002:aa7:d804:: with SMTP id v4mr1224106edq.236.1626836671454; Tue, 20 Jul 2021 20:04:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626836671; cv=none; d=google.com; s=arc-20160816; b=tUHs50RbXjslAWHFloU0CqZ3OSEN40d//i8lXpy5k8T9bNqioZE+ZyHGJTznws+SE4 GldMYiYxXgVYqyESsMyEt0Pch2dq7VWe/CrVpy3CrblSTSdpJkmxTo6Qe868dsRPrpt0 WnkCcECLT0I8jRW7ot3F8GMnBuoGwhAMbwccFGVZli/HcshFRNEpKAJLfYClA/Nvfodv gBMJ4CCjhf2b4FwFpxm4XOvIa1RkeZvG9bP3cw0SYwF2xBC/GcCmiwwdsiUq0h+Ed996 TKjnJ31kCyGFWLmoR5qyf/5rOm3VD+5E+MqzuCfN8ifxKh3C0iYAUkYleTEEq289H86e s4Aw== 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:dkim-signature; bh=1LK9TbzR4mbFWwxa2DMjASOGjEHNStV5ARumpu+hHTQ=; b=UOFponus08epIzeuTO7Fu4ol6RvsSlWbx+hvDGE3yBJIJ2+JQiGVRL1hCP3uX+ZwVb UZ3OvjhpRAEvclsc9p+pHvuMbl2G+n5vOlauU3lcLFJtgh1ito+LceQe9rSPfOpD/WQR IyTSCSfc8gPL0WpkB8sPk82SpliPY+CXDMccYEv2lWmbAS8J6Vj5UVu344jP/cwVPMU4 +lOLfVtW1oV2tssYzKpSpb021zzbUsMMabJ+aNSt7jcCa+vODuFOSDpM76oR6TFjHCqg JUbArdD6sKYaielxs/KOVwBG7cZCA7jXBD2nErUxPXrVtMIV9kQbLErwoW8jMAkVHCW6 T1eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=GZ0n3cuR; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Wcms8viT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qc12si15091442ejb.51.2021.07.20.20.04.07; Tue, 20 Jul 2021 20:04:31 -0700 (PDT) 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=@flygoat.com header.s=fm2 header.b=GZ0n3cuR; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Wcms8viT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231607AbhGUCWL (ORCPT + 99 others); Tue, 20 Jul 2021 22:22:11 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]:53503 "EHLO wnew3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231363AbhGUCVa (ORCPT ); Tue, 20 Jul 2021 22:21:30 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.west.internal (Postfix) with ESMTP id B0B182B004FC; Tue, 20 Jul 2021 23:02:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 20 Jul 2021 23:02:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=1LK9TbzR4mbFW wxa2DMjASOGjEHNStV5ARumpu+hHTQ=; b=GZ0n3cuRcyd0fOHJcgmxcsqFnhjfb /0NtfYGYodl8Jj2bmgAXxCPk5BmiEfZzNUZMbVj6yjS/Gjcj0c3xovsWDy7RjYS5 Dyu3PUUBwuw0J3JU2TgXt9QJkUbJ6V5dLYBBQTH3IjTV9sEoRC2K0oqN+Uz3XwhZ rjmwiLCT7B+hoQ8uWZgjYyXUreWM2HKEQEQIqh5iREeLzAS2RUGaVl6iDwq036rD VYCg7SpE9vcjOScdEAasYS71unHanIC2YHyeG8XxKnP5gMp6usp0YbTRQW/6Z95s qHB1uoVYjfROvLn+N0fuhWxZl4/v7xL6JtZybbjwYZaeDmuQT4ThD4nQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=1LK9TbzR4mbFWwxa2DMjASOGjEHNStV5ARumpu+hHTQ=; b=Wcms8viT uwYMjYhw+juuQkqlCzqyzG5nYcVxXmTKrXylV8wOh49560wcDDxpKL56TEvZ+8N8 vU+MQiO6AxbXDRYtL1uokRmDWsKteouimYfc51wwYf/RQ1uDZteke/0JmbsfgS04 2wKFy9dCJ2NU/A8CdoJnq/5P4C7lX26t9RBSHMMEWMR0dLIA3627NPT22BzODGm/ MV2DJ2t8pT92hyWOxAcXVWfiaa/2E/WwcIXrrULvkK/MLBVVSi2qQMUlCuWnqkaG H5zmD5MNbaqdhnXGL2GPDIO4HJJc/L/cEB45EpzrIql4A/t3PfqyIRqumTYJxaHk Gw1aCyaPHuDr9A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeefgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Jul 2021 23:02:01 -0400 (EDT) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: tsbogend@alpha.franken.de, mturquette@baylibre.com, daniel.lezcano@linaro.org, linus.walleij@linaro.org, vkoul@kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Jiaxun Yang Subject: [PATCH v3 2/9] MIPS: DTS: Pistachio add missing cpc and cdmm Date: Wed, 21 Jul 2021 11:01:27 +0800 Message-Id: <20210721030134.10562-3-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210721030134.10562-1-jiaxun.yang@flygoat.com> References: <20210721030134.10562-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CPC and CDMM addresses are adjustable and we should tell kernel how to place them in devicetree. Note that MACH_PISTACHIO code hardcoded CDMM base to 0x1bdd0000, however it will collide with GIC address range. As we don't have any CDMM device on this platform it won't be a problem. I found another spare range, 0x1bdf0000~0x1be00000 to place CDMM instead. Signed-off-by: Jiaxun Yang --- arch/mips/boot/dts/img/pistachio.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/mips/boot/dts/img/pistachio.dtsi b/arch/mips/boot/dts/img/pistachio.dtsi index dc3b7909de73..b1db8b8f446f 100644 --- a/arch/mips/boot/dts/img/pistachio.dtsi +++ b/arch/mips/boot/dts/img/pistachio.dtsi @@ -900,6 +900,16 @@ timer { }; }; + cpc: cpc@1bde0000 { + compatible = "mti,mips-cpc"; + reg = <0x1bde0000 0x10000>; + }; + + cdmm: cdmm@1bdf0000 { + compatible = "mti,mips-cdmm"; + reg = <0x1bdf0000 0x10000>; + }; + usb_phy: usb-phy { compatible = "img,pistachio-usb-phy"; clocks = <&clk_core CLK_USB_PHY>; -- 2.32.0