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 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: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree for the Google Chameleon v3 board. Signed-off-by: Paweł 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) += \ s5pv210-torbreck.dtb dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += \ 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/boot/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 = "Google Chameleon V3"; + compatible = "google,chameleon-v3", "enclustra,mercury-aa1", + "altr,socfpga-arria10", "altr,socfpga"; + + aliases { + serial0 = &uart0; + i2c0 = &i2c0; + i2c1 = &i2c1; + }; +}; + +&gmac0 { + status = "okay"; +}; + +&gpio0 { + status = "okay"; +}; + +&gpio1 { + status = "okay"; +}; + +&gpio2 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + ssm2603: audio-codec@1a { + compatible = "adi,ssm2603"; + reg = <0x1a>; + }; +}; + +&i2c1 { + status = "okay"; + + u80: gpio@21 { + compatible = "nxp,pca9535"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "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 = "okay"; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&usb0 { + status = "okay"; + dr_mode = "host"; +}; -- 2.36.1.255.ge46751e96f-goog