From nobody Tue Apr 28 07:43:48 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2535AC43334 for ; Fri, 3 Jun 2022 07:02:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242306AbiFCHCZ (ORCPT ); Fri, 3 Jun 2022 03:02:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242332AbiFCHBk (ORCPT ); Fri, 3 Jun 2022 03:01:40 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97B1D36688 for ; Thu, 2 Jun 2022 23:59:26 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id l18so192864lje.13 for ; Thu, 02 Jun 2022 23:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UfwBRuu4ZM72mhs6ACHC3c3G4LBBG//hhQB7GRYTpTo=; b=USv+GhMboj2lAxWfNUSe0iScIubFVAj+yQq/JocetYGClDaPJnhUJ6iT1SOrTVoUmt w0w2wGhGtqH8kpGEW0WY6k54zslFbFFJ8zRKzi/GvNPUX/Ihun0UB8QOKTe5XIaZlXG7 NoVBIAE3y0WDEv9sH4mLQjROSHP14ErS9ZKHNnOh5ISkOvWgOi5p8HFo92d1RD3AP83z PFybXiKrFc5zu9HwO9tLVEJqBlUVRf5kAxSLtmhoxSrn+WjFsyFHzzYQnlyoMCPzUkA1 wGdwWjXkPWcRDT8vUoK/E0qM6UUEVHDwYzexo9pJxNTAeN6Teigi8PZQbJTBW15VfXQy aEYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UfwBRuu4ZM72mhs6ACHC3c3G4LBBG//hhQB7GRYTpTo=; b=ZJ+KOFjZ0lvxieRzjUOeMuTrzX6nxjqNBSUPyrLsy1blFerMiCTo+SaC4XdXKqf+29 8XTZ4A4UkYBI3clqZVHwH4h4TiW0z6Q6yExd0E21VHr94WvCpvzcHAlw60P5h3wb9q84 HEghz05ctDpl6ljlb5ec4F7hoHGrwGhDOASJbqiopXXZ28S54K7WWOe7XxKZ+L4/tKFq YztwQECIQEudmAZhdtxLhkdAH/aiilZDT3UlZITjQzqSI6C+pMiggav6NZdKnP/fc1CG PVum8+b4jYSxRNkWYJD6LC/IO6AL9KuAo9TVpatRB+ILiM0qhZvAQiyfYbheJzvvc3ky UQgw== X-Gm-Message-State: AOAM533Hgq81Ixm23YenPllrA2MNXtBoEXvTO+Who7jLAM/dn5BQx/cL gQna3Gek4u/6TiIellkqPt0QnA== X-Google-Smtp-Source: ABdhPJwIDJQ9CWAfQyIdRk8vfL6WkSfsvZgwkikbXxTyggbh4o9LLRzARA0ua9afMswiXEcqDSXMJQ== X-Received: by 2002:a2e:91d1:0:b0:255:7676:7547 with SMTP id u17-20020a2e91d1000000b0025576767547mr3636414ljg.207.1654239564538; Thu, 02 Jun 2022 23:59:24 -0700 (PDT) Received: from panikiel.roam.corp.google.com (staticline-31-182-204-250.toya.net.pl. [31.182.204.250]) by smtp.gmail.com with ESMTPSA id b8-20020ac247e8000000b004786321c697sm1056447lfp.138.2022.06.02.23.59.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 23:59:24 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v3 1/5] ARM: dts: socfpga: Change Mercury+ AA1 dts to dtsi Date: Fri, 3 Jun 2022 08:58:12 +0200 Message-Id: <20220603065816.87952-2-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220603065816.87952-1-pan@semihalf.com> References: <20220603065816.87952-1-pan@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Mercury+ AA1 is not a standalone board, rather it's a module with an Arria 10 SoC. Remove status =3D "okay" and i2c aliases, as they are routed to the base board and should be enabled from there. Signed-off-by: Pawe=C5=82 Anikiel --- arch/arm/boot/dts/Makefile | 1 - ...1.dts =3D> socfpga_arria10_mercury_aa1.dtsi} | 28 ------------------- 2 files changed, 29 deletions(-) rename arch/arm/boot/dts/{socfpga_arria10_mercury_aa1.dts =3D> socfpga_arr= ia10_mercury_aa1.dtsi} (84%) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index edfbedaa6168..023c8b4ba45c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1146,7 +1146,6 @@ dtb-$(CONFIG_ARCH_S5PV210) +=3D \ s5pv210-torbreck.dtb dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) +=3D \ socfpga_arria5_socdk.dtb \ - socfpga_arria10_mercury_aa1.dtb \ socfpga_arria10_socdk_nand.dtb \ socfpga_arria10_socdk_qspi.dtb \ socfpga_arria10_socdk_sdmmc.dtb \ diff --git a/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dts b/arch/arm/b= oot/dts/socfpga_arria10_mercury_aa1.dtsi similarity index 84% rename from arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dts rename to arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi index a75c059b6727..4b21351f2694 100644 --- a/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dts +++ b/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -/dts-v1/; =20 #include "socfpga_arria10.dtsi" =20 @@ -11,8 +10,6 @@ / { aliases { ethernet0 =3D &gmac0; serial1 =3D &uart1; - i2c0 =3D &i2c0; - i2c1 =3D &i2c1; }; =20 memory@0 { @@ -43,7 +40,6 @@ &gmac0 { phy-addr =3D <0xffffffff>; /* probe for phy addr */ =20 max-frame-size =3D <3800>; - status =3D "okay"; =20 phy-handle =3D <&phy3>; =20 @@ -69,22 +65,8 @@ phy3: ethernet-phy@3 { }; }; =20 -&gpio0 { - status =3D "okay"; -}; - -&gpio1 { - status =3D "okay"; -}; - -&gpio2 { - status =3D "okay"; -}; - &i2c1 { - status =3D "okay"; isl12022: isl12022@6f { - status =3D "okay"; compatible =3D "isil,isl12022"; reg =3D <0x6f>; }; @@ -92,7 +74,6 @@ isl12022: isl12022@6f { =20 /* Following mappings are taken from arria10 socdk dts */ &mmc { - status =3D "okay"; cap-sd-highspeed; broken-cd; bus-width =3D <4>; @@ -101,12 +82,3 @@ &mmc { &osc1 { clock-frequency =3D <33330000>; }; - -&uart1 { - status =3D "okay"; -}; - -&usb0 { - status =3D "okay"; - dr_mode =3D "host"; -}; --=20 2.36.1.255.ge46751e96f-goog From nobody Tue Apr 28 07:43:48 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C8B3C43334 for ; Fri, 3 Jun 2022 07:01:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242365AbiFCHBy (ORCPT ); Fri, 3 Jun 2022 03:01:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242307AbiFCHBj (ORCPT ); Fri, 3 Jun 2022 03:01:39 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2FBD38D8D for ; Thu, 2 Jun 2022 23:59:27 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id t13so7524020ljd.6 for ; Thu, 02 Jun 2022 23:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j+1GcNao+MpcpUVYncd1ScTVUmB5P8PxXyVNWxX2GeI=; b=hXxiVy1rMerVPYFxAvTrykMJn8GqMTIJNFtHoByV5ZBEWKRtM39ia9F2+cH8fgXEIr iP7gJYpSd/3qtmlrWywrzA6HIomjjBXUGwI/GgpjN2KffBFs6XIUujHTMsRypkcaxU5i OlXkg1AnmArJyAm26K/MQGFTK/Ulg0HeFb9rYrJ+4pzNX1dPF4EtcRQUeisB4fQddQop 9D0qUbeL/Crer8BcYc68rYX7iWR1rtc3CnHJaI9p3tEVnFA/s7gFYG5A3w4vtGFTob50 6YN1DVfe5YWhCMk7HPYNWbrdkzdMxOLOQ+h53dCW20Yp+ZBn959P9B3vsF3Cmzw7ak+n vkRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=j+1GcNao+MpcpUVYncd1ScTVUmB5P8PxXyVNWxX2GeI=; b=QrE1mzYWzYguZq7EHjG30EVkI6WzC0z429AVVIE8kluN6l/TC53FevhjarQUGQpqb5 s5180+hj/YgqgtjTK3zTXMiL+Bff6INMQXuVmOyMLoRs6Ts1mN4A9IvWNJPkpAcqw+vk M3czL0IRnRz3m3/p3z7HF/2udL/VeAKqzfxg1ET9dWEnDPDScRRcncKjq41qTak7a12j 3knI+KQi6rH42785FVGW+w32LYstNgVCSw1yIwQQkJ/aZ7LzfOXcTy1w09NbSP2Vlb/Q IuD6tCVz2Ref+Cf6D3vWJF6Ehkb2Pin4vfT3KJSs972+uHrIXrqw/dPvomD2v90xGdpL NgbA== X-Gm-Message-State: AOAM530xM+PRPBav7ZDiJAmYFh6dT1nHMqKHBxYSroI/29jKVhwutcKe BfZh8FPYfyXAe9QJwOFaN/eEBQ== X-Google-Smtp-Source: ABdhPJxHYTA/EEeEDJiAAhWlWqMNTPnVXX/fz/LXtjkkK3yxKHbGCiRqOCNrUak3T/G6aOkRiV4erA== X-Received: by 2002:a2e:b601:0:b0:255:6786:bbc0 with SMTP id r1-20020a2eb601000000b002556786bbc0mr8202055ljn.27.1654239565917; Thu, 02 Jun 2022 23:59:25 -0700 (PDT) Received: from panikiel.roam.corp.google.com (staticline-31-182-204-250.toya.net.pl. [31.182.204.250]) by smtp.gmail.com with ESMTPSA id b8-20020ac247e8000000b004786321c697sm1056447lfp.138.2022.06.02.23.59.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 23:59:25 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v3 2/5] ARM: dts: socfpga: Move sdmmc-ecc node to Arria 10 dts Date: Fri, 3 Jun 2022 08:58:13 +0200 Message-Id: <20220603065816.87952-3-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220603065816.87952-1-pan@semihalf.com> References: <20220603065816.87952-1-pan@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ecc manager is a part of the Arria 10 SoC, move it to the correct dts. Signed-off-by: Pawe=C5=82 Anikiel --- arch/arm/boot/dts/socfpga_arria10.dtsi | 10 ++++++++++ arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi | 12 ------------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/soc= fpga_arria10.dtsi index 26bda2557fe8..4370e3cbbb4b 100644 --- a/arch/arm/boot/dts/socfpga_arria10.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi @@ -736,6 +736,16 @@ emac0-tx-ecc@ff8c0c00 { <37 IRQ_TYPE_LEVEL_HIGH>; }; =20 + sdmmca-ecc@ff8c2c00 { + compatible =3D "altr,socfpga-sdmmc-ecc"; + reg =3D <0xff8c2c00 0x400>; + altr,ecc-parent =3D <&mmc>; + interrupts =3D <15 IRQ_TYPE_LEVEL_HIGH>, + <47 IRQ_TYPE_LEVEL_HIGH>, + <16 IRQ_TYPE_LEVEL_HIGH>, + <48 IRQ_TYPE_LEVEL_HIGH>; + }; + dma-ecc@ff8c8000 { compatible =3D "altr,socfpga-dma-ecc"; reg =3D <0xff8c8000 0x400>; diff --git a/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi b/arch/arm/= boot/dts/socfpga_arria10_mercury_aa1.dtsi index 4b21351f2694..b0d20101cd00 100644 --- a/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi @@ -23,18 +23,6 @@ chosen { }; }; =20 -&eccmgr { - sdmmca-ecc@ff8c2c00 { - compatible =3D "altr,socfpga-sdmmc-ecc"; - reg =3D <0xff8c2c00 0x400>; - altr,ecc-parent =3D <&mmc>; - interrupts =3D <15 IRQ_TYPE_LEVEL_HIGH>, - <47 IRQ_TYPE_LEVEL_HIGH>, - <16 IRQ_TYPE_LEVEL_HIGH>, - <48 IRQ_TYPE_LEVEL_HIGH>; - }; -}; - &gmac0 { phy-mode =3D "rgmii"; phy-addr =3D <0xffffffff>; /* probe for phy addr */ --=20 2.36.1.255.ge46751e96f-goog From nobody Tue Apr 28 07:43:48 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5E9CC43334 for ; Fri, 3 Jun 2022 07:02:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242230AbiFCHCj (ORCPT ); Fri, 3 Jun 2022 03:02:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242314AbiFCHBj (ORCPT ); Fri, 3 Jun 2022 03:01:39 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EBB8E080 for ; Thu, 2 Jun 2022 23:59:29 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id h23so11206908lfe.4 for ; Thu, 02 Jun 2022 23:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y5fnCbT6pV3770HPEOFrw72v0s1ib7hyazGd68SatYM=; b=TKhiCnK1kmZG/fpGFFJ3Ape86OiOt3cDgpibzXpc9d9/wULO6w12oD7N2h9UQahDcQ PE3AxwGstUR+jILm2MUKibZU+BdC03oP0Jn76pzGlJJGl7mfJJveZ50FcA/Z50F12NEX 9QzeZzKWKbvRdzkbSW5xFy05E9I2ilYkeVeCfV3kVxitozLPk2SR+15F7jpuodMul0ZR QCePMmuELZxfPC+zCts0S2PrC3qXcyfM7Q17mcuVQIyT4wswNlrOP6L0QSbxDIULUTFO qeHQE2/gWWYagitik8vzCYWtoX9kKWXibxzl+ti6Rx2wKaqWSxetpC6Ddl91lb9vT7CA IGVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y5fnCbT6pV3770HPEOFrw72v0s1ib7hyazGd68SatYM=; b=rCRKYL6MbMb9tbdd8m7bIzbzvRSwxiWzwptDjGswLXzSrXUCLyTDpUTmSsBZ2DW1im 5mPdwem9FoVI5hQJ3wF5VcWUtN3n6BFElS6DSiFvdx6P7uNZhDTCydiasBfX619eNLu2 A78l50rcdFfvzwSDy0Yb4DSIPp8NOTNJP8RvanBrWgvPCCfHZ0Yu3WlSKvflpJaxiyT3 05QPElXQ0JLGWfLWdI9nW3TvJ66LPQzZfYcvpPaG1isHG+/58hIRWWDo4tBspn/+E136 zyFiXN2FaxB+6gA8D3YoYY2YQgs4VJnxpxDpls0Qw9zU7HJ/rL+1lZsgA1qLDnaig0s4 5nXg== X-Gm-Message-State: AOAM5334AuevbKBOvl8Ic4muj8ShOxdlGuUvAYA8YiSd/udlKLshuEwN 4Ab6dZVkYmZRA4DddvowCsjPiQ== X-Google-Smtp-Source: ABdhPJwCvwZXoPjUzhLVY2GSbh466VVUaxaedPyI7Z4tX0Z+7YioNtOJ2w5lhGjPcVto6vX0U3pxXA== X-Received: by 2002:a05:6512:3f9a:b0:478:1:6ad with SMTP id x26-20020a0565123f9a00b00478000106admr5972890lfa.558.1654239567411; Thu, 02 Jun 2022 23:59:27 -0700 (PDT) Received: from panikiel.roam.corp.google.com (staticline-31-182-204-250.toya.net.pl. [31.182.204.250]) by smtp.gmail.com with ESMTPSA id b8-20020ac247e8000000b004786321c697sm1056447lfp.138.2022.06.02.23.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 23:59:27 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v3 3/5] ARM: dts: socfpga: Add atsha204a node to Mercury+ AA1 dts Date: Fri, 3 Jun 2022 08:58:14 +0200 Message-Id: <20220603065816.87952-4-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220603065816.87952-1-pan@semihalf.com> References: <20220603065816.87952-1-pan@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add atsha204a node to Mercury+ AA1 dts Signed-off-by: Pawe=C5=82 Anikiel --- arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi b/arch/arm/= boot/dts/socfpga_arria10_mercury_aa1.dtsi index b0d20101cd00..ad7cd14de6b6 100644 --- a/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi @@ -1,4 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2022 Google LLC + */ =20 #include "socfpga_arria10.dtsi" =20 @@ -54,6 +57,11 @@ phy3: ethernet-phy@3 { }; =20 &i2c1 { + atsha204a: crypto@64 { + compatible =3D "atmel,atsha204a"; + reg =3D <0x64>; + }; + isl12022: isl12022@6f { compatible =3D "isil,isl12022"; reg =3D <0x6f>; --=20 2.36.1.255.ge46751e96f-goog From nobody Tue Apr 28 07:43:48 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CCD9C43334 for ; Fri, 3 Jun 2022 07:02:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242225AbiFCHCK (ORCPT ); Fri, 3 Jun 2022 03:02:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241774AbiFCHBn (ORCPT ); Fri, 3 Jun 2022 03:01:43 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 725CD39158 for ; Thu, 2 Jun 2022 23:59:31 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id be31so11189469lfb.10 for ; Thu, 02 Jun 2022 23:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y3JvSDWyNzZ3ubMu+5VkO/66cKXhEY5f22UYF/SL+Mg=; b=tDC9M82QtZAbfgsTv/Xz/DMRsw6WFGgZruyharAJ5gO9T+1ndVk28NCeZbXS9sqwz5 8eblV1fvmJszQSfe/QMmxs3BLTVjpy4eNiYeSUfLw41bWeO/Torla+O3IWOog8B0ZLQ0 dk3GqBdvGWSJJCRYLV1JX5dp0LO6A4VnWHc/QIFWNFMmCNBGBO1UyxSnuZ0i01OC6Th6 RkG9jbBcg+vXAzZlszpl5gXOeY038KVQURj1VWJNYfzPh7LIHBzHlJqEvim0OEixwZid IxIyP1W4ITFvpsgfbCOLHWvgU0ZgWESxdc4aOL3LT7gYXvzWXdbHnVUWwgHMyZ+226NG BZLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y3JvSDWyNzZ3ubMu+5VkO/66cKXhEY5f22UYF/SL+Mg=; b=KSt3nO6gwftExMwXKny8mfVblBUZTNw9rzXWmaopoT9/QXfNxe9LOCMFZTNcH+EM2a HpQ0tTNE7eYTQxzaq42RSEFGMFJ9/8vorq5iDsUHYbpPIML0wku5v0Ozn8PEAq7hOaVO tyDv59XUu4eiaC+JT55zWRL6wkqsCweyokyJmjZ+MgVoe0KNdWicvtEg5W8tL4eFcPOQ /Ki7jU/WKa85R49YUiBcP1TZH9ub6E6Z+NQhtBSYyFu1KFS2iOZxjviwaUmVWCttbWTJ lPxEvewntVws9ZmYHy5Y++yHTFwDlYAAs7TGLv1LI1evjZwcSAP5BgXG2A3rJWLref+v gG1w== X-Gm-Message-State: AOAM533EN7LBnLURXQFVNUpuVG/03fUKXSm8BGeDHgwvS1Xkol7ESE5T ngV8IM/sYs75cfYA+fWTD0vsQA== X-Google-Smtp-Source: ABdhPJyrj8ESUew0kjT4s3epWnUEEtM/B3bZPB+nJdmRj5RR4pOQxw9/FO/Zye/tR1ug6lq0QezkoQ== X-Received: by 2002:a05:6512:1303:b0:479:c91:aeec with SMTP id x3-20020a056512130300b004790c91aeecmr5668192lfu.680.1654239568831; Thu, 02 Jun 2022 23:59:28 -0700 (PDT) Received: from panikiel.roam.corp.google.com (staticline-31-182-204-250.toya.net.pl. [31.182.204.250]) by smtp.gmail.com with ESMTPSA id b8-20020ac247e8000000b004786321c697sm1056447lfp.138.2022.06.02.23.59.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 23:59:28 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v3 4/5] ARM: dts: socfpga: Add Google Chameleon v3 devicetree Date: Fri, 3 Jun 2022 08:58:15 +0200 Message-Id: <20220603065816.87952-5-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220603065816.87952-1-pan@semihalf.com> References: <20220603065816.87952-1-pan@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree for the Google Chameleon v3 board. Signed-off-by: Pawe=C5=82 Anikiel --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/socfpga_arria10_chameleonv3.dts | 90 +++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 arch/arm/boot/dts/socfpga_arria10_chameleonv3.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 023c8b4ba45c..9417106d3289 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1146,6 +1146,7 @@ dtb-$(CONFIG_ARCH_S5PV210) +=3D \ s5pv210-torbreck.dtb dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) +=3D \ socfpga_arria5_socdk.dtb \ + socfpga_arria10_chameleonv3.dtb \ socfpga_arria10_socdk_nand.dtb \ socfpga_arria10_socdk_qspi.dtb \ socfpga_arria10_socdk_sdmmc.dtb \ diff --git a/arch/arm/boot/dts/socfpga_arria10_chameleonv3.dts b/arch/arm/b= oot/dts/socfpga_arria10_chameleonv3.dts new file mode 100644 index 000000000000..422d00cd4c74 --- /dev/null +++ b/arch/arm/boot/dts/socfpga_arria10_chameleonv3.dts @@ -0,0 +1,90 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2022 Google LLC + */ +/dts-v1/; +#include "socfpga_arria10_mercury_aa1.dtsi" + +/ { + model =3D "Google Chameleon V3"; + compatible =3D "google,chameleon-v3", "enclustra,mercury-aa1", + "altr,socfpga-arria10", "altr,socfpga"; + + aliases { + serial0 =3D &uart0; + i2c0 =3D &i2c0; + i2c1 =3D &i2c1; + }; +}; + +&gmac0 { + status =3D "okay"; +}; + +&gpio0 { + status =3D "okay"; +}; + +&gpio1 { + status =3D "okay"; +}; + +&gpio2 { + status =3D "okay"; +}; + +&i2c0 { + status =3D "okay"; + + ssm2603: audio-codec@1a { + compatible =3D "adi,ssm2603"; + reg =3D <0x1a>; + }; +}; + +&i2c1 { + status =3D "okay"; + + u80: gpio@21 { + compatible =3D "nxp,pca9535"; + reg =3D <0x21>; + gpio-controller; + #gpio-cells =3D <2>; + + gpio-line-names =3D + "SOM_AUD_MUTE", + "DP1_OUT_CEC_EN", + "DP2_OUT_CEC_EN", + "DP1_SOM_PS8469_CAD", + "DPD_SOM_PS8469_CAD", + "DP_OUT_PWR_EN", + "STM32_RST_L", + "STM32_BOOT0", + + "FPGA_PROT", + "STM32_FPGA_COMM0", + "TP119", + "TP120", + "TP121", + "TP122", + "TP123", + "TP124"; + }; +}; + +&mmc { + status =3D "okay"; +}; + +&uart0 { + status =3D "okay"; +}; + +&uart1 { + status =3D "okay"; +}; + +&usb0 { + status =3D "okay"; + dr_mode =3D "host"; +}; --=20 2.36.1.255.ge46751e96f-goog From nobody Tue Apr 28 07:43:48 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DE61C43334 for ; Fri, 3 Jun 2022 07:02:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241774AbiFCHCa (ORCPT ); Fri, 3 Jun 2022 03:02:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242340AbiFCHBm (ORCPT ); Fri, 3 Jun 2022 03:01:42 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E08E73914B for ; Thu, 2 Jun 2022 23:59:30 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id j10so11155951lfe.12 for ; Thu, 02 Jun 2022 23:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cxT3KDDIuP0W5p/TaOOy3SJFNBVULLGo5ttCHUhyJ/0=; b=qMhv3GRM38nJp0iMW7/Gk0VA7jUEvTUNhvx5Du9L6srVhHzf8oyfJSN3u14OoG36bc z3DJ3LvkTtW9usWKeMGmDCQy/F9QJMQ8XXBnjQALMAOuJ2/1gWnPUOg8XRxBVvH7GzTh Vh4gEuqUVnNrPfl+qK3OxK2nAJNbokKG++IQOwrzz+JdARp7Dxv7xu8Qdv0lvJRoh3kB u0ibqHpucV2Gp3CUQjsjrqhOwppPI1XJyJwbem7eIyLSHdfiZOpKpXzrs/l6QRTvraoo lVujhnmphDh83r7ljd0dNTJyAErExao7mOpMBYqn95n5hhgqN+NWOBGI9Qz1eauEkJNi 7+Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cxT3KDDIuP0W5p/TaOOy3SJFNBVULLGo5ttCHUhyJ/0=; b=f3bez9jR7KQ7f6gHbLfPG2daOuPztigst9RJ/788h6bXUuFzh/JGYDsWeLhwev3NBk MKed56hWtEyCqZczvjx4Pk+07svwihGOUas/NuFvGBFFF/59i5n8pBucJSFFb1uK7rAU /CQrRfxdcM1ks9SYsPtU2of+Af99lIf7CU3XeKvWb692BnAsk7r/h1QJPtCSEMV2aSFp rbi6I60nDVDf27IKCcfKDgvT0cbvatp9k15McuSwcYYxoHaQEsj6BT+4/eIGkIN2h88m GCcZsLgNd5qEOEoQF/ygq9QbxqHfmCOAfeOAMiWZ8gbc/sucBBlDbNlIFJ7MM97fuc4b Ceig== X-Gm-Message-State: AOAM5321FAEV6ncaX2EZbTDZgj1ooRPkXfSLZ3p+PJKsWxQ08epcguPd bAOm67moxGOFch6vLmBaWLXxkA== X-Google-Smtp-Source: ABdhPJweB1ZHcShDaaZlkRucmwAHJ8LEVtnvQo+YMFFfDYwIsXgYKrOnRDLWVSdlkhHdUvF7/9xrKQ== X-Received: by 2002:a05:6512:228f:b0:478:735c:caab with SMTP id f15-20020a056512228f00b00478735ccaabmr5866521lfu.83.1654239570280; Thu, 02 Jun 2022 23:59:30 -0700 (PDT) Received: from panikiel.roam.corp.google.com (staticline-31-182-204-250.toya.net.pl. [31.182.204.250]) by smtp.gmail.com with ESMTPSA id b8-20020ac247e8000000b004786321c697sm1056447lfp.138.2022.06.02.23.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 23:59:29 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v3 5/5] dt-bindings: altera: Add Chameleon v3 board Date: Fri, 3 Jun 2022 08:58:16 +0200 Message-Id: <20220603065816.87952-6-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220603065816.87952-1-pan@semihalf.com> References: <20220603065816.87952-1-pan@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Mercury+ AA1 boards category, together with the Chameleon v3 board. Signed-off-by: Pawe=C5=82 Anikiel --- Documentation/devicetree/bindings/arm/altera.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/altera.yaml b/Documentat= ion/devicetree/bindings/arm/altera.yaml index 5e2017c0a051..4a08c082dbdb 100644 --- a/Documentation/devicetree/bindings/arm/altera.yaml +++ b/Documentation/devicetree/bindings/arm/altera.yaml @@ -29,6 +29,14 @@ properties: - const: altr,socfpga-arria10 - const: altr,socfpga =20 + - description: Mercury+ AA1 boards + items: + - enum: + - google,chameleon-v3 + - const: enclustra,mercury-aa1 + - const: altr,socfpga-arria10 + - const: altr,socfpga + - description: Cyclone 5 boards items: - enum: --=20 2.36.1.255.ge46751e96f-goog