From patchwork Mon May 17 19:32:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12262969 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B63DC433ED for ; Mon, 17 May 2021 19:34:55 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7CB1361263 for ; Mon, 17 May 2021 19:34:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7CB1361263 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/pb90EmV2iMNIYI6W1BVfQSXI3qBr+w4ZozsMHP0jn0=; b=S5aRulbO2yu6mSVmYxW8JIrAp hQ3uMifrzXbeXOW/fYWkhWjFULBVh66S9q6G0+2qbZ+XRx5uQNeydqapxQNZr2uPVqvZRZXMH2i66 eS3UzcOHkqfeYbDzGIMSVwQmZOPN4NQBJeOBPhiMszY80NCxUo1p70taFVlqUwHSFNNZpggMgkzKt GvzIVqDVWuCTVIF4FZJejrd4bzONcOIVX0BnaXM+H8cFBZtMI20viDr+F3HVJn/lfYitow/25Zxgw jkCUyaKkO/ESBq9DFUsMhfZ1QWVZDRQmNKNB7TrH0xOyAsJmFYyKlO4lcDIpHegNDq87IUWPfmSTO wtbmsRRDQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liiyj-00Fws2-Sl; Mon, 17 May 2021 19:32:38 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyU-00Fwr6-No for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 19:32:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=L8WTjWPmIl+NDRjCmABsKVn9l03ziqgB8V0IbKFuAe8=; b=GMzUNXSJYvIbea+5xGM2u53Nvr K1WA1bdKuvRryDgVufon2ALttIdHM8l3iG799P7RzbRfzBGQhBn9ojeh7C70/AHbj5E8W2DZF/0yC /m+baHSt25siXasS2MNvvUrf4WpQOmW13f2yxZBO1ftNrmLCWJDOLlY+nZ0QCPeIwhwTa9Orpi9Gz 3j+Jb88HMncTsb87Iqlk/GLq4B6UauZtiqaN/TVfx+oOjtcLxVv0t4uoVWp1ZqCbAsLmeujDB4x+W oDtKJFNNlsdrLlJ18WnjWozb0Gv17G0zvc2FRyk2oMUNAj1inYh21nQNcJFgMfvF81oAUZbURA26x u37XdSMQ==; Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyR-00E5mv-R1 for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 19:32:21 +0000 Received: by mail-wr1-x42f.google.com with SMTP id j14so5880129wrq.5 for ; Mon, 17 May 2021 12:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=L8WTjWPmIl+NDRjCmABsKVn9l03ziqgB8V0IbKFuAe8=; b=aHD6a8IdVjOg0h8WRgNOByK07H0QAQ4/UU76vtJetpUiQI0uTzqBWSA+aUXa8IzbD3 WVWXUrzA14bH2vQW+g6L7y3wLcY8BJwcnXStZbNfB8b3xGLAKXRFwMEcbHO7OKP6CRAp /XX2p4EC1cl1uZWnF/nmJKrmDaJDpiRYslPZ0PObUl53wQPmh1GLaK6wxVaFX/+3H1a7 sPcwGqYazDaXq7Shh7WFdm94Me8lThY8yPoTRqgN6J7WTz6B73Vdz1cDyOBeW+po/JeP Tp7o1M1FmC+jGt0qRNgRok1ollox6tQZL7zsY3V7p2u8eOQ5jN4OinfScYXD5eHP1fiF MEug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=L8WTjWPmIl+NDRjCmABsKVn9l03ziqgB8V0IbKFuAe8=; b=q9a7pKkNO17M05U9NO9Lb5xsIJJxhJ+yyOyzynSQZN+iIgtsTPlKkEjC0Z/2xSYUmh L+DddvlLEjBXiGSb6Au64H9IdeOWwZ2S7NGbI7q2hxm6qBu944+AtSLalkwHYEsqGt7z Zv8obzdJsUANWnMcDDvD0uPGYVDfMgGvXHHHFTXD4WJjD4tGKQOqjRKoMNxAjKLaQFZD 56NoEbdYGFvsyNWRvVMrzNYpiyAc+A0Nk0FSr6CW4DCDkf2A69qt/6y/BGb9yQCBqv6Z v9SFH47p2BhlqTjqRoSfkuC3XVWrPo0hiMHw5+3WhiYW0f//qc4ANnukrOT4yRLXtpTf S+2w== X-Gm-Message-State: AOAM532LPAgXBry8Bp9vMB4dSG/0E451Mpmj30ryt+ZyUIiq0dDkAMA6 FmPIbarpdfMlVHtoRBPI2m6Qtw== X-Google-Smtp-Source: ABdhPJw3CybUk4/0huZ1HOTg4nECJ87UHqLkIlNugxHB4p9+DNz+ufghReTZPLPr1/GLbP2eVN6sgA== X-Received: by 2002:adf:f58e:: with SMTP id f14mr1545053wro.258.1621279937843; Mon, 17 May 2021 12:32:17 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e10sm18928907wrw.20.2021.05.17.12.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 12:32:17 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, linus.walleij@linaro.org, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org, ulli.kroll@googlemail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 1/5] ARM: dts: gemini: add labels for USB, IDE, flash and ethernet Date: Mon, 17 May 2021 19:32:01 +0000 Message-Id: <20210517193205.691147-2-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210517193205.691147-1-clabbe@baylibre.com> References: <20210517193205.691147-1-clabbe@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_123219_892783_9CD2FDCC X-CRM114-Status: GOOD ( 11.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Adding label will help simplify boards's dts. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/gemini.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi index 065ed10a79fa..6e043869d495 100644 --- a/arch/arm/boot/dts/gemini.dtsi +++ b/arch/arm/boot/dts/gemini.dtsi @@ -16,7 +16,7 @@ soc { compatible = "simple-bus"; interrupt-parent = <&intcon>; - flash@30000000 { + flash: flash@30000000 { compatible = "cortina,gemini-flash", "cfi-flash"; syscon = <&syscon>; pinctrl-names = "default"; @@ -321,7 +321,7 @@ pci_intc: interrupt-controller { }; }; - ethernet@60000000 { + ethernet: ethernet@60000000 { compatible = "cortina,gemini-ethernet"; reg = <0x60000000 0x4000>, /* Global registers, queue */ <0x60004000 0x2000>, /* V-bit */ @@ -356,7 +356,7 @@ gmac1: ethernet-port@1 { }; }; - ide@63000000 { + ide0: ide@63000000 { compatible = "cortina,gemini-pata", "faraday,ftide010"; reg = <0x63000000 0x1000>; interrupts = <4 IRQ_TYPE_EDGE_RISING>; @@ -369,7 +369,7 @@ ide@63000000 { #size-cells = <0>; }; - ide@63400000 { + ide1: ide@63400000 { compatible = "cortina,gemini-pata", "faraday,ftide010"; reg = <0x63400000 0x1000>; interrupts = <5 IRQ_TYPE_EDGE_RISING>; @@ -414,7 +414,7 @@ display-controller@6a000000 { status = "disabled"; }; - usb@68000000 { + usb0: usb@68000000 { compatible = "cortina,gemini-usb", "faraday,fotg210"; reg = <0x68000000 0x1000>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; @@ -435,7 +435,7 @@ usb@68000000 { status = "disabled"; }; - usb@69000000 { + usb1: usb@69000000 { compatible = "cortina,gemini-usb", "faraday,fotg210"; reg = <0x69000000 0x1000>; interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; From patchwork Mon May 17 19:32:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12262975 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 221B8C433B4 for ; Mon, 17 May 2021 19:34:58 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9FF5661263 for ; Mon, 17 May 2021 19:34:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9FF5661263 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=k9GQZetI42Dbojn6yynqPauh5PI8UTDn61T0aGZ+Fxg=; b=ZSsvMf/1uQerkJcA8X4WgXDHH Lx9s94ZdYTv8QrLwT6Y48TCsaS1vFVkukDB/C8DTEXwVD9vgU1O9teUkhk05uBCUeszaIdPEe3qA8 TplLi4prfWVrLC+Zt9AfvVbH/zyFKhd49dNqoMBEVZovEmijj5X12P2HtJGrr2vgumFORfLSXk2/q BA1AtwhpnmUEESBondCzapNrjY1Tll52LB1qUAz1dZY46ZCAn7OPEPEpC1vSAOm+X4eRoBptyfN/d aQqpZd78qa1FsK193mERshTBHjCTT3XwtxP4gXIhldRmQvs2Jm0aeiZoMTnosUoTlqIYOzh0cnmzA 0KIswCcFw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liiz6-00Fwt7-DJ; Mon, 17 May 2021 19:33:00 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyV-00FwrA-QE for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 19:32:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=avksdsVdDMZgIQ3gqsIJUobMN9ruEWR0vv/Un1XX3xU=; b=3S9CGN8FVPq3KyGD+/jmxobcc6 yxWPZmZJBOUdrqGPQQmnyVLVoaxS40xm3DtcBQSfALr8h70IuuABouFT+sxzIch0v5/+PyS5IxxcN ndfibPwI91kjHYoL79QeDkxVZTlXhyzxapvnKm09LUN/v1y3awrOzLfYREceSKdeYshEi9jMqEYZ0 SrdntjIHvZnw1Owi1DFwFm611ubaKWNL9/ALh2AEgk1ojan252k2BRmXeaH3VgNgRcn1UHo0GPQJ+ EzmVyU4y5koMf7IIGeFCsZDl7aDMAGBRj80sHCujSBgK/Wgp6S9P/66MikNRt5OasFVsOCPCcEGZm bCFKqQSA==; Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyS-00E5nA-4q for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 19:32:22 +0000 Received: by mail-wm1-x331.google.com with SMTP id b19-20020a05600c06d3b029014258a636e8so220740wmn.2 for ; Mon, 17 May 2021 12:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=avksdsVdDMZgIQ3gqsIJUobMN9ruEWR0vv/Un1XX3xU=; b=hTgaBFCmuFToWxc8asnrsyshPzpqHvZ3IqBoEB57RqwsPd/debGCK6X5Q4ySKDo/k/ 8cOZpGUfYySaYQi1oinmuzNTaUcu5HSCVVLFnknxFgvSV2CR6itIKY5KvlhcugGcJtEM wEwc2uY6AGNTufVQrlxgHA88xa61dMnwgDvf83/teANds9U5IkoUQ5n58Ac/ciCFNugf d9fvnxrI9KkWkcMYDfacBOtEDSsosmy65IEAMEOOS2FlIa0BdQ8jksW8mQF8jBcBW1k4 /1fXfgtwXOBQNDBJ0G6HITTHnMy6AMRf2NPJES6wqGUU6MKJyLNsdBEozk5daSj/HV1I SuQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=avksdsVdDMZgIQ3gqsIJUobMN9ruEWR0vv/Un1XX3xU=; b=nYldtLaWESmsmVyFnWWNm4v31j2Q7r1YyVpMt2rco6XukeLVAAWrnyCUDbnFzVCAd6 aBZT3ruGNkJEImu2ZJp09Fgx2BHqCkXqAfbsv+RE0OM6XlPuvIaFego8LB3cZPUkKbtW ZAQ3SYn8py1b6es2c2Hl9XUfYdG/EJGUSidLns32fvI8GrLOOlwkCtgMDgfc9SZjj4lx uue/JyKlNPMP/UrSbp+mwnaHdwEYG5UuCgBMuL3WmFJSzBwAkaFNGxIrAvZtAx2R8JjS nGwtNSqgs8Jw47GnbN4iil8SAztQDny93562wjVRHPGM2rITTaIuBA0B8jLCmX0dCvwl KJNg== X-Gm-Message-State: AOAM532JQhcFv/E1iwy30tFSpBVyen9ma5vhygWl8iSku4gcItFzejo5 aUzNGteiR38tuZLZjma2kiqpnw== X-Google-Smtp-Source: ABdhPJw8RZbZSLGMEc2ndPTw06YXtCitfg1ZKJ/xrkVPyubmbaf6haCN+bTuDb9k6W+bPk20b0z48g== X-Received: by 2002:a7b:cd01:: with SMTP id f1mr609530wmj.177.1621279938739; Mon, 17 May 2021 12:32:18 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e10sm18928907wrw.20.2021.05.17.12.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 12:32:18 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, linus.walleij@linaro.org, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org, ulli.kroll@googlemail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 2/5] dt-bindings: add vendor prefix for edimax Date: Mon, 17 May 2021 19:32:02 +0000 Message-Id: <20210517193205.691147-3-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210517193205.691147-1-clabbe@baylibre.com> References: <20210517193205.691147-1-clabbe@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_123220_203341_18F2AF98 X-CRM114-Status: GOOD ( 10.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add vendor prefix for EDIMAX Technology Co., Ltd (https://www.edimax.com/) Signed-off-by: Corentin Labbe Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index cf69dfd3d522..003f6354db04 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -329,6 +329,8 @@ patternProperties: description: EBV Elektronik "^eckelmann,.*": description: Eckelmann AG + "^edimax,.*": + description: EDIMAX Technology Co., Ltd "^edt,.*": description: Emerging Display Technologies "^eeti,.*": From patchwork Mon May 17 19:32:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12262973 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF1B3C43461 for ; Mon, 17 May 2021 19:34:56 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8E49D61263 for ; Mon, 17 May 2021 19:34:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E49D61263 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6KT0XtWa3erFcCkAVDRDwIO3RZIb6Gx9cjAsJ/hIE80=; b=ndYG2e3PRqy5qP73eMSQP5fPQ qXMKpWz8wdtCErKIFyn3tRO2EyZ2Z4MtsKRxsgENRtTyk7kCDWp4RgygvX7pJGgl268l4jmeXn3p6 KE1+XzQ/ti9+O2tqTynz60mKjjttcas0/asdTuPJsyRK5K8YxWKP0Xg5okt+IES22k5nHMXXTx+HF gEAx+NGwhLKvun1Gf0KPclWRT5Zr4brntvs6ctei/SEUeqIgBBqTBzUxXLkMixXoHD9hQ2BV0H05I CgjOcrOdBHSgVkUXqQOBdkhdNGDCduSFZhcM72vr4ypLs7TREMlHIT4WcQGThtsBvv6k2ebRwMHad 2n1EoFwEQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liiyv-00FwsY-4t; Mon, 17 May 2021 19:32:49 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyV-00FwrB-Tt for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 19:32:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=QYAhGHTcrzLvh1GZzozNj3ujeM2dW6tSmE2iihma+d8=; b=rsMxpWUoWk4kDuPt115MEBXDo0 s7wNcmC69Clqiis6x05XHTgc6mItB85a+I67pUJkN5LPUy9ZrTyfA5F1YtV2kVYcLfq+bowGDOWIC c3nDMzyKf5Y+b9NJGVAxmia2fkEqmF+nNNEaWRyHAm1bexUzzrU4iJFLkpAY2zjbIv8sl6pPwCb0G DyDr5rrNS7bcxJuqk2jHdugERlbiaV9LnTFm5BrWW8j0jraFT3GOO/AP/EOgfRjlxofMn/mxQZULF E4zs9MBuCFyiokIkTmDc/aG0n3ODosBuSVhGdWu962h65f9pwALyT1WcomiOET2zg/aPI6quF7EUB IUnq2/4A==; Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyS-00E5nv-VY for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 19:32:22 +0000 Received: by mail-wr1-x434.google.com with SMTP id x8so7611682wrq.9 for ; Mon, 17 May 2021 12:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QYAhGHTcrzLvh1GZzozNj3ujeM2dW6tSmE2iihma+d8=; b=qTnHP7oK4UhH+1Xi16NmsUH5ieKLYYo6wTQJtL2qfKcXye1il5xay4sjiWOSZYnL4H FJaPZHygUv4HQgaOUgMmzge4z9aelCHvYnc4nHkONjQRdQgmxnwPo7T4VpWer3Oc5l8K ZPqMmrmuJiDUhMha24j6dkEvGziWRUuAJJI1Ccbn083k7g2ciiB7RBRHj6yEwXECfq2e LM7uVr9MJBmYAOkGWeMqEh3bCGgBdZsesAmru4Qar3dsGcgnyanpNZ+oHrQLjhMk7uea M0woTdyU+o9UvLyMUgms4YAhJ7iQTOtbHGgLafLhZRmMSIrga7zrFUtpbpLXy0LXEImX QQ0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QYAhGHTcrzLvh1GZzozNj3ujeM2dW6tSmE2iihma+d8=; b=JAoDeX0/RK9wGQYJA1dA4hHA12B8ALTqnhOjRkFNsilw+BO2VlrF/sgDOUoOLzv6rb xst92FntGHQWmeVwrc4UTEzpzkuuOJ0wsaJfqJDvrTDwCLqKw+ZReYRNEmU4SRcAkgja rUHUs5X+/D29V5rwcCjiFW8DN8ifZpXtNqDwKOhSXpd4da2waQUvmScLMsLmSSq7LiND YjUil1/FlZHSeIurXW+rdhQtuLLqUhBiUR/i7HYAezjcJ4ORl5ZyJvnYyDFObQlzQ78X rlqxI8KHXtCQ9Z1FxYKxd/f7EMh6KlplyuvuJxXv3kaMBXL3stx25/L0LfOOzvbU3R+s 90wA== X-Gm-Message-State: AOAM531TPwbxXHpnaRi6mWRy/EQro6gQ3yqxCBBvQNvLJEaOXhLNT00W tXf09rSlrOoS5yb96BYNtZZfxQ== X-Google-Smtp-Source: ABdhPJzwfsiOYNUSQ5COtoFgPLUXMY8sYNlATGSr/Q/cSZg92rBtQr8f4YWeCUtWRIJT+8Bln1VMzQ== X-Received: by 2002:adf:cf09:: with SMTP id o9mr1552357wrj.334.1621279939607; Mon, 17 May 2021 12:32:19 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e10sm18928907wrw.20.2021.05.17.12.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 12:32:19 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, linus.walleij@linaro.org, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org, ulli.kroll@googlemail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 3/5] dt-bindings: add vendor prefix for ssi Date: Mon, 17 May 2021 19:32:03 +0000 Message-Id: <20210517193205.691147-4-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210517193205.691147-1-clabbe@baylibre.com> References: <20210517193205.691147-1-clabbe@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_123221_031698_8CF61F6A X-CRM114-Status: GOOD ( 10.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add vendor prefix for SSI Computer Corp (https://www.ssi.com.tw/) Signed-off-by: Corentin Labbe Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 003f6354db04..828ddf7fdbed 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1084,6 +1084,8 @@ patternProperties: description: Spansion Inc. "^sprd,.*": description: Spreadtrum Communications Inc. + "^ssi,.*": + description: SSI Computer Corp "^sst,.*": description: Silicon Storage Technology, Inc. "^sstar,.*": From patchwork Mon May 17 19:32:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12262979 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91058C433B4 for ; Mon, 17 May 2021 19:35:07 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 22D956128E for ; Mon, 17 May 2021 19:35:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 22D956128E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VVh9mjymM/kyXfQJiytACEXveJ5eUT4eutHC/jvCVOY=; b=Vt2NkV1lNRzH4+gwEhWnbYoPd gve3uwB5VyY4Jb2QmYvDwX9bbWQmFRwSMJX1w9IlAA6vUL37OlFjz1CwF6jTjtLcLkMboiEFkug7h S3clrh2+vK+S6+O+Yb4mvEg4VGjbyA+yLCTzssXGF3EQRDvttIOlHb6fzVc3AAPrqfiW/orpxVSFB Z6hwbvB394ogfM7wC9mBsTVN8ycJK/39s/yt6n0pmSISDrIXecEfzKwU2i22xdNwOWU6ZOVlH6/3d SpMIw48Eh6bEd4BhcN8UvNyG9EdaMx+H7OPI2s6aa9TqH3cy5997VW16B+/FHOXakjn3hCrJ0d7kJ SPqWvn7Ow==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liizH-00FwuS-ER; Mon, 17 May 2021 19:33:11 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyW-00FwrE-Ff for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 19:32:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=rpO3uokOqiPCm4WwzxXP4FgPuwUQkbWlx97bygCs6TE=; b=gIgnPzsPVKM/DBTvtsh2FqzMLA 49R1kbUNZqxKxqKsFxpEVRLCYkWFezm7u9y1AHnZKZX+1C1YGJK0DIOqu+Tk5JXhK6CZ96Z4lOEH7 BgVNkdbYFr1k6OFfSO6ZIrKn8nysTeXqovTigoMQaCXu+nUxrX/HM791FjaveB4KD+pu4fSDEV8d0 myyv/wXzfQ9Xf5jqvaaINqqXqCfJD9TY2BfdemoPNBL1yZieJqTO9HM5dFLbyEG+Apd5hWUssrBEl Bt2bjW55JfLEv/ZyZv4PIwVnpgtcRih15ONAQBjQavI7M+Z0iqTykXK5XVFG7I1Ljm4lLIIotMrAU XlNI8Y7Q==; Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyT-00E5o9-Qn for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 19:32:23 +0000 Received: by mail-wr1-x435.google.com with SMTP id q5so7632329wrs.4 for ; Mon, 17 May 2021 12:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rpO3uokOqiPCm4WwzxXP4FgPuwUQkbWlx97bygCs6TE=; b=rV0rOUax1CAS9yX/C9BpXQgRVQ3xSi21tse0r9NlAHpECR1RNeTpenSOZeIIyVgIsB 3sYSOhnzW5XwxGSYiZRLei2ZDL4lN1nxEFZEB51MRLPDtwTcX8mcU+ExGLnh7L/aUM6g UQ0th7gYDHW1YgavwjEJ2bWpUBmWzQ1Dt6N7LnswvQgbNmDqaucW2B47UMsxPFq1r1Qp tZHBTBhnWIWgFzTSYqQRbwAN8O6ttc94CWEtIJcwx5Ry8EzQWBhsbk3Z8Dk9VuKopZPO SwYJ5a4uR9Ro8abLx6zFvuBc5i2TAewpz2+RqgTyT3uewSZ2OjDO/NyFcjc2l6rOVYEV lx0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rpO3uokOqiPCm4WwzxXP4FgPuwUQkbWlx97bygCs6TE=; b=pybrRBsMkjIZh8kGcGTWRFSkbUZ20g+MFxjpDwyXalG+piDBD1XSCgj4RvoNUwyLpx 2PFoZ2uhM5r7R9dYdZpJeaQE24UFFoi90j9CnZXUWq8lHObgy8XMDELykB3ST1JY6Uja Cs4oyQxZLWnA78KkxhjQ5w3lg7JzW29cmGxKUlm4oXNzCG1TvaygYI5iD4VrIXA6rm9H NtsRMxRzn/dvWad6j0K/kYzX7smRIm94+DlQldC/KXL8YW5yS7eMcH2p5xDdQJtig39K ztjRGEC7rmdkkk85Oz+LhdlJ2hIplPOiFG6uBad+vBo9R4Ef7lziSAyZ/mx//gl2zxY4 zcBw== X-Gm-Message-State: AOAM532ZJgqdwzekkl2HGE/CZHA7eCeaR28nbav6HTwPehcNS/bEJo3r mVFl2icjqaRtQif1iyYUAGT6bw== X-Google-Smtp-Source: ABdhPJxn1zwLPS2lH6ex3GLFfoO0jaVGCvdgNLe2LktnQOYgI69Mi1e412O7uCjd4UmHL5/zUULYHA== X-Received: by 2002:adf:f212:: with SMTP id p18mr1506508wro.318.1621279940435; Mon, 17 May 2021 12:32:20 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e10sm18928907wrw.20.2021.05.17.12.32.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 12:32:20 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, linus.walleij@linaro.org, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org, ulli.kroll@googlemail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 4/5] ARM: gemini: add device tree for edimax NS2502 Date: Mon, 17 May 2021 19:32:04 +0000 Message-Id: <20210517193205.691147-5-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210517193205.691147-1-clabbe@baylibre.com> References: <20210517193205.691147-1-clabbe@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_123221_887885_F511BB73 X-CRM114-Status: GOOD ( 16.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The edimax NS2502 is a NAS box running a SL3516 SoC. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/gemini-ns2502.dts | 141 ++++++++++++++++++++++++++++ 2 files changed, 142 insertions(+) create mode 100644 arch/arm/boot/dts/gemini-ns2502.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 1754b562e0b9..bb30d13c9c60 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -216,6 +216,7 @@ dtb-$(CONFIG_ARCH_GEMINI) += \ gemini-dlink-dir-685.dtb \ gemini-dlink-dns-313.dtb \ gemini-nas4220b.dtb \ + gemini-ns2502.dtb \ gemini-rut1xx.dtb \ gemini-sl93512r.dtb \ gemini-sq201.dtb \ diff --git a/arch/arm/boot/dts/gemini-ns2502.dts b/arch/arm/boot/dts/gemini-ns2502.dts new file mode 100644 index 000000000000..a23745dc20f4 --- /dev/null +++ b/arch/arm/boot/dts/gemini-ns2502.dts @@ -0,0 +1,141 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2021 Corentin Labbe + * Device Tree file for Edimax NS 2502 + */ + +/dts-v1/; + +#include "gemini.dtsi" + +/ { + model = "Edimax NS-2502"; + compatible = "edimax,ns-2502", "cortina,gemini"; + #address-cells = <1>; + #size-cells = <1>; + + memory@0 { + /* 128 MB */ + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + aliases { + mdio-gpio0 = &mdio0; + }; + + chosen { + bootargs = "console=ttyS0,19200n8"; + stdout-path = &uart0; + }; + + mdio0: mdio { + compatible = "virtual,mdio-gpio"; + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */ + <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */ + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@1 { + reg = <1>; + device_type = "ethernet-phy"; + /* We lack the knowledge of necessary GPIO to achieve + * Gigabit + */ + max-speed = <100>; + }; + }; +}; + +ðernet { + status = "okay"; + ethernet-port@0 { + phy-mode = "rgmii"; + phy-handle = <&phy0>; + }; +}; + +&flash { + status = "okay"; + /* 8MB of flash */ + reg = <0x30000000 0x00800000>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "RedBoot"; + reg = <0x00000000 0x00020000>; + read-only; + }; + partition@20000 { + label = "kernel"; + reg = <0x00020000 0x00700000>; + }; + partition@720000 { + label = "VCTL"; + reg = <0x00720000 0x00020000>; + read-only; + }; + partition@740000 { + label = "CurConf"; + reg = <0x00740000 0x000a0000>; + read-only; + }; + partition@7e0000 { + label = "FIS"; + reg = <0x007e0000 0x00010000>; + read-only; + }; + }; +}; + +&gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&gpio0_default_pins>; +}; + +&ide0 { + status = "okay"; +}; + +&ide1 { + status = "okay"; +}; + +&sata { + cortina,gemini-ata-muxmode = <3>; + cortina,gemini-enable-sata-bridge; + status = "okay"; +}; + +&syscon { + pinctrl { + /* + * gpio0agrp cover line 0-4 + * gpio0bgrp cover line 5 + */ + gpio0_default_pins: pinctrl-gpio0 { + mux { + function = "gpio0"; + groups = "gpio0agrp", "gpio0bgrp", "gpio0hgrp"; + }; + }; + pinctrl-gmii { + mux { + function = "gmii"; + groups = "gmii_gmac0_grp"; + }; + }; + }; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; From patchwork Mon May 17 19:32:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12262977 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F65FC433ED for ; Mon, 17 May 2021 19:35:04 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B05C56128E for ; Mon, 17 May 2021 19:35:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B05C56128E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jwJ4X9n7PJXIjYDk0BSQ8Lruaxc31/qUEcClsZI3wwM=; b=QsTz7VHmW/lHyzh+jmXMH6YZK Sjv3yXWa2oZAvjZQWu88k/UZefJ8ZwcfMP8F3kIgKZEhsmaPPEzrJGAVIlrmDhHz0hdQVNPJWx0ed 05KQ4yAj07Bu1X0TjKlzDRd0B5Qthl0bpGPToFUiQJa4gQDl70sCxQuwhio1uhDMwx8Xn+SPiqJly vH6s2s7IIP1hEdTiqK30uJ6w/o0PSLa/cOWwgK4JdGH2ClPkDxZimUrMhk866qXJLEj1M0GWVFgEo zyn0p8ht7p4Sd7iC/NQcjqek8lZ6geNp4XNes+3EjMULOFmAhvgsb8CF+GPi4nvNN+LzHpYnQTOTr uHj45D+/A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liizU-00Fwwd-HA; Mon, 17 May 2021 19:33:24 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyX-00FwrG-8R for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 19:32:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=qMQVIiAtd4R+eX9A5kzaFE7n4k/GD8veZK25Hsqb0Y4=; b=soxQWwpmRCgrgGw/cQgdDxVKfU trW+at2Bhaw3z/ehx/kEVyBDZTpoBQtkR4aeSYjkR9aMtKgkdBv1Bg+HgIkFqsg0jw1Ir0VLjfnFR MCWsShTWWi5PQBy/cIsZYqfwaZG2XKw/4pcVKCaBciH4mFaizRnvWkDHw4Hw8FM+C4onV1nesPpqA oyk2Q8FLBoYQsuCga0CJ4EtWOAykVEBqZrZCF4CELLic/wx1jtzRvt1L3lvU6GGi0lgASc9ApT6ft P+Pkg0kWz17PdLAufBzJGXaGmMo6BitQn9jeXN8kVXVsymR4raR1sXBohDy1tjIvg8p6SKU8Ll6AL j+vQqvog==; Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liiyU-00E5oT-JL for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 19:32:24 +0000 Received: by mail-wm1-x334.google.com with SMTP id z19-20020a7bc7d30000b029017521c1fb75so212501wmk.0 for ; Mon, 17 May 2021 12:32:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qMQVIiAtd4R+eX9A5kzaFE7n4k/GD8veZK25Hsqb0Y4=; b=YNahRo2zUE2C6Cd8aNbuIEI8966LR5td1XBG0LnPYE+z+Vb+r3enGiK0DH9hY/yzv3 0K+yDTRmdDnZ8mVCVNolbl+iTm56KS+66CBpl2Ab91IrkEsezGm9mKJ3w7MMElBQfZ64 X3XtEBCsWmnm+IFOpKiS96BX94n8wT5gAqnPulzO/N+lWn0+zpXtiIg6p45yn4NQJ4MM 7c4KPHX2usg+cCjm7bZb4L0BGvrs/KpdOngKY0l0LacRyOfQaOfXzryk4Ne/F7cgQfHV 1Ngcs75/RlnB6zf8MPR4jPn/qglSfVXxWccinvkW6XTKSDTRRRM1BmXSWNUfggLCVw1t mDuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qMQVIiAtd4R+eX9A5kzaFE7n4k/GD8veZK25Hsqb0Y4=; b=sf1FdjZ8Za5US3oqr/vNtPhAyaimh4NanhNEWfqs4URWisS6vlDY8ZbwHuKz3n0RMQ 3QiPDrLo7+JNjQMPnB8nmP5HI2soyRxD1CZgaO1r8Rez9XvsJtjTbvI7XSllka/gol0M SrqKoWTfzNticISYfduZdpaSTgkYmgeR4HTKJGqyD81duOfkvoARApljVxINtKjaG3VH tQEfz7WKcgsKfSg664WXjeDMcO13yMPGXPpG6J5uXlcYtyU1bOQLvg0d1xEAiDfCUiFv i02keNemlW+SkBKOiw/RAPZrUMNAmdpESj9GXTiBEw8yknGY2eL7nMNA1KkAPzJfu92m covw== X-Gm-Message-State: AOAM530OxnDIqdK8AQddvhpq/HH6n00WRPsCuCpdyOPVhC46pveHe7QB HRUjL0fqgosDLZj54oKqnSOLzw== X-Google-Smtp-Source: ABdhPJyZcZrbvnM5hmc8qpXvsEUWNK+NrDQST6l219mVNkTo6l8+jPkki6KSDmP8QpPYNoBo9iBBuw== X-Received: by 2002:a05:600c:2cd2:: with SMTP id l18mr1152164wmc.142.1621279941272; Mon, 17 May 2021 12:32:21 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e10sm18928907wrw.20.2021.05.17.12.32.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 12:32:20 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, linus.walleij@linaro.org, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org, ulli.kroll@googlemail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 5/5] ARM: gemini: add device tree for ssi1328 Date: Mon, 17 May 2021 19:32:05 +0000 Message-Id: <20210517193205.691147-6-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210517193205.691147-1-clabbe@baylibre.com> References: <20210517193205.691147-1-clabbe@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_123222_664427_7C24BE8C X-CRM114-Status: GOOD ( 16.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The SSI 1328 is a NAS box running a SL3516 SoC. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/gemini-ssi1328.dts | 162 +++++++++++++++++++++++++++ 2 files changed, 163 insertions(+) create mode 100644 arch/arm/boot/dts/gemini-ssi1328.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index bb30d13c9c60..0a9f6001b90b 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -220,6 +220,7 @@ dtb-$(CONFIG_ARCH_GEMINI) += \ gemini-rut1xx.dtb \ gemini-sl93512r.dtb \ gemini-sq201.dtb \ + gemini-ssi1328.dtb \ gemini-wbd111.dtb \ gemini-wbd222.dtb dtb-$(CONFIG_ARCH_HI3xxx) += \ diff --git a/arch/arm/boot/dts/gemini-ssi1328.dts b/arch/arm/boot/dts/gemini-ssi1328.dts new file mode 100644 index 000000000000..1112007c9d6f --- /dev/null +++ b/arch/arm/boot/dts/gemini-ssi1328.dts @@ -0,0 +1,162 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2021 Corentin Labbe + * Device Tree file for SSI 1328 + */ + +/dts-v1/; + +#include "gemini.dtsi" + +/ { + model = "SSI 1328"; + compatible = "ssi,1328", "cortina,gemini"; + #address-cells = <1>; + #size-cells = <1>; + + memory@0 { + /* 128 MB */ + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + aliases { + mdio-gpio0 = &mdio0; + }; + + chosen { + bootargs = "console=ttyS0,19200n8 initrd=0x800000,9M"; + stdout-path = &uart0; + }; + + mdio0: mdio { + compatible = "virtual,mdio-gpio"; + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */ + <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */ + #address-cells = <1>; + #size-cells = <0>; + + /* LAN Marvell 88E1118 */ + phy0: ethernet-phy@1 { + reg = <1>; + device_type = "ethernet-phy"; + /* We lack the knowledge of necessary GPIO to achieve + * Gigabit + */ + max-speed = <100>; + }; + /* WAN ICPlus IP101A */ + phy1: ethernet-phy@2 { + reg = <2>; + device_type = "ethernet-phy"; + }; + }; +}; + +ðernet { + status = "okay"; + ethernet-port@0 { + phy-mode = "rgmii"; + phy-handle = <&phy0>; + }; + ethernet-port@1 { + phy-mode = "rgmii"; + phy-handle = <&phy1>; + }; +}; + +&flash { + status = "okay"; + /* 32MB of flash */ + reg = <0x30000000 0x03200000>; + #address-cells = <1>; + #size-cells = <0>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "RedBoot"; + reg = <0x00000000 0x00020000>; + read-only; + }; + partition@20000 { + label = "Kernel"; + reg = <0x00020000 0x00300000>; + }; + partition@320000 { + label = "Ramdisk"; + reg = <0x00320000 0x00600000>; + }; + partition@920000 { + label = "Application"; + reg = <0x00920000 0x00600000>; + }; + partition@f20000 { + label = "VCTL"; + reg = <0x00f20000 0x00020000>; + read-only; + }; + partition@f40000 { + label = "CurConf"; + reg = <0x00f40000 0x000a0000>; + read-only; + }; + partition@fe0000 { + label = "FIS directory"; + reg = <0x00fe0000 0x00200000>; + read-only; + }; + }; +}; + +&gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&gpio0_default_pins>; +}; + +&ide0 { + status = "okay"; +}; + +&ide1 { + status = "okay"; +}; + +&sata { + cortina,gemini-ata-muxmode = <0>; + cortina,gemini-enable-sata-bridge; + status = "okay"; +}; + +&syscon { + pinctrl { + /* + * gpio0agrp cover line 0-4 + * gpio0bgrp cover line 5 + */ + gpio0_default_pins: pinctrl-gpio0 { + mux { + function = "gpio0"; + groups = "gpio0agrp", "gpio0bgrp"; + }; + }; + pinctrl-gmii { + /* This platform use both the ethernet ports */ + mux { + function = "gmii"; + groups = "gmii_gmac0_grp", "gmii_gmac1_grp"; + }; + }; + }; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +};