Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5819123ioo; Wed, 1 Jun 2022 13:16:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvViHAmbTNW8y+XMArUmihMcfkmSkustFNJpUq8o84FMIxVbE1Xr3DuD6+HftM0loJDexl X-Received: by 2002:a17:90b:3a85:b0:1e0:548:2bf7 with SMTP id om5-20020a17090b3a8500b001e005482bf7mr36105704pjb.55.1654114562903; Wed, 01 Jun 2022 13:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654114562; cv=none; d=google.com; s=arc-20160816; b=EtpygiIsIfABtVU2zEk3aTUQcMBJmU+b5ISP9O81vUqVYpso9QPGgaciwiNWrW5xdB rn/u/Cjp1HH1DgjzqhWFVPQVS7zCJiwO4HngcmQ2kCD1kJNKxPUogplhRkr3VkrHvQUg t7SzOLqM4RvoWyxISnHntQlfxVbyIzbyhIE9huQl14cngRWm0CIoVxLAVsrXnqdh01AA aNSFIcbnkfwhACaXxNN0HVuKr4mncUPOt5rgGCMbUodytBXSplFrXvSa2g4739riWB6O lbP2EDgfQO2U5NJsS9Cv9tThzY2Ayd7Im1CZkuOKyCNl8RVs3l9jGfZcnumFtjLlaNYf WRww== 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=xhBF+mq2nRVeP17buWzIlAWcN9E9F7b4oLu8aafORZA=; b=wxD8R9Mu7zr/ipcsD/vaZAWzglTiRYefU+xJMnXFQEZYXWrcAmToBscLgWffHBD8e6 4hZ4hqr+5qoKV+pnXAOpTmftEMFUG2hSnxP98NVTiZGuaSXq5gfQPjq37bvz41AOM+jG +Bd6WwUZHFAZEErMxHxc+/Ed8J15XottUlDkiUC4hAffIUEf0WDaNxssKNzO6Fe7KM92 DzfPCOH44BCG1VefMmEh0aZC3NZTdGwXqB7QA+1JUtGmu2eur6lUuDlKslgzRcmLld0z QsM4AC77MYMEN3lFCX6qh3Pp6DV/eQmRtUUx0b/o9RCAXa3EhO8nJ6qjRw6OiaMautqb iWQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf-com.20210112.gappssmtp.com header.s=20210112 header.b=ID4SCZeX; 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 j70-20020a638049000000b003fbd723d5fasi3163474pgd.329.2022.06.01.13.16.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:16:02 -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.20210112.gappssmtp.com header.s=20210112 header.b=ID4SCZeX; 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 D08ADED8EC; Wed, 1 Jun 2022 12:27:12 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236359AbiE3NJB (ORCPT + 99 others); Mon, 30 May 2022 09:09:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236342AbiE3NIy (ORCPT ); Mon, 30 May 2022 09:08:54 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3D9470904 for ; Mon, 30 May 2022 06:08:52 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id l30so11585355lfj.3 for ; Mon, 30 May 2022 06:08:52 -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=xhBF+mq2nRVeP17buWzIlAWcN9E9F7b4oLu8aafORZA=; b=ID4SCZeXTdBpxCoDaFFSZBoc7VbsiEM49mXCwnC8Wvxv8CkiXPTxj5KdxmADQvr3dd KqjnF9xqxcOk+pvbZp/Jq8KWzTWv0MUZf2I9eTiKc8L7bSdYibI3t30V4W54DF7Uj2LL yE9f2uWFVUMDWQfEUXxeGX6MmKVBdSFzCh2HVlNdpdI0uWkAxIRG5ADg6Wl0D/u1lqBY 2xPd1Xles83SKc5Udm9V26XJfbu1OgRkkXH3WY5X1/NBjWAOrWQRs20iWzW3ok8U0dt6 6uWvfKdGeTHcWd2/uxsa0Kz3sZy2TKVp0U/2SjZH/ei/1U3wbYEHz8NCK+Nifw6zaQFT 8aGw== 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=xhBF+mq2nRVeP17buWzIlAWcN9E9F7b4oLu8aafORZA=; b=gQlAX2k1AS9AsUvdPAaT0fp8EA0VEnvdLmMT5wbhFAN46uJjEmmcuyNwS/4ViDJT5F 7CM+2sTkK1sIub28hUJ/JJUbF8UpElkV0BIfDliDihR9D7I/6s2PCMdvICZ7qaLeszsp UbXLUNuA8n8YKEwVnSgSvsQCSOK+IfG4TtMCbx3GfCx32VUgBlPlxbLPpDQx+Sz6t+RO aVt+CBFkVv8vd+M7IHbOS3mCq5QVnM/yoDpOwx1CAsQpGxx5YhJJoY/mrp1tbPrpSomX ZQCq/aYRZw2eCLy7KXSHme/sCXacRub2jQ2YnuA3lu3P+YTWaZvPqUMjm1B3/kopmeU0 cwxg== X-Gm-Message-State: AOAM5322tUXMwK7SdV8+2zT2g0UgytwoUujQNhkmHrYcaUfqtCTiVtnZ +8Y326oNXVqqEuo6hrL1Zez96Q== X-Received: by 2002:a19:2d19:0:b0:478:ae7c:cd5d with SMTP id k25-20020a192d19000000b00478ae7ccd5dmr17221585lfj.385.1653916130953; Mon, 30 May 2022 06:08:50 -0700 (PDT) Received: from panikiel.wifi.semihalf.net ([83.142.187.86]) by smtp.gmail.com with ESMTPSA id d22-20020ac25456000000b00477a7c8a0f0sm2295701lfn.295.2022.05.30.06.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 06:08:49 -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, =?UTF-8?q?Pawe=C5=82=20Anikiel?= , Alexandru M Stan Subject: [PATCH 2/3] dts: socfpga: Add Google Chameleon v3 devicetree Date: Mon, 30 May 2022 15:08:38 +0200 Message-Id: <20220530130839.120710-3-pan@semihalf.com> X-Mailer: git-send-email 2.36.1.124.g0e6072fb45-goog In-Reply-To: <20220530130839.120710-1-pan@semihalf.com> References: <20220530130839.120710-1-pan@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 Signed-off-by: Alexandru M Stan --- 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..988cc445438e --- /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", + "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: ssm2603@1a { + compatible = "adi,ssm2603"; + reg = <0x1a>; + }; +}; + +&i2c1 { + status = "okay"; + + u80: u80@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.124.g0e6072fb45-goog