From patchwork Mon Oct 2 12:42:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Rojek X-Patchwork-Id: 1842093 X-Patchwork-Delegate: eugen.hristev@microchip.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=conclusive.pl header.i=@conclusive.pl header.a=rsa-sha256 header.s=google header.b=A0ekbQet; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RzgcP4rnfz1ypx for ; Mon, 2 Oct 2023 23:43:49 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B43C887133; Mon, 2 Oct 2023 14:43:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=conclusive.pl 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=conclusive.pl header.i=@conclusive.pl header.b="A0ekbQet"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 459FB870FD; Mon, 2 Oct 2023 14:43:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4DEC486DE0 for ; Mon, 2 Oct 2023 14:42:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=conclusive.pl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=artur@conclusive.pl Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c1854bebf5so92244491fa.1 for ; Mon, 02 Oct 2023 05:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conclusive.pl; s=google; t=1696250577; x=1696855377; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FNn8I4VxGrzC8AqDHg3U3BownhynTadSg8+ejsyhI4o=; b=A0ekbQetEGCXD/Yd3XkAOyZ16vom4M1l/+cwWSj+5Ui5Or7b3horUF6ffE1iwDrBdd tIRy6Tj5CThuHxns9RUpbPbl72OVOS72VF/3GnGor1YcWTrh7s0kutTrvCmm4lylh7zm Q/Kss0fv/wCxMLPg5DQFlMexRtT0Zhi+UQKGpnGBr6+i+Td6+WmRY16fUTvOGmK9mPbK Q8Jrbzm/PxQntl46964JIpLoFvt4iOJ7kERFbNNNYFWPUWU1FZoCq7dQ52Buxcn/aC8l RIlGUCtwUiAdpaotxwrLplmAXF7yRoaTmXNtaLbFmg8+wXDlPXrUdyeIAH6Qm0xVbx3R J7LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696250577; x=1696855377; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FNn8I4VxGrzC8AqDHg3U3BownhynTadSg8+ejsyhI4o=; b=lT3eRbr67/9c5hfvgJ7Qld2WUZEPflu/dhDH5rjPQT5R17dU4zLGK9UnZWXtAuVmCO Ojizh6jWEno5nMYD/h4VoQRDx9/pAlN8vfjwLbS5VXuHYLoXPbr9MTFMMI8fsswXCsw8 TkPtLfgesje4ZOafCQCyQEfjITJtDj6ucxamyrwLLlN423v6RyWn8TfVpfbVv888XwPS 4OdBgOUVdDYcYL86Gw9z4jHTesF8HhvgcumkaLkKkZ3UJ+A/iorlOpnCgBfrIYgzZdOO BLPVFbm/rLMF7smwdHwwWF7KZHZCGvh8yAE7McnFiau4pxVcqKFesrG/A0NxEehvH3VL to4g== X-Gm-Message-State: AOJu0Yxe78WU0Rg1xCRO64z+exIIUhbNT5BPij1krYRL0thNIkrBIWpA D/EQH1ywPch4enzwsb9c6TF0NQ== X-Google-Smtp-Source: AGHT+IGbNa87VRjuFhIPk7eLYKJE41x3Js1odMgbAmdlENiO+khXLHOxHFskN5vG3QYmkBmy5/5wpQ== X-Received: by 2002:a05:6512:308a:b0:500:daf6:3898 with SMTP id z10-20020a056512308a00b00500daf63898mr10897062lfd.26.1696250577428; Mon, 02 Oct 2023 05:42:57 -0700 (PDT) Received: from localhost.localdomain (host-89.25.128.123.static.3s.pl. [89.25.128.123]) by smtp.gmail.com with ESMTPSA id e8-20020ac25468000000b004faa2de9877sm4719316lfn.286.2023.10.02.05.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 05:42:56 -0700 (PDT) From: Artur Rojek To: Eugen Hristev , Simon Glass , Jakub Klama , Marcin Jabrzyk Cc: Wojciech Kloska , =?utf-8?q?Rados=C5=82aw_Adamcz?= =?utf-8?q?yk?= , u-boot@lists.denx.de, Artur Rojek Subject: [PATCH v3 3/4] arm: dts: at91: sama5: Add flexcom4 node Date: Mon, 2 Oct 2023 14:42:16 +0200 Message-ID: <20231002124217.68220-4-artur@conclusive.pl> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231002124217.68220-1-artur@conclusive.pl> References: <20231002124217.68220-1-artur@conclusive.pl> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Set up flexcom4 for Microchip SAMA5D27 SoC and prepare it for usage in I2C mode. Signed-off-by: Artur Rojek --- v3: no change v2: new patch arch/arm/dts/sama5d2.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index dd6468ed96aa..819564fdd5bb 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -781,6 +781,26 @@ status = "disabled"; }; + flx4: flexcom@fc018000 { + compatible = "atmel,sama5d2-flexcom"; + reg = <0xfc018000 0x200>; + clocks = <&flx4_clk>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xfc018000 0x800>; + status = "disabled"; + + i2c6: i2c@600 { + compatible = "atmel,sama5d2-i2c"; + reg = <0x600 0x200>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&flx4_clk>; + clock-names = "i2c6_clk"; + status = "disabled"; + }; + }; + aic: interrupt-controller@fc020000 { #interrupt-cells = <3>; compatible = "atmel,sama5d2-aic";