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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 79DF4C04A68 for ; Thu, 28 Jul 2022 11:06:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B1C8283F20; Thu, 28 Jul 2022 13:06:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="lb22XKEd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8319983564; Thu, 28 Jul 2022 13:06:44 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7FF6483F20 for ; Thu, 28 Jul 2022 13:06:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EB4C9B8240D; Thu, 28 Jul 2022 11:06:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CB49C433D7; Thu, 28 Jul 2022 11:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659006397; bh=KIEwIhA4CFe3dTdEylyOlnoUCJFmfNSKjMAEveAx3N4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lb22XKEdwGcrocLPGwZTGKMeU6BBXfdGoM2GDwdi4LLh5gwKvwRWUydM6lFaDWuAw GU8W6P4EbWAyhJDChweRvChtKu+todmas2F2ncKCggR2NoQ+UGNplbJnEwGYK9pJer FJw0IyQ/mr76gqEWtohukPWulf5OxgXmpmS5oNF4WIPWk+Bh9dp99P2aM3dx6CWeR+ x0tvOP5C4qcBA7lxzcjsT17msAsMy51M6O0nFWQQN7U178GkKs+RizobSQcSc4VH3+ K3LOpfGJlyOvJ7o4wLo4VpThIU9JhU3AOOzdUYO9KJm1tyyFUii1ioB9xF7rnN/n18 z1JhsfFB51JYg== Received: by pali.im (Postfix) id 97CD6715; Thu, 28 Jul 2022 13:06:34 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese Cc: Marek Behun , u-boot@lists.denx.de Subject: [PATCH v2 2/2] arm: mvebu: turris_omnia: Add mcu node with gpio-controller Date: Thu, 28 Jul 2022 13:06:25 +0200 Message-Id: <20220728110625.25814-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220728110625.25814-1-pali@kernel.org> References: <20220725130113.21850-1-pali@kernel.org> <20220728110625.25814-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean This allows U-Boot to register new Turris Omnia MCU driver. Signed-off-by: Pali Rohár --- Changes in v2: * Add missing #gpio-cells for phandle usage --- arch/arm/dts/armada-385-turris-omnia.dts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/armada-385-turris-omnia.dts b/arch/arm/dts/armada-385-turris-omnia.dts index 7f1478edfd23..86904de816de 100644 --- a/arch/arm/dts/armada-385-turris-omnia.dts +++ b/arch/arm/dts/armada-385-turris-omnia.dts @@ -173,7 +173,14 @@ #size-cells = <0>; reg = <0>; - /* STM32F0 command interface at address 0x2a */ + /* MCU command i2c API */ + mcu: mcu@2a { + compatible = "cznic,turris-omnia-mcu"; + reg = <0x2a>; + gpio-controller; + #gpio-cells = <3>; + }; + /* leds device (in STM32F0) at address 0x2b */ eeprom@54 { -- 2.20.1