From patchwork Thu Jul 16 16:11:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 11667823 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ACB4B13A4 for ; Thu, 16 Jul 2020 16:14:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 8300320739 for ; Thu, 16 Jul 2020 16:14:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ocd32UAh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mysnt.onmicrosoft.com header.i=@mysnt.onmicrosoft.com header.b="oFCTg4DU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8300320739 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kontron.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=98qIuZMBZmYeVQLgtBSojrytkAkdjOugEWWwDNKkX+Y=; b=Ocd32UAhfxTHe0h9mBIJQXfSY9 wp6nb4vwDNyaw8RZ9uSh/EsbYkl9F6k2DAaTciE7N72pHRUqrhGzbbtUmQG9t2oHSLiPaKxxc+ZBs G50Z/OXc+MWNin16bsjX16k9AMygIEqkPu15RbPlQqLYqldSZ8EaLuWeJonHsDzO+zgHL2LeY0AxF Wty9JrVPRyZYrPLiyelJeaL9Z0pBXhe0hDagXUVq0FL7t2wzTHQURrV1Oy2CGtgZE3tM+/3U7zQmI JmVAZcoMOEESMI8ep8qH602evwj/TraXCmmQwVXyTF+1hwv4/TLL4Eq+T5p731FPkzYic6jdglkpu P94fVg1Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw6Ut-0006r1-P0; Thu, 16 Jul 2020 16:12:35 +0000 Received: from mail-am6eur05on2126.outbound.protection.outlook.com ([40.107.22.126] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw6Ur-0006pO-LH for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 16:12:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m2lIW+4jliBiFlBvlCvBJ2VEnPYYsivl4fTfahpcpzJbWh6CrGA8hSFVUi3o5TTMJv+85a4KexsrmKVAZGTpUiT0pvPLgh32OY8ybLBMLDW4x1j1Mmn0Pu1JygacDeDqvtvbtYMiDycZONnO2TWiCSoOPJ110tB+ymNQ7ASWxZn0WsuaNKRH0gCFCWS4DjLXsrmV5Ur7tuE2Cc7hYyKVsorQ1r5caiLDa6rdP+7HWBfUJVdlRyJluO1QTczKFmYAxcZXt3EZDL+WoNwqyXK056FxrYZtZ1RmLHcrEVEOZlEjP9DwdwldjECn7HUxry9skhPeiR/TBzl+unPfqHVgSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3PL0phlUnPQ0FdHdR9WVyYU9N1YaMsQbo606tHWKUUI=; b=hPSykzVOagQzgJqC/vFntlrLANn/iSwJkUC0zf1dOq2EkPv4qzi2fdSL10VQO/ungLUE+hOE8gL/t0nGCMEvqBK0ottqUOEbBIoigFWiAsNkVezJGAIdDpbaDkKtdKvLauhXwrBfJOfNkhbY9zXPLzPaUBClzZ8qdgXZNMgGo5ocm4GgQH0Oa8Zejw2NWMKSqOUeJMl9V7WeuTHEgKOzU/b2X/Xyrygq5OsLCvRSZBZMq15HAqSHJP8lGA46HIRMe4IpIeCKTuum9j1XgahvB83+wY5OOzJ2ss2KpTPaMSE7m/rHUxPyJdZa2ptxRw93pKbelkdSZxu5KtrFKzdefA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=kontron.de; dmarc=pass action=none header.from=kontron.de; dkim=pass header.d=kontron.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mysnt.onmicrosoft.com; s=selector2-mysnt-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3PL0phlUnPQ0FdHdR9WVyYU9N1YaMsQbo606tHWKUUI=; b=oFCTg4DUDrxSAV+19pHJ7LIlDyWT3/cWuw3h95NAp7K2Vlw+ZKM08jTp/sGm70VTdo3YlF0gae8KnAYl/9ckMFajtNJlovU6kdaCNsey3XKCzxzWOAvCHIlI0QD0YLbMvjmjhPfl5cPDKJhGpJRo8XrKiQDyjqW/LRrZBK6EoXc= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=kontron.de; Received: from DB7PR10MB2490.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:50::12) by DB8PR10MB3339.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:119::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17; Thu, 16 Jul 2020 16:12:28 +0000 Received: from DB7PR10MB2490.EURPRD10.PROD.OUTLOOK.COM ([fe80::ac04:ef33:baf3:36f3]) by DB7PR10MB2490.EURPRD10.PROD.OUTLOOK.COM ([fe80::ac04:ef33:baf3:36f3%4]) with mapi id 15.20.3174.027; Thu, 16 Jul 2020 16:12:28 +0000 From: Schrempf Frieder To: Anson Huang , Fabio Estevam , Frieder Schrempf , Li Yang , Marcel Ziswiler , Marco Felsch , Michael Walle , NXP Linux Team , Pengutronix Kernel Team , Robert Jones , Rob Herring , Sascha Hauer , =?utf-8?q?S=C3=A9bastien_Szymanski?= , Shawn Guo Subject: [PATCH v2 0/2] Add support for Kontron i.MX8MM SoMs and boards Date: Thu, 16 Jul 2020 18:11:57 +0200 Message-Id: <20200716161216.15461-1-frieder.schrempf@kontron.de> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: AM0PR05CA0092.eurprd05.prod.outlook.com (2603:10a6:208:136::32) To DB7PR10MB2490.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:50::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from fs-work.localdomain (88.130.73.71) by AM0PR05CA0092.eurprd05.prod.outlook.com (2603:10a6:208:136::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18 via Frontend Transport; Thu, 16 Jul 2020 16:12:26 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [88.130.73.71] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cc477780-e753-4c41-cfde-08d829a308e2 X-MS-TrafficTypeDiagnostic: DB8PR10MB3339: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1360; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UXeTimA+DcZ3BOuEw5bcsLRkkgWzcHTs7Zn0EJdNco2cuTXsOo6y+865puohn9Gwm0nD7scn5+crqeExFSUOGvdsb2k3KrTj92diDdSO9EqSZnTSLFEuV9Wp629KLMjT+XMdaIN4S0oskdFk2EaaXVVRHhu6t1IkzMRiqaj5SaiLknrAJaRTbdqfXELVZS0GoKv99taRYFmWFYmDcAEvZ20L7clcOhufe2Ja9O+d/ztBs0ZK0xEqLXEW3mUHOQ/IPwmfuJfYb+n/3vsjTcZ6ojFzeDc823dDPqxpWNf3BHHEhQdQpKxsIfq91t64J3WjUw/uUlrXn9SiAaLINpNeK2egh/O14giRHWMOyil7bUI7Cm+34X2Q/Yt/7dVWfOh/Q/TrfrNZYYn/mZEb0zc2qwO+jL3KuKYuV17vrHKPi57WWtPhPa3kCZlW7sc4hWCw X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR10MB2490.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(6029001)(4636009)(366004)(136003)(376002)(396003)(39860400002)(346002)(52116002)(86362001)(6512007)(66946007)(956004)(4326008)(6506007)(110136005)(2616005)(8676002)(186003)(26005)(8936002)(16526019)(2906002)(6486002)(7416002)(36756003)(5660300002)(1076003)(66476007)(66556008)(316002)(6666004)(478600001)(966005)(921003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: r1YQ3OczkVDtRmZMPw3a6fgh+LIih4wW96Jlq6yiGyBrTvbYk1W1a+wvpcnmn9G4zCqfYgxCu6Bi/WK1mz+zu6vga9s6UXpIutb6VJFbyA4AliNIKMtn3S7i3Di26usSaQle9MIp8ejRaumgPa/l9m77mnyeJiATJuOA695LKLsB0UXDUEKYAAuJsgec1OG1k/Cm/U/m5MrZJHKaw3l3vU9deg71jGRm2Y+Q00QJ3dFcB5yQbqR/ihOxZgG5hWdVFQL6LxsYGOgXvCszvnkUU2TKmHnRFFCmS0xqoWggVQemj7PAO+jYnIqkKWjLWQbZkWChUNtfkN+EsJTmh5PR4Z934clqG3RTaSXYQUpu5vT9Fkx78GzSqn+oSllKhYdSaRyQ3QfnjDuZrqbLOKi/CqW2r/NC50F2m8BaTqRW52uCnGwb2a7Yt/xX3GLUM7Tci/ZLjsv3eGsztNn8zQF5cjnaj4or8Jou0YiK7tobdNw= X-OriginatorOrg: kontron.de X-MS-Exchange-CrossTenant-Network-Message-Id: cc477780-e753-4c41-cfde-08d829a308e2 X-MS-Exchange-CrossTenant-AuthSource: DB7PR10MB2490.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jul 2020 16:12:28.0743 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8c9d3c97-3fd9-41c8-a2b1-646f3942daf1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2uSXMUDcpzVHvF/6gtbyRC0WRudjWwH4PmsSKzjxnAsnJYRJxnIfyJu+eZbeGfvt6q1xgbcaz/ueL7e7tkaCA5z7Mk7bdEEaiYeJ2lBr4Y8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB3339 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_121233_754021_15B3F288 X-CRM114-Status: UNSURE ( 9.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.22.126 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.22.126 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Manivannan Sadhasivam Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Frieder Schrempf Kontron Electronics GmbH offers small and powerful SoMs based on the i.MX8M Mini SoC including PMIC, LPDDR4-RAM, eMMC and SPI NOR. Currently there are two SoM models: * SL i.MX8MM N8010 with 1GB RAM and 8 GB eMMC * SL i.MX8MM N8011 with 2GB RAM and 8 GB eMMC The matching baseboard has the same form factor and similar interfaces as the other boards from the Kontron "Board-Line" family, including SD card, 1G Ethernet, 100M Ethernet, USB Host/OTG, digital IOs, RS232, RS485, CAN, LVDS or HDMI, RTC and much more. This adds the basic support for the SoMs and boards. Some things to note: * The SoMs use the PCA9450 PMIC. The driver support is queued: [1]. * The support for the SPI NOR flash is queued: [2]. * The graphics and display peripherals (DSI, LVDS, HDMI, GPU, etc.) are not supported upstream yet. * There seems to be an unresolved issue with the upstream SPI driver for i.MX8MM which breaks SPI devices: [3]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20200716&id=0935ff5f1f0a44f66a13e075ed49f97ad99d2fdc [2] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit?h=next-20200716&id=482dcb2a04fdf6d4306e40f2b0537a313a466558 [3] https://patchwork.kernel.org/patch/11037107/#23227681. Frieder Schrempf (2): arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards dt-bindings: arm: fsl: Add Kontron i.MX8M Mini SoMs and boards .../devicetree/bindings/arm/fsl.yaml | 7 + .../dts/freescale/imx8mm-kontron-n801x-s.dts | 327 ++++++++++++++++++ .../freescale/imx8mm-kontron-n801x-som.dtsi | 294 ++++++++++++++++ 3 files changed, 628 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi