From patchwork Tue May 4 19:34:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12238527 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,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 703B9C43460 for ; Tue, 4 May 2021 19:35:07 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 3A815611AB; Tue, 4 May 2021 19:35:07 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C3D8613CD for ; Tue, 4 May 2021 19:35:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C3D8613CD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=clabbe@baylibre.com Received: by mail-wr1-f47.google.com with SMTP id z6so10648373wrm.4 for ; Tue, 04 May 2021 12:35:05 -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=LfKwDo8azWN0Gbc7/pIjGO8T4exsCKBX4Y2Y1QqmWes=; b=05o7ReA7rAKHmkd0VqX0nWa4Encxngxhb46pr43kojkbSgBP0EaRdX+231RbnE7zwV s4y9y+xh22lXXGpOg43Ruv9YkwYPEsdd2QJWzd2BjIAk4Bz1rvU6vJG0Rzi5t4iHdgZl oP1ALyF3di75NUU8tOAsdX0b8BlG+etuwHXMISnRlIUis5NNI5YPGRp3YYHM+vq2tMoa q8mWAOCNZ737fuPJY73g+re2opNW22UsDdP341L8hgxvL3UQWhWIpjwQp6HzQcvjPOr6 0TBNYVrTFUr4iXI80KvYUV4zDsnoZ4ba5hOHpo+PABpIVXlej1HeH/SxnF8u7zxP1Qyh V8eA== 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=LfKwDo8azWN0Gbc7/pIjGO8T4exsCKBX4Y2Y1QqmWes=; b=B1+OcgWl9NvFpKju12dlBtBlZVKjMbF/y1SZLMeoaohMkkPnrXgF1bae8DqX96FV3h j/8t/34PZ52mxVOJSCpI+7femOGqnVWnYHwslzxUB4e7YIi57+JMvTu4ExdFCpQh5Z4j C3J4rqMyUGRbU+sWSwEI/06XjS+Q+RCIb7f6nnzjHE0gu2qKYn4ZbRjwArkGDqS/g80n G17Xd8aeFqD8RG6Yy1tZ0zlJS8oIX3XqrtyRlVSoxzDnrkorrjmSqpBpXxB1siC49cST U4I3m0c9vHJkmwhgZxlC1SBXs0D851S4cj3lphTPfXCl6l8M0wBa8ewcuU3NXczvmEu7 DibQ== X-Gm-Message-State: AOAM532urKF1PGg3crGG2Gb9QpQBDo9JkLjYXpzH1kLhJyX/UsiaiIF1 I6IKuKfcplC4xkuH4KKcvFLfmA== X-Google-Smtp-Source: ABdhPJxWg+HSorQvF2RrlLM+c8v0lSWRGO+IpTTDPUTnfP8IIx/z6CvDhSGW889Qo1o4XqTfgq0yNA== X-Received: by 2002:adf:ef90:: with SMTP id d16mr34040195wro.359.1620156904727; Tue, 04 May 2021 12:35:04 -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 x8sm17072136wru.70.2021.05.04.12.35.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 12:35:04 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, kaloz@openwrt.org, khalasa@piap.pl, linusw@kernel.org, linux@armlinux.org.uk, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 1/5] ARM: ixp4xx_defconfig: add CONFIG_SERIAL_OF_PLATFORM Date: Tue, 4 May 2021 19:34:53 +0000 Message-Id: <20210504193457.4008384-2-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210504193457.4008384-1-clabbe@baylibre.com> References: <20210504193457.4008384-1-clabbe@baylibre.com> MIME-Version: 1.0 My ixp42x-welltech-epbx100 does not print anything on console without CONFIG_SERIAL_OF_PLATFORM. Signed-off-by: Corentin Labbe --- arch/arm/configs/ixp4xx_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/ixp4xx_defconfig b/arch/arm/configs/ixp4xx_defconfig index 0d6edeb27659..e3bcf2bed25c 100644 --- a/arch/arm/configs/ixp4xx_defconfig +++ b/arch/arm/configs/ixp4xx_defconfig @@ -152,6 +152,7 @@ CONFIG_INPUT_IXP4XX_BEEPER=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_NR_UARTS=2 +CONFIG_SERIAL_OF_PLATFORM=y CONFIG_I2C=y CONFIG_I2C_CHARDEV=y CONFIG_SENSORS_W83781D=y From patchwork Tue May 4 19:34:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12238529 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,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 51E52C43461 for ; Tue, 4 May 2021 19:35:08 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 21883613DC; Tue, 4 May 2021 19:35:08 +0000 (UTC) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 470D3613C7 for ; Tue, 4 May 2021 19:35:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 470D3613C7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=clabbe@baylibre.com Received: by mail-wr1-f53.google.com with SMTP id x5so10604593wrv.13 for ; Tue, 04 May 2021 12:35:06 -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=vGH4gKVqMFGwtn6qnf+9iZ3a3vefAvfwW/d/3Z1krdI=; b=zASfNWHRz1uXc+PDQtDVcFqPtvHY5VdiDHD/4G2VJOJAPRo4NbTO1z2H6LfZ4AzkSr tphH6TDrILepJSikB4SgPkvbuFbZu7dFWjLRTLZ4HPfKs89CWxWKKSDFB1DO6wbLQ5ay BICt9cqWGaNawYQVMPuxbo8RLfm1F7ph8A3Q1m/tP6w4icJDhN4inbGN93/Ofq//2CVu j7QIOi+VHU3ssXB64KWr2dTVK5VjMvtli+jFOwXFt1DWDCFL+bktD+2NWsTCfcoYkOJT QGgVVIYVl5kzZfyNxxnWsTyeRAelRQKpaSjFRJ+exqbjhav+RgiiOwJwQxRfR36JVrKT pVxA== 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=vGH4gKVqMFGwtn6qnf+9iZ3a3vefAvfwW/d/3Z1krdI=; b=rGnoJ6P0BbS4pu6SyV0oS/Xg+iPyvjVJX+39Ze434pw8T0de6eH06Fbp409XvtbCBl cs5Msq6jZMhhxOCXSwdiYoIkDpTBNYF6oFTfFp0BSQKx9nCfP2P1ZsiUKXPxU3jr4Ktk oFGfuEWwhFWKblbjlhdj/cusFEPqUBc/4sswRTJJYr/rnv5wJplBIkdGFI8Rth/sEWuU teAaNk3kahwcIKY0H4wrzJUmuIlH3RtgKgrBMfoZPyeb85zaEDBgaEknV3odk1vGa8bK h4JR3ynHFv1/kXcHpS7Op0SRE0wNwKIitiwXS8vt4/T4TSMtc8evE2za2cZdAnDsLThj WhHA== X-Gm-Message-State: AOAM532g/zNO8dnU1zBLzH3iv3Y3VZ9ve7RIaN+jvl0DF0qswHxBE6ky EFqyg+bHPLZXLkEmZUzTCEbBvrdxKL9muVw5 X-Google-Smtp-Source: ABdhPJyQHKfnAbPYhTTf6e5lMTFkW5CZeYWMhTWodx6MLel4EJC4lf+P/tfcTkGYStfLwQ/drNfktA== X-Received: by 2002:a5d:6da9:: with SMTP id u9mr33567229wrs.264.1620156905644; Tue, 04 May 2021 12:35:05 -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 x8sm17072136wru.70.2021.05.04.12.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 12:35:05 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, kaloz@openwrt.org, khalasa@piap.pl, linusw@kernel.org, linux@armlinux.org.uk, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 2/5] ARM: ixp4xx_defconfig: add MTD_PHYSMAP Date: Tue, 4 May 2021 19:34:54 +0000 Message-Id: <20210504193457.4008384-3-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210504193457.4008384-1-clabbe@baylibre.com> References: <20210504193457.4008384-1-clabbe@baylibre.com> MIME-Version: 1.0 Without MTD_PHYSMAP/MTD_PHYSMAP_OF the flash partitions of my welltech,epbx100 are not detected. Signed-off-by: Corentin Labbe --- arch/arm/configs/ixp4xx_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/ixp4xx_defconfig b/arch/arm/configs/ixp4xx_defconfig index e3bcf2bed25c..9a7667383df9 100644 --- a/arch/arm/configs/ixp4xx_defconfig +++ b/arch/arm/configs/ixp4xx_defconfig @@ -109,6 +109,8 @@ CONFIG_MTD_REDBOOT_PARTS=y CONFIG_MTD_BLOCK=y CONFIG_MTD_CFI=y CONFIG_MTD_CFI_INTELEXT=y +CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PHYSMAP_OF=y CONFIG_MTD_COMPLEX_MAPPINGS=y CONFIG_MTD_IXP4XX=y CONFIG_MTD_RAW_NAND=m From patchwork Tue May 4 19:34:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12238531 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,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 BCFA8C43600 for ; Tue, 4 May 2021 19:35:08 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 6BACA613E4; Tue, 4 May 2021 19:35:08 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9C96613D2 for ; Tue, 4 May 2021 19:35:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9C96613D2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=clabbe@baylibre.com Received: by mail-wr1-f50.google.com with SMTP id v12so10622346wrq.6 for ; Tue, 04 May 2021 12:35:07 -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=+ZZN5MzC4HBwyYsz5oFVkaryjGRKyHc1OurMaO1on98=; b=OBDSTLK6TS2hxfIMGeuoLflPHA8AXiJCws1GkQohO8FWzgiFXpnoOVA7LyH3XihoQD McGE73KZovVg+hDb6hHPBEfC0l+0cb+VmSfrUtYGzgfXuw1qY4PZE5LYo72G8jBrdTVT npV3ELRPB4dx5YS9Swt3WDJXQ0k49TZFMYvOYCXnVGcW+j8DZw6LhZPyarkTUGFQd57C NUh5XLFXVq/mm20Wg7lnK15Fqsv1tMSdP36pTZD/fuh6KxhKTOY/Ifk6a2eIpvqr0E8I lYAI3fY4WLhfxreKW3TPXuTADjnPn5FkHn+mDtHOEg80Ihe4mlHhGBfSlRVR1F6TY2CL 2JlQ== 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=+ZZN5MzC4HBwyYsz5oFVkaryjGRKyHc1OurMaO1on98=; b=ag4KIf0xDFYnEBaPi/qHlU6ZKcRrN/BgikRUDnOTKVx5YCi+ieoRamFn32AGHqIAmC sLTL2BLyzctxOxntcHJfFzWV1AAALs5N4T57q8s7d7dcWGbGIPeNb3VX/llZUrUvohG5 zmqXnyGszAWWDDvKdnrJVxqFrlgQbaaklcDyfeSNCUK1qp+pRUFpOAPj4NLkksRIMNJa PQmmRfk6exgR1lbf+nN3dPd/n/rQU2wjqM9JuI8nUA7tuX3YA/BKLXv9Zzqd6SMPvfK3 FKuSve8BW/Ra4ba4lCMf7Ii0KfcBrKUuxU+CPusnlMFSgZO4KWhQf2+sWagnFpCcJMeC 90Kw== X-Gm-Message-State: AOAM530HiEO/vr0FfOu6u1NFDkxBQoHDpoGiaYQO0RgsB+U1Vi+ud08t E1ynTTcIoz118C7W7pVfC15aCQ== X-Google-Smtp-Source: ABdhPJykddxppzrVNYK7b3KfPVPjx6fcuKA+9RNWbVt10xXoC/wxUepowdxvXMso5j9bqnG0wA/9lg== X-Received: by 2002:a05:6000:1cc:: with SMTP id t12mr34157181wrx.156.1620156906534; Tue, 04 May 2021 12:35:06 -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 x8sm17072136wru.70.2021.05.04.12.35.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 12:35:06 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, kaloz@openwrt.org, khalasa@piap.pl, linusw@kernel.org, linux@armlinux.org.uk, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org 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 welltech Date: Tue, 4 May 2021 19:34:55 +0000 Message-Id: <20210504193457.4008384-4-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210504193457.4008384-1-clabbe@baylibre.com> References: <20210504193457.4008384-1-clabbe@baylibre.com> MIME-Version: 1.0 Add vendor prefix for Welltech computer Co Ld. 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 71ccbe682e11..f9648b37da12 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1248,6 +1248,8 @@ patternProperties: description: Western Digital Corp. "^we,.*": description: Würth Elektronik GmbH. + "^welltech,.*": + description: Welltech Computer Co., Limited. "^wetek,.*": description: WeTek Electronics, limited. "^wexler,.*": From patchwork Tue May 4 19:34:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12238533 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,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 17CD3C433ED for ; Tue, 4 May 2021 19:35:09 +0000 (UTC) Received: by mail.kernel.org (Postfix) id CF4E7613D7; Tue, 4 May 2021 19:35:08 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9FEF0613F5 for ; Tue, 4 May 2021 19:35:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9FEF0613F5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=clabbe@baylibre.com Received: by mail-wr1-f46.google.com with SMTP id x7so10638337wrw.10 for ; Tue, 04 May 2021 12:35:08 -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=ECt4IwwEy7FG3zWZdqheu507ZfKamNdvmBcqaTIjkuk=; b=Mxe4nYHFsLV8wxZ7XHXPTU3l0fP6YkdfwhuBUv43kA7M0CyJUV4vG21Mu3p7uOj3tw +gh9dqFTqYrJXuoXmQFolrLyaQ+5ytlgQPZlB59oisvqstBDT/3+HYY+oR0psZV0khit XufuwgIHLwkrhVjEwjg4HyKtovNKDOP90fSdgQfPLwWiB6y+8SrLTR2gGo/QJgVM1t4/ UeOzKT5cNl1DWqQUCozBTY1z2ULnD55ptmj3HQbYMof6ybPwOYlK2kL8c8J/QKuMVxdY +P2KxqBmnopJWAYTTQrtB/3njPWqfuA7hdW7E5foU0VVJqS6bslake8/dnCenMPjxqjT Uq+A== 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=ECt4IwwEy7FG3zWZdqheu507ZfKamNdvmBcqaTIjkuk=; b=Oby2m3z8lpYHJlIUPBZP5HoWnIlv+Iwu5F54mN0QpYr1fiEsWoigOBQPEJgt2fSqHn dgGCF1adzLTB6XUlKfwMRGoFXkXL5JKIdOyhpgnjIcrF9AgG5ZiABlvSL0+bgjOyHsvA 6LBweSb7S5Gn7P06qfIGgYdF0AbNi4/Na0rX6YyLxcVjGPVL5S+k0P4kNswM71eJJziz Spn13rl8/gyRq2DljMIAuzAjZzB3E0SyixcvOagb3iKDJOr8oqmAP4dldn7drR0uPEBJ +JHU4H666hJLU26rvZ61guXyQYvmqLqq9N5ZutVX9sCUORS1raDRxG4ZPocuGSw/nSQR /mAA== X-Gm-Message-State: AOAM531PWB11tWN9NCBwZQVT5Xx678KrfVx7XD2eIIT/1mSeipIItciK 8cLHznZuKeQP9vGerH4tO1+iFg== X-Google-Smtp-Source: ABdhPJwjwaW9YWol8TjtRGI9aOHMyyniv2xovQHdKggE5A/YFOemELHYW0A8a+iyWw3PG94j2veKtQ== X-Received: by 2002:adf:f212:: with SMTP id p18mr33315887wro.120.1620156907386; Tue, 04 May 2021 12:35:07 -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 x8sm17072136wru.70.2021.05.04.12.35.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 12:35:07 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, kaloz@openwrt.org, khalasa@piap.pl, linusw@kernel.org, linux@armlinux.org.uk, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 4/5] dt-bindings: arm: intel-ixp4xx: add welltech,epbx100 Date: Tue, 4 May 2021 19:34:56 +0000 Message-Id: <20210504193457.4008384-5-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210504193457.4008384-1-clabbe@baylibre.com> References: <20210504193457.4008384-1-clabbe@baylibre.com> MIME-Version: 1.0 Adds welltech,epbx100 as a valid intel-ixp4xx board. Signed-off-by: Corentin Labbe Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml b/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml index d72e92bdf7c1..230bffeec0e5 100644 --- a/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml +++ b/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml @@ -17,6 +17,7 @@ properties: - items: - enum: - linksys,nslu2 + - welltech,epbx100 - const: intel,ixp42x - items: - enum: From patchwork Tue May 4 19:34:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12238535 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,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 54E7BC43460 for ; Tue, 4 May 2021 19:35:10 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 362A2613CD; Tue, 4 May 2021 19:35:10 +0000 (UTC) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 947B4613C7 for ; Tue, 4 May 2021 19:35:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 947B4613C7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=clabbe@baylibre.com Received: by mail-wr1-f49.google.com with SMTP id a4so10652376wrr.2 for ; Tue, 04 May 2021 12:35:09 -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=OUE6T8d/N4f3Mv0jX1DZW932G/DmWRKc7vhygQ2jwlM=; b=iY+VQNDWOqV/CG0cFNr9CjtsFJKTTbCm/lkfOwHdVMCGDyal0uZ2C50CTS43njVgTz OnOVf/G0AOan8QKQdzXf4eiQbi4MwhQayhKyfYUKV3vzFALPV3HQFcP5zfa0UYE58kgW b5RtPat4w1Sb/6LGKFS7o9zYw4SKH0OjDoU8mGUva0X3eh2KOutn3cS2aS2jSZw8gOhw Y8gFyh+2JkGDKYGsSoRAbegD6y1CvVaym3vVi+Z3WjBSyuvlfkO2bgQcnMac/Rue+jm0 S3BZNYVA5+pBIOM5uoredT4nnMp3r7vMIp/VsAnvoH5JUg47Nd5/i3j6fhOQZ63Yeae4 /7UA== 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=OUE6T8d/N4f3Mv0jX1DZW932G/DmWRKc7vhygQ2jwlM=; b=qQ+IumqhBkrJUF5LwTK/vAoi/6vWXu/F2nyI4pMAheMTOTAzre8yNNauWee+VHNgHq JjIZusyTTGvVlgPO1/tjm/nHHz31MLIz8A+KNqUrs7srl8gn9xWR9WT3/E7qtqKc7mB9 /+hduHih+d/+rFvFxHPdBPKC29cvudA6ZJZHtdAvMEhsmLNNZtkPCshzeWI9O1e0tZw3 VmW/kd1Zs43BNmDCdTztc/+TiLMIgKiIOQ/JYub5xPldQl0VoHH4i/w1KfdbFU+LrE7M Kh0Xm9rguQ3EFmSG2iBH47Yox6TEBtn9kucwPkB689lY3MkZOPr5pBrafbuwqQiMrOBo O30A== X-Gm-Message-State: AOAM533FYfyUwGUjtGQp/IG3HgkW61bLHlmv3kDg7FV2b+yxLIe+Kqwo cZAmLa/9HmWkpRXnuydMMFMR2Q== X-Google-Smtp-Source: ABdhPJyTc2cvByzqBL/z0VWYE9grFLrwGOUQgAq6tWjFmTXdEdBZNW+9YhAcr6eeRxF8kc5ORG5rEQ== X-Received: by 2002:a5d:5741:: with SMTP id q1mr33553742wrw.212.1620156908233; Tue, 04 May 2021 12:35:08 -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 x8sm17072136wru.70.2021.05.04.12.35.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 12:35:07 -0700 (PDT) From: Corentin Labbe List-Id: To: arnd@arndb.de, kaloz@openwrt.org, khalasa@piap.pl, linusw@kernel.org, linux@armlinux.org.uk, olof@lixom.net, robh+dt@kernel.org, soc@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 5/5] ARM: dts: add intel-ixp42x-welltech-epbx100 Date: Tue, 4 May 2021 19:34:57 +0000 Message-Id: <20210504193457.4008384-6-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210504193457.4008384-1-clabbe@baylibre.com> References: <20210504193457.4008384-1-clabbe@baylibre.com> MIME-Version: 1.0 This patch adds devicetree for intel-ixp42x-welltech-epbx100. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/Makefile | 1 + .../dts/intel-ixp42x-welltech-epbx100.dts | 76 +++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 1580313eb372..7d0c94b9108d 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -242,6 +242,7 @@ dtb-$(CONFIG_ARCH_INTEGRATOR) += \ integratorcp.dtb dtb-$(CONFIG_ARCH_IXP4XX) += \ intel-ixp42x-linksys-nslu2.dtb \ + intel-ixp42x-welltech-epbx100.dtb \ intel-ixp43x-gateworks-gw2358.dtb dtb-$(CONFIG_ARCH_KEYSTONE) += \ keystone-k2hk-evm.dtb \ diff --git a/arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts b/arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts new file mode 100644 index 000000000000..84158503be2a --- /dev/null +++ b/arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts @@ -0,0 +1,76 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2021 Corentin Labbe + */ + +/dts-v1/; + +#include "intel-ixp42x.dtsi" + +/ { + model = "Welltech EPBX100"; + compatible = "welltech,epbx100", "intel,ixp42x"; + #address-cells = <1>; + #size-cells = <1>; + + memory@0 { + /* 64 MB SDRAM */ + device_type = "memory"; + reg = <0x00000000 0x4000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 root=/dev/ram0 initrd=0x00800000,9M"; + stdout-path = "uart0:115200n8"; + }; + + aliases { + serial0 = &uart0; + }; + + flash@50000000 { + compatible = "intel,ixp4xx-flash", "cfi-flash"; + bank-width = <2>; + /* + * 16 MB of Flash + */ + reg = <0x50000000 0x1000000>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "RedBoot"; + reg = <0x00000000 0x00080000>; + read-only; + }; + partition@80000 { + label = "zImage"; + reg = <0x00080000 0x00100000>; + read-only; + }; + partition@180000 { + label = "ramdisk"; + reg = <0x00180000 0x00300000>; + read-only; + }; + partition@480000 { + label = "User"; + reg = <0x00480000 0x00b60000>; + read-only; + }; + partition@fe0000 { + label = "FIS directory"; + reg = <0x00fe0000 0x001f000>; + read-only; + }; + partition@fff000 { + label = "RedBoot config"; + reg = <0x00fff000 0x0001000>; + read-only; + }; + }; + }; +};