From nobody Thu Apr 30 08:26:29 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 D93DECCA473 for ; Wed, 1 Jun 2022 15:47:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355750AbiFAPrz (ORCPT ); Wed, 1 Jun 2022 11:47:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353403AbiFAPro (ORCPT ); Wed, 1 Jun 2022 11:47:44 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D10031223 for ; Wed, 1 Jun 2022 08:47:43 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id i10so3499478lfj.0 for ; Wed, 01 Jun 2022 08:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UfwBRuu4ZM72mhs6ACHC3c3G4LBBG//hhQB7GRYTpTo=; b=gsAcBGGYZlDrxc1w8U/I0RGQZyGtBlacpi0yu1+HVT6FE10pI8btlK+E36lu517qr3 ITWdbD7iEdtqqg1BahkjmwOBh+QDu8nK1htTgWX9S8X18IyY+Yt/sGtPk1TW8s9W9frF ybKCcZerXQKJdbcF8MshulmkBkzafVgiwxqjV6ob54TUkmet+CgA74pxTRc45bkFr+rB VvAiIoKLhwtD7oyUHoFWiqOWwBhAMkgA8sLZW17qHqhWrZ3xIaEcBc/Xqwk60N2qHwk6 PL9gcvmMho+PKv/haR/HSSBbDYbPuZ/1e1+G2sFjxQ9833/zw2j0p0zyIZb7exRn/fTu E4eg== 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=VbJ3xoAgaBVCwTnHMKqmIL89NxKhwBz3o/elTvu4zxjZpsZTLBLE9vvOA4fHMF+ttl wAs0Kf3mzHGCgOgjU2koFZ3fY/xpqa1P01h5GFyU+uiGCOvj5uNHNGNd7X1lmyiNBEVv 26lk/j4rtWvurUkqQEfioQS+MqwII7FpRzI8I5C6H0WAqyjofB9W4gMHzV3svxPSDAsH 3mRuA6ZF+opjzGRnCpoh8WUDRHqqygAJ7+MppCvaisnyA0LRY424wQvQPy154QwSerS5 PnoeoPuLLyV1dyPiiybCMmZi9tj00M2kqx7D5ZV0y4h2C2Ir1e2AxD+mnLNurw3jpSHL SFWQ== X-Gm-Message-State: AOAM533abFaY5MSBf9GyS4wemqNxdx9nyy+9dlQcnvnhd36y6d9cTYqh NcVoS1ivcPRF4LPyM3swQxHrTQ== X-Google-Smtp-Source: ABdhPJw2YqAERwhfHBUEzSKgK8Qry/TcdNJe+5LBYjVk0PezmPnVZkD0WfINjfthvl3P4PpyLWKaag== X-Received: by 2002:a05:6512:3f05:b0:477:8ecb:4fbe with SMTP id y5-20020a0565123f0500b004778ecb4fbemr49162017lfa.193.1654098461732; Wed, 01 Jun 2022 08:47:41 -0700 (PDT) Received: from panikiel.wifi.semihalf.net ([83.142.187.86]) by smtp.gmail.com with ESMTPSA id f10-20020a19380a000000b00478ad871b25sm431219lfa.145.2022.06.01.08.47.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 08:47:41 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: soc@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, olof@lixom.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v2 1/5] ARM: dts: socfpga: Change Mercury+ AA1 dts to dtsi Date: Wed, 1 Jun 2022 17:46:43 +0200 Message-Id: <20220601154647.80071-2-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220601154647.80071-1-pan@semihalf.com> References: <20220601154647.80071-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 Reviewed-by: Krzysztof Kozlowski --- 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 Thu Apr 30 08:26:29 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 A654DC433EF for ; Wed, 1 Jun 2022 15:48:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355744AbiFAPsA (ORCPT ); Wed, 1 Jun 2022 11:48:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354695AbiFAPrp (ORCPT ); Wed, 1 Jun 2022 11:47:45 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E6BC3123A for ; Wed, 1 Jun 2022 08:47:44 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id i10so3499564lfj.0 for ; Wed, 01 Jun 2022 08:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j+1GcNao+MpcpUVYncd1ScTVUmB5P8PxXyVNWxX2GeI=; b=tnQNJHh2vEdrcbhYQuO5shlFnBSNoFpkKp6+nLw5kDyn26ZA6V+dT25LgW2GFD30j0 Btg5efvrHQE4di3DRW/bks8zTFoIoUxFiE8YTMmzm60Y9NlxPV9hfwFGEjQ+433TAnSi INoWF4m/Qd7hbB6dhSz6LNtL6MDwjWAqSxxTgdJndcZsZEbPsDhwaItlMI2h5LnmwSfE 1NsY1GivAH1Kv/FRH1jxVbgQG83QKJi50lx2ToazfWCukd6oG7Tdm5bX/K6gk/9vafbp qVFDJLmC6l1WOBYfcpK+1eXNLbmqm7CZ7213FdANP6gyTpj4znf7ox66XKMSBKf+2SCI EcJw== 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=Ber+AE0V5Q7nA6MdEcDnw/tPWfwt4IbJxueUUPtght6simIX/X/98SY7tg6S84Nipb gwTPzn4l04JKUkszWVeGfukAAf/FSphts1PjRqRD4oTSk9DhRe6kuOvJsel6pkTnRE/S CwHPMuHis+/iID48N7/V1Cbg6T/fHgSvdPbPm2T7Bis+P9JAS5A6RLjfxFkHyqm5obuj hzobbjePiKyNBBCGuLKmek5EdnibwMXnIn7ogpFObr3kr8llcPxxSy4fDD+Mq31f5MNZ 7nUrBqOMYv8zdfi7xV+mqVAiVvKuDxZQO3WTZ9M19d2efcdW8JkUdPQ1DJw/ska4GKlG veTQ== X-Gm-Message-State: AOAM530vfpn4iDihwFqxauYmGKQc+nqczC9xHr9AX5spDLXKC6mZDasQ VWkpEgGkJoyEpKgd++s9lk8PeQ== X-Google-Smtp-Source: ABdhPJxrvmdZIE50mE4LyGk8Q7U6bi5QRa+ZXwfv1N+HWB/5Nwi30SD46rFfuu/DH57WAEhFWv7iBQ== X-Received: by 2002:a05:6512:3c96:b0:477:e016:82a3 with SMTP id h22-20020a0565123c9600b00477e01682a3mr47737lfv.268.1654098462742; Wed, 01 Jun 2022 08:47:42 -0700 (PDT) Received: from panikiel.wifi.semihalf.net ([83.142.187.86]) by smtp.gmail.com with ESMTPSA id f10-20020a19380a000000b00478ad871b25sm431219lfa.145.2022.06.01.08.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 08:47:42 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: soc@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, olof@lixom.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v2 2/5] ARM: dts: socfpga: Move sdmmc-ecc node to Arria 10 dts Date: Wed, 1 Jun 2022 17:46:44 +0200 Message-Id: <20220601154647.80071-3-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220601154647.80071-1-pan@semihalf.com> References: <20220601154647.80071-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 Reviewed-by: Krzysztof Kozlowski --- 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 Thu Apr 30 08:26:29 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 000FEC433EF for ; Wed, 1 Jun 2022 15:48:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355836AbiFAPsK (ORCPT ); Wed, 1 Jun 2022 11:48:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355593AbiFAPrq (ORCPT ); Wed, 1 Jun 2022 11:47:46 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EC0331229 for ; Wed, 1 Jun 2022 08:47:45 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id t25so3429587lfg.7 for ; Wed, 01 Jun 2022 08:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4Ppw8UVo/qEPgt1AkXxmf7JhE2d9K4tKcX8rTq2VqM0=; b=IfDJ6Y/LBiKfML25dHZi4KzD+/YqzPwyzQgsdy7RcT3HdhiSl4RyaHT64fsrU2OR2Y DIFOnMYGWYS7CYmjEXgsmd7l6UJSqaDmY5lx/H0zTT0qjuFLG0THmztBb/2iPVhsoni5 veiEhaXzEtIohcXf31m1Yt67aq1W4MatJMkVihdhVKZbro75VxTkfSP5m9Vsu+6IO96T iHRLH70w8Vev+mhIAMhPkJr45VIPXutbrU10nAng5cXVYvoT2cx34HTNreFMQqejf81I CgpWUHVaJj4GeAbK4NN2xL9Ixjwyl3j6X5HCpS7Z8+hp8aXYdzv5szQ55ldoLPWE7SPt jt8Q== 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=4Ppw8UVo/qEPgt1AkXxmf7JhE2d9K4tKcX8rTq2VqM0=; b=LGVBOLFGbuci25vH4NQl5UA6Hc8Gtyx/0mEPIRxL1Lrp1lqWB48czDcIjIkROC6BWE zX3efS7u9lnSarVeiMLwxHQgd/j47dv6STGUGPViyFsQigZul2u8g006+VI4Wj6lUieS AKext3M2TWWncnShI2V0GKzZ5i5K9dE5ACABD0QzC49k6Nj6j4oA01PzQrHZC4n1CzKK agt8lFz659byoIvjypMlNTjasdVo86R3b2YZTaZCVAQJAHpTSqnV1u5dCZrA8yUOJdxu 5o2tN1Rxtdrmlz6Qy73mpyxKWtdaiCH28VlqT5xkmiNetsDLP8u8rhf6iam5aMhTx2Vx OciA== X-Gm-Message-State: AOAM530yVA6+dozu+Iw1QgpddXFGlnugKV7YyZDJweBwlNuLZp/eDYIN asUoY9FLgqb64ejUOMer6C2Irw== X-Google-Smtp-Source: ABdhPJynYZi16/O8cBrcIt/J7dx1Ms13LA/nzWfRSH7AoMTjLNzcmzT5zdlPGWmMyk1MP9o2B/deOw== X-Received: by 2002:a05:6512:3054:b0:478:70d9:845f with SMTP id b20-20020a056512305400b0047870d9845fmr34389294lfb.201.1654098463785; Wed, 01 Jun 2022 08:47:43 -0700 (PDT) Received: from panikiel.wifi.semihalf.net ([83.142.187.86]) by smtp.gmail.com with ESMTPSA id f10-20020a19380a000000b00478ad871b25sm431219lfa.145.2022.06.01.08.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 08:47:43 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: soc@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, olof@lixom.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v2 3/5] ARM: dts: socfpga: Add atsha204a node to Mercury+ AA1 dts Date: Wed, 1 Jun 2022 17:46:45 +0200 Message-Id: <20220601154647.80071-4-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220601154647.80071-1-pan@semihalf.com> References: <20220601154647.80071-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 Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi b/arch/arm/= boot/dts/socfpga_arria10_mercury_aa1.dtsi index b0d20101cd00..dd1bfa7e1a78 100644 --- a/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi @@ -1,5 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 - +/* + * Copyright 2022 Google LLC + */ #include "socfpga_arria10.dtsi" =20 / { @@ -54,6 +56,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 Thu Apr 30 08:26:29 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 D4050CCA473 for ; Wed, 1 Jun 2022 15:48:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355763AbiFAPsH (ORCPT ); Wed, 1 Jun 2022 11:48:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354843AbiFAPrq (ORCPT ); Wed, 1 Jun 2022 11:47:46 -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 2FD5531223 for ; Wed, 1 Jun 2022 08:47:45 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id i10so3499476lfj.0 for ; Wed, 01 Jun 2022 08:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y3JvSDWyNzZ3ubMu+5VkO/66cKXhEY5f22UYF/SL+Mg=; b=Vhh2E7NNBEcv7+QVjiVBJmG8TCrBPdxgdnYQJ3YWT/7igbMMDlzAqIUzfy3Vrv8aN2 KoVnWp3dlV7NAsUrzB5c+hPHcxZM+zfUZKDBllQG7CVwWTEh0sScluIjVIGqyvWBrtcN aoUEifsKbNzpETq8OkaFf6unIfaAkau07wNjJAhTfMJFNLRW4l6Vu4AyhVoXhnrfjJ+F MyfqIzSUP659htUlP7mBvN2Lq25A0ZU/K5ZdZOaht8BIPUl+LWY1tUcSrSxsw1ahTDgN NTILbXSzjLkl62pmtrUk2QhnB4G05WAq/VJjQnIo6+qgQ8OSOx0NECnHB22lBtQvUBe9 XpAg== 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=RL8/QMYm/y80F7jflU+aGy176Jpl9Uz+LwmiDOpit8qllKgVOpCL21y3G7YQ9CW41D xQse2pHqaxY/nPtQVF9WQ259wHlqZ3yTg1KEJ2ghQWoLi0IbHAAAlVjnC48Iyjw4xX/s AbRNRi+Y2LpP+jx0Wq14yx6AeQb4bNgtyxvL72fZQuk3syP5XcOce+CPGK2rQPDYRuaK dh6CkaYlqIHWK5D3ZbO2CtkbroRMU2Wrh9e/9G9d6Exe1OraBFIFr5Mmr0WOCi2SNwq7 1lceWMTKt3ZQM1Ynn32ETyn7LHQSIMuQ9EchXKaN7w3OE795ahBFGxYkOzCHE3zzLVLb PGGg== X-Gm-Message-State: AOAM531BxGZOoPAlenlrWqXP/YrMZLWc1pSXwJNuJZ3VszXG2MilyELn 7BONeXApHhsVzM7Wkd2kn5LkqQ== X-Google-Smtp-Source: ABdhPJyz31uUXCHhwnTbXJyTM8r9rEhWOAlYmT/8lkQ3scCemE7RzYx9SUMpUL5FgRRdnLPpnVMKfg== X-Received: by 2002:a05:6512:3130:b0:479:2e0:631b with SMTP id p16-20020a056512313000b0047902e0631bmr2903593lfd.561.1654098464757; Wed, 01 Jun 2022 08:47:44 -0700 (PDT) Received: from panikiel.wifi.semihalf.net ([83.142.187.86]) by smtp.gmail.com with ESMTPSA id f10-20020a19380a000000b00478ad871b25sm431219lfa.145.2022.06.01.08.47.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 08:47:44 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: soc@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, olof@lixom.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v2 4/5] ARM: dts: socfpga: Add Google Chameleon v3 devicetree Date: Wed, 1 Jun 2022 17:46:46 +0200 Message-Id: <20220601154647.80071-5-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220601154647.80071-1-pan@semihalf.com> References: <20220601154647.80071-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 Reviewed-by: Krzysztof Kozlowski --- 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 Thu Apr 30 08:26:29 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 F118AC433EF for ; Wed, 1 Jun 2022 15:48:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355855AbiFAPsP (ORCPT ); Wed, 1 Jun 2022 11:48:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355701AbiFAPrs (ORCPT ); Wed, 1 Jun 2022 11:47:48 -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 6C93C3136F for ; Wed, 1 Jun 2022 08:47:47 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id j10so3409048lfe.12 for ; Wed, 01 Jun 2022 08:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=s1I1Lu6vDnv+FXCTPOWPHqa85mx5mVRb44SdNNE1HaQ=; b=5gR5CbreQ7srjG4Ym7Ultz+/q2nE9r/GfUDpbd3uPQOeB+iu3HtDcbNu0p5kZmpUVg fPsNMYipnB9IVUAWme2bDC4FLqYU/14GMYY6J4Y3SCThHAjhYedfsTWBDiDxtcIn9H49 5qyC6kVfcQssWlVcxU/8uB8L8K503iFBC0fVZlOcVQZCQoXP1w1YMCTqkkvxjFUH7XjT k2NSE+lny5cnmbM8CvqoOxLSaP8P9QHuGLm7TzOLwct2gxHP/CHXtxvtLi9Rt9/vvAsO QPi7t527ylkC9oTqEyokrkmCuXLU8nBZZyCyqKVY0qN8ifyP6ypEoNYx8ZgRmj8LCmZL xi8A== 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=s1I1Lu6vDnv+FXCTPOWPHqa85mx5mVRb44SdNNE1HaQ=; b=NKD5Q4YCQDXK9KUFuEKfxx+rcvu6+gGWWkyqfpasQlO+2HU1sOhfSiJFNf1kV0VjEi 3EgWJGxv8PehqEfyhRA1tUszQoR9uPNcoKRnscNBGGqJDq1DWEJXy/4kaKMkDxaJD6rB im4IZA/Foe10sLEqAcMCYwSr3orR+XmEKxNDWL51YrvFLmoWvxeHzhzGj2Yxc0Fjen6K azUrZ9vogMhJBDbkK02evx2tXk1PsFZLxgjRqhFzHc08Cbx4QAeUWFb4Ezno+fyhMOwW TBAGmrwp4Hpa48tJ3Mw/T6jxdajSugBSJOC5I3yPcRfZpKtbETlU3AQ0WEsTXNEEozpF lpLA== X-Gm-Message-State: AOAM530+WvsM8nn4RIQkuD2ENQzsaGB8YPJKHiZy5e5tvMJUF/guK7t0 8V6ukY/dY7Zm5pWV8KR24BkaFw== X-Google-Smtp-Source: ABdhPJxDG73AD76s9kMvKtHwHRysyphsIohDnmLglBHeLvKPQfhd9oKlb71wR7C2XDycAqZr0Ev1hw== X-Received: by 2002:a05:6512:6c9:b0:478:dc36:b25b with SMTP id u9-20020a05651206c900b00478dc36b25bmr13149300lff.369.1654098465821; Wed, 01 Jun 2022 08:47:45 -0700 (PDT) Received: from panikiel.wifi.semihalf.net ([83.142.187.86]) by smtp.gmail.com with ESMTPSA id f10-20020a19380a000000b00478ad871b25sm431219lfa.145.2022.06.01.08.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 08:47:45 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Anikiel?= To: soc@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, olof@lixom.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org, amstan@chromium.org, upstream@semihalf.com, =?UTF-8?q?Pawe=C5=82=20Anikiel?= Subject: [PATCH v2 5/5] dt-bindings: altera: Add Chameleon v3 board Date: Wed, 1 Jun 2022 17:46:47 +0200 Message-Id: <20220601154647.80071-6-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220601154647.80071-1-pan@semihalf.com> References: <20220601154647.80071-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 Chameleon v3 to Arria 10 boards. Signed-off-by: Pawe=C5=82 Anikiel --- Documentation/devicetree/bindings/arm/altera.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/altera.yaml b/Documentat= ion/devicetree/bindings/arm/altera.yaml index 5e2017c0a051..400543fbe78d 100644 --- a/Documentation/devicetree/bindings/arm/altera.yaml +++ b/Documentation/devicetree/bindings/arm/altera.yaml @@ -26,6 +26,7 @@ properties: - enum: - altr,socfpga-arria10-socdk - enclustra,mercury-aa1 + - google,chameleon-v3 - const: altr,socfpga-arria10 - const: altr,socfpga =20 --=20 2.36.1.255.ge46751e96f-goog