From patchwork Fri May 31 06:38:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10969641 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 51219933 for ; Fri, 31 May 2019 06:39:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41BA328C76 for ; Fri, 31 May 2019 06:39:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3581928C78; Fri, 31 May 2019 06:39:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C47CF28C76 for ; Fri, 31 May 2019 06:39:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=vGM0NBkZMAsXNKGaDJkSjwyDtSAl1JFRXMcFR6vpVuM=; b=kHwr+1jj/W0hSa YEMaPVmw/GPpd0dgVzMFD+CrF2gRTL2cpWLdoQCD2QepsTZ6b3CqN4oyhk+hpuTXRl87XUMVhDTia 2znse3rkRveDZADENGZYVKa8Q1MbwpfEB/zscPHRbHC9VPdTk4UQD5p4szCf84AIMRPpsJP5fVVHs pV4Lk/5/W9qGW2OWv4UrNfOw1DSBxwYQ4T6xuF07N7euiQO5vnf8lSDc5nrF87U+b6N8AK4Ch1JAE GH6ApuDx0todzJx2ierh0nXFuYYKSmbE9o8JL8rCskO6z8Nxt809lucjMLG4jTxJxldKzkU+3I7PL 43s+Sgn+52vwI8rT6ssA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWbCB-00039N-TJ; Fri, 31 May 2019 06:39:19 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWbC8-00038b-Gb for linux-arm-kernel@lists.infradead.org; Fri, 31 May 2019 06:39:18 +0000 Received: by mail-pg1-x544.google.com with SMTP id h17so3490197pgv.0 for ; Thu, 30 May 2019 23:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SXBhhNmLSZ7SfSIDocpcP+tG+VZK/npThfwPX+RXL68=; b=DPebLeDbFNVD5P67tqP0E6NbXfo0GqBg57A5cpk0ASEU2EHf6awCPba6G4D+1PwlRj YhsRX/gA0mlYVXED8lkdcJV8bWS2fB9I4CqPcbawD/e2P+1RPta6Kb/8y4DQXjWw9gm0 +H3zmCDCa3KW537AnnuScG0NEae48ULqRfGYODDp2u4Pv7GdHb+4t17s+Dqj77brlAs5 JDJRlvf4tsykSLgQU84EyPwqQ6OgsG4flhnrJVBbMlBoDARGLJqIHwj5DbmUPcpAYjKg AVCnE0ukyuWLUZelupQ7fL261pnfoDdFWrj6/KLqGfTT8PkZjxmKb5c9viU0i+Qn/TMl O4ZQ== 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:mime-version :content-transfer-encoding; bh=SXBhhNmLSZ7SfSIDocpcP+tG+VZK/npThfwPX+RXL68=; b=pNQ2CC8KvfNodZyQd6yUEalP5mtqLI/GuKLFq3Vy8W6UeN+j5I/tesZtxRVwQ8Klrc 4AxRXvH8m3Vn5vlJkECSwuyqXXjFm3/DuwVStkdKzxoLntpSn3BZo02lXSI0SDMVJoFa BofZITYCzNg64o9pPf0ITQhtK+a6ypHpFC9qZzmCBb/OGuL9YjSS1Z+DvZvI8cU+ufu0 0wWzmBI5lwVjnKGl145nSJFLkjeM9rx9iWoFW5jh6NmajL9jjwDOofb+mRvkFwv0a/4w cb11OxJ48UWehvQxMoR4sSL5S+aZ/kRJ0K+iGJfGNfCZ1xQiT5BciuUl9rn3D1cZy4nI Jedw== X-Gm-Message-State: APjAAAVT4KGd58GHejfhH25SpQe4+bEopbzi0QBjxwvx9cG/OWceLWKr 1AHrvSAkb9NCgtXQ/MDkX3Us X-Google-Smtp-Source: APXvYqxSXSKcfJHZzFiDp9JVK/XspKz74WHAtcBbnHiEhOKXCoHZ3JHNNC2pEpI0Wj0IJGDLpMcR/g== X-Received: by 2002:a63:ff52:: with SMTP id s18mr3535804pgk.187.1559284753339; Thu, 30 May 2019 23:39:13 -0700 (PDT) Received: from localhost.localdomain ([2405:204:72cb:ebf2:a51d:3877:feab:5634]) by smtp.gmail.com with ESMTPSA id y12sm4644158pgp.63.2019.05.30.23.39.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 23:39:12 -0700 (PDT) From: Manivannan Sadhasivam To: mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, robh+dt@kernel.org Subject: [PATCH v3 0/4] Add Avenger96 board support Date: Fri, 31 May 2019 12:08:45 +0530 Message-Id: <20190531063849.26142-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190530_233916_562610_4D2BE611 X-CRM114-Status: GOOD ( 11.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, loic.pallardy@st.com, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, This patchset adds Avenger96 board support. This board is one of the Consumer Edition boards of the 96Boards family from Arrow Electronics featuring STM32MP157A MPU and has the following features: SoC: STM32MP157AAC PMIC: STPMIC1A RAM: 1024 Mbyte @ 533MHz Storage: eMMC v4.51: 8 Gbyte microSD Socket: UHS-1 v3.01 Ethernet Port: 10/100/1000 Mbit/s, IEEE 802.3 Compliant Wireless: WiFi 5 GHz & 2.4GHz IEEE 802.11a/b/g/n/ac Bluetooth®v4.2 (BR/EDR/BLE) USB: 2x Type A (USB 2.0) Host and 1x Micro B (USB 2.0) OTG Display: HDMI: WXGA (1366x768)@ 60 fps, HDMI 1.4 LED: 4x User LED, 1x WiFi LED, 1x BT LED More information about this board can be found in 96Boards website: https://www.96boards.org/product/avenger96/ Thanks, Mani Changes in v3: * Converted STM32 platform bindings to DT schema Changes in v2: As per Alex's review: * Fixed I2C2 pinctrl node * Sorted the avenger96 dtb in alphabetical order * Added device-type property to memory node Manivannan Sadhasivam (4): ARM: dts: stm32mp157: Add missing pinctrl definitions dt-bindings: arm: stm32: Convert STM32 SoC bindings to DT schema dt-bindings: arm: stm32: Document Avenger96 devicetree binding ARM: dts: Add Avenger96 devicetree support based on STM32MP157A .../devicetree/bindings/arm/stm32/stm32.yaml | 31 ++ arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 75 ++++ arch/arm/boot/dts/stm32mp157a-avenger96.dts | 321 ++++++++++++++++++ 4 files changed, 428 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/stm32/stm32.yaml create mode 100644 arch/arm/boot/dts/stm32mp157a-avenger96.dts