Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp102113iof; Sun, 5 Jun 2022 22:26:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkIdVndvm4DTX1FuukiBgHcFNEzs3EOIaHowr6jaINyA1GSWkJbYRGiscEUY25BAXn0xVa X-Received: by 2002:a63:356:0:b0:3fd:7477:63f0 with SMTP id 83-20020a630356000000b003fd747763f0mr7947716pgd.601.1654493173943; Sun, 05 Jun 2022 22:26:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654493173; cv=none; d=google.com; s=arc-20160816; b=nvX/7iRDg6JvVMG7qizbkGohJQ/Y045fjrZQnf2aNnEG3fBE05Hj+OJ7V2WtT7m+3P H8/4ehZpxzJH6ADMLeuxt6sOHsosGwwYnw32+++1gaQSLeX9eboj16UDpIk38zzmlZlr 8U7QKSQAgboFObkn0tqlZqXQ65ZT49XlxVx1DlQBqgUk0vAz06gumW7kfY6iCVnbtml+ x2yLdt+tVJsVAijp4xkHlUEp/nZ+tp437GLuDfZoTGHlKk5dwH5VEitSg5smX0CKNYeT BRu0a+umGNfJnkKWaGTM30W4XystYVWPnbUBW7pW01WV+71EVrM5oQc4sYvQwXPDAUGx 4B1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=y3JvSDWyNzZ3ubMu+5VkO/66cKXhEY5f22UYF/SL+Mg=; b=X6RdboXimSPDg9N3rzbqz89q4shQLfBfJUjBoY2Yq62/uLOal2TmYttDhfTjpIqDBK ZiK5jq7Yz47hZQM93RESbhJ0cG/2yvl44oHGda9LT60dl8Q65Zre06ouBOKjBkqcMna+ LSaBirCrsa9zMsJEdaT93pCV5wlT2QEXqxHmuENbpykXIOpmbDndndKpsP7turs1altC kIHeA06KXJ+DmDRY3PYmLapOItO6nGTiRns+EgEYhM9BGTsxqBkykfO1P9IB4qjHEslb 9yrGiOOMvetm8SBWeznxO4IvL6DII9i5Dsmqc/xPRNKbTknX8GP5Jihh1lHIMxIAgxCr j2Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=tDC9M82Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s3-20020a632c03000000b003fc37053c7esi20006273pgs.730.2022.06.05.22.26.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:26:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=tDC9M82Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 22AB11DA0AA; Sun, 5 Jun 2022 21:28:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240681AbiFCHCH (ORCPT + 99 others); Fri, 3 Jun 2022 03:02:07 -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-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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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