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 B83C0C43334 for ; Mon, 25 Jul 2022 13:06:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 03A1C84194; Mon, 25 Jul 2022 15:06:25 +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="sLifavd/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ADC9E8416E; Mon, 25 Jul 2022 15:06:23 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (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 6169F841A0 for ; Mon, 25 Jul 2022 15:06:19 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 091DA61181; Mon, 25 Jul 2022 13:06:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49C76C341C8; Mon, 25 Jul 2022 13:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658754377; bh=/RY7/cjIw8G5ptfZ9Ywu6+YWEbEEJT414lnWe5ZqIBM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sLifavd/UCgM8tYsKdiDJWHrOqoM6+o1D92Wt7iVczv10x07ZAZ07SdJ3R4nYtkAs Uo2dbn46uWu7H1n27N3VeS+4uXqJ18PrE1D6CiUg11j8/VZvsd9hRQLJD1Xaz/GJq3 rxUObYQO7Se2MSTiQLqVRr/UY4aVBaJ8oYpxoZVG0VY8zCPFgkLigVbKRc1mz+sc+n 5gC8YQ1kCm+WyHnvmZv+pfC6z0znEio+j/o6DtbiaQdKB8Aq3LZOxOaXTef5pVkd5r h9yxIQkggkxKdFSZsXy718Qt5+uZ93LAJi6GBnUgDTqmX8uWSxfQ5tzheQerMU67dH H+s60eNJcN3jQ== Received: by pali.im (Postfix) id 9159217D5; Mon, 25 Jul 2022 15:06:14 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese Cc: Marek Behun , u-boot@lists.denx.de Subject: [PATCH 2/2] arm: mvebu: turris_omnia: Add mcu node with gpio-controller Date: Mon, 25 Jul 2022 15:01:13 +0200 Message-Id: <20220725130113.21850-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220725130113.21850-1-pali@kernel.org> References: <20220725130113.21850-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 --- arch/arm/dts/armada-385-turris-omnia.dts | 8 +++++++- 1 file changed, 7 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..fe5c0b1b5915 100644 --- a/arch/arm/dts/armada-385-turris-omnia.dts +++ b/arch/arm/dts/armada-385-turris-omnia.dts @@ -173,7 +173,13 @@ #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; + }; + /* leds device (in STM32F0) at address 0x2b */ eeprom@54 { -- 2.20.1