From patchwork Wed Mar 6 17:01:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10841467 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 377B0922 for ; Wed, 6 Mar 2019 17:01:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CE1C2E584 for ; Wed, 6 Mar 2019 17:01:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EF032E979; Wed, 6 Mar 2019 17:01:48 +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 D26B62E96A for ; Wed, 6 Mar 2019 17:01:46 +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=9IZt8HFQ2YnfS1fzKdFH2kXaTkhiodK9ER/wXTgHRDA=; b=sw7g2BUZ/rLY1W J6TNTfRmL7U8Z9LtqlDj0pWjoyGs6mTJG20Wb6F5ajMjTOPhSkizdpj0Lfmyxp0RIODs2Pmj/jprl RJqIJ6VHc2G+MEKsmbZfXUxurSkD6fcolJP26rSNPnCLVlVyjzNcxpll5yPlLvNAlEx2mFGJhkYuG HhLyv28G7W7oRQANlHuziM0U4kfonDM/LXFc5uqvJGOdw1RmxvP3WIQX0MTaoLSKgG3xtY3W1cz8n oRTEOUTzD0Mcbm1NOwPEijalLv2lo8aC2z+t+CQ3a9kXYei6ri/2FKgKqLOl1lMPqJHKt05KuFH7u qsdZqo1WnfGXGuM5qqqw==; 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 1h1ZvJ-0002Bd-Af; Wed, 06 Mar 2019 17:01:41 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1ZvB-00029q-VI for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2019 17:01:39 +0000 Received: by mail-pg1-x542.google.com with SMTP id 125so8643658pgc.12 for ; Wed, 06 Mar 2019 09:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7gml9CgAgTMxOZO0Pb0JU6STJ10qcaKff7uSTnbaesk=; b=l8FjdTmiQZN0iPMd1A2nRx/6N+WCiPeHGxFFmFmKW9knw6Kxd6g/rV8LKDo6TDA7zB w04n3DGxJaUy9MXVERb3+rHI2PUr9gPn7XHfUPfDTOoT8M4BLN2Q4AkOFM5ZEGKtLjwP 9A+CylRZ9HdygquoJBOFExSOPnTDYXVtXyAZM= 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=7gml9CgAgTMxOZO0Pb0JU6STJ10qcaKff7uSTnbaesk=; b=oqKvv7K1jPU2UIsOqgAX7vOP3HLyuJbnyosBkKNuRaspK+GkkOOnGHQkBrrApzHewg wtDkPTIPPAeFH5fuQ4YI5wDs3cLg1QK9dNbbCnNMzcUREPjRcTO3eGi21KUwjvwV7YO2 UOdwXN4xUhb+Ax5/OSA0z5vqr7y2I2g0NN9qxi6zSH1TpKnQPrDPv0ZucqwsUkAE8Bto 9qRWbRMHlha5bJ8RLhMFZlj7V2BG38UQQftCbROiCqLPb1SSy2DvjhEbYKfW5IwFtlDs G6zARoxy82EkOXLpTTHOPhFk3+ZbWNjs907R3KrkPfrYTB6Rdmag/cYsAD4GbHXPzwHl ++fA== X-Gm-Message-State: APjAAAW4bgBacICPfEmjSV5kcw/hJdAtyVn2Iva+iCBEUYh789Ix7ggm u4/xHaH4v2d6KnX5ktlPN6W9RKX0/78= X-Google-Smtp-Source: APXvYqz3KrmEVyjKm3/var5pSl5TZks71N7ps9q4OBZ5w8Pe1exC2WzEXyBfjAgkMhaFgLJVue9W3w== X-Received: by 2002:aa7:8c97:: with SMTP id p23mr8322888pfd.229.1551891692530; Wed, 06 Mar 2019 09:01:32 -0800 (PST) Received: from localhost.localdomain ([2401:4900:27b8:fdbf:6489:a238:847b:3486]) by smtp.gmail.com with ESMTPSA id t10sm7797916pfa.151.2019.03.06.09.01.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 09:01:31 -0800 (PST) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland Subject: [PATCH v2 1/2] dt-bindings: Add vendor prefix for oceanic Date: Wed, 6 Mar 2019 22:31:09 +0530 Message-Id: <20190306170110.27342-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190306_090134_474005_AEF19B4E X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. 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, Ryan Pannell , linux-kernel@vger.kernel.org, Jagan Teki , Michael Trimarchi , linux-amarula@amarulasolutions.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 Add oceanic vendor prefix. Oceanic Systems (UK) Ltd design and manufacture world-class marine systems for control and monitoring vessels. Signed-off-by: Jagan Teki --- Changes for v2: - none Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index bb6f6e8a2eee..e32d460408dc 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -287,6 +287,7 @@ nuvoton Nuvoton Technology Corporation nvd New Vision Display nvidia NVIDIA nxp NXP Semiconductors +oceanic Oceanic Systems (UK) Ltd. okaya Okaya Electric America, Inc. oki Oki Electric Industry Co., Ltd. olimex OLIMEX Ltd. From patchwork Wed Mar 6 17:01:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10841469 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 B744F1515 for ; Wed, 6 Mar 2019 17:01:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B7292E584 for ; Wed, 6 Mar 2019 17:01:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C8752E979; Wed, 6 Mar 2019 17:01:56 +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 28CA92E584 for ; Wed, 6 Mar 2019 17:01:56 +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:References:In-Reply-To: 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: List-Owner; bh=nkAre33r0Z5EjANVVSvtZ68ppALSwz08gsFK/vt0Upw=; b=eapNiBff8RlKJi yfQK1LJIVyuXuHJfOQygijUJfGVXeUObc1DN3UaFdx6DkPCHtbJ+zVeSVKVD1xSOpvjEIhk2lFKpY h2dMCv7/lN810axsoRGykXNM4s5kJw2v9iJ/2Xhrn6rZ5wqe4PU92pOJ1xKso6/ytuswBpbNUZYGY XKnzpaShpoChYJ3nOkKthjhEM+DVldp59tMUVP/QHfKUZzD1mqdu9OqiyoJA8NzphtFt9JUKQB31I kE2HZvcyh0KyGtbY5lYRlw2XzDuuWNijzgUXZrOHkl4brvPqbD3jSaZeeDkdNCtMlXJAxPgHNR/Lj xGGYrxTG3Hm0U7ZcDgFQ==; 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 1h1ZvR-0002Li-Lh; Wed, 06 Mar 2019 17:01:49 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1ZvJ-0002Bj-GK for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2019 17:01:44 +0000 Received: by mail-pf1-x443.google.com with SMTP id n74so9083051pfi.9 for ; Wed, 06 Mar 2019 09:01:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LmEPyf6mfoIHCeuROjKnk+NZQhF+HOsxvLugnKm3fkg=; b=CFZP2QHwquCrz4chV3Yu8VJdLuUVuAr2Vg0tbfUEkCw5lhVfijjPO9XKPXln/emDhX 0BnZuIRe9BE6TkcAZLRMaFaJlXq/Sg2/RISMFxWCY6Me7XJg24LzGAmwiQgNZKqEmkMV SVNQV3JlY68KmLz6Xgk/MX+Gb4/x9OgHtN37c= 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=LmEPyf6mfoIHCeuROjKnk+NZQhF+HOsxvLugnKm3fkg=; b=SB12cI1KYELCLwysDdNazMQrxh7ZNzX7mfSw2WlA4SAOSMtECZEWaJUueytgm6lDn8 9ezodnuOp8/GCm3EgMC7FwwfTy9EMjQkbW0uAP5xi2xrPTxzKVtWuhigUYC0HcO7PZZG bs/NZb4uwPO288oLDYRksHvjswI38WuQ+9WWVeUGR4GyG+mrnnYGQNMkWehh/d9lyga8 j+7YQCZYqrqaNxmpYkhnEkBImvY02XUdp9oRBv8RFILqyBfdbvg8r4S9XamtAMDO6Se3 8n0kDJm8VMsGDNEUOoO+C/V+hOxVhpHkx3k3fw+EdHRRDspsR/0Dn722QJzDAYgjMlNK LtbA== X-Gm-Message-State: APjAAAXKA/Kbl2A4i0Ws3fTDhc3m3jfx0M7L6EpyTacuv+3gbtaEb3rc dpaGUiPl+U8rynD+dyxMNIyJbQ== X-Google-Smtp-Source: APXvYqyJwg9Tq8/5RG30HWvlo2uKltsF4lB1Y/MQcad/AAVDK/oVga7I5me4srWCXKt/JlnLFCInOA== X-Received: by 2002:a17:902:8690:: with SMTP id g16mr7866603plo.284.1551891700762; Wed, 06 Mar 2019 09:01:40 -0800 (PST) Received: from localhost.localdomain ([2401:4900:27b8:fdbf:6489:a238:847b:3486]) by smtp.gmail.com with ESMTPSA id t10sm7797916pfa.151.2019.03.06.09.01.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 09:01:40 -0800 (PST) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland Subject: [PATCH v2 2/2] arm64: allwinner: a64: Add Oceanic 5205 5inMFD initial support Date: Wed, 6 Mar 2019 22:31:10 +0530 Message-Id: <20190306170110.27342-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190306170110.27342-1-jagan@amarulasolutions.com> References: <20190306170110.27342-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190306_090141_704567_3B1448FA X-CRM114-Status: GOOD ( 14.22 ) 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, Ryan Pannell , linux-kernel@vger.kernel.org, Jagan Teki , Michael Trimarchi , linux-amarula@amarulasolutions.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 Oceanic 5205 5inMFD is a 5 inch Multi function display baseboard designed to mount SoPine SOM. Key features: - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 2GB DDR3 RAM - SD Slot - SPI-NOR flash - EMAC, RTL8211E - MCP2515 CAN - 4-lane, MIPI-DSI panel - Goodix 911 CTP - USB Host - 12V DC power supply Signed-off-by: Jagan Teki --- Changes for v2: - rename model to "Oceanic 5205 5inMFD" - rename compatible to "oceanic,5205-5inmfd" - rename dts to sun50i-a64-oceanic-5205-5inmfd.dts - add emac node arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-a64-oceanic-5205-5inmfd.dts | 68 +++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-oceanic-5205-5inmfd.dts diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index 0b0917111099..e4dce2f6fa3a 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile @@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-amarula-relic.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-bananapi-m64.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-nanopi-a64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-oceanic-5205-5inmfd.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-olinuxino.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-orangepi-win.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pine64-lts.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-oceanic-5205-5inmfd.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-oceanic-5205-5inmfd.dts new file mode 100644 index 000000000000..6a2154525d1e --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-oceanic-5205-5inmfd.dts @@ -0,0 +1,68 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Oceanic Systems (UK) Ltd. + * Copyright (C) 2019 Amarula Solutions B.V. + * Author: Jagan Teki + */ + +/dts-v1/; + +#include "sun50i-a64-sopine.dtsi" + +/ { + model = "Oceanic 5205 5inMFD"; + compatible = "oceanic,5205-5inmfd", "allwinner,sun50i-a64"; + + aliases { + ethernet0 = &emac; + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&ehci0 { + status = "okay"; +}; + +&emac { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + phy-mode = "rgmii"; + phy-handle = <&ext_rgmii_phy>; + phy-supply = <®_dc1sw>; + allwinner,tx-delay-ps = <600>; + status = "okay"; +}; + +&mdio { + ext_rgmii_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; +}; + +&ohci0 { + status = "okay"; +}; + +®_dc1sw { + regulator-name = "vcc-phy"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; +}; + +&usb_otg { + dr_mode = "host"; + status = "okay"; +}; + +&usbphy { + status = "okay"; +};