From patchwork Mon May 15 23:28:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 9728207 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2597F60231 for ; Mon, 15 May 2017 23:20:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D2BD28987 for ; Mon, 15 May 2017 23:20:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0FE89289E4; Mon, 15 May 2017 23:20:34 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 A6BCF28987 for ; Mon, 15 May 2017 23:20:33 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=xCCrArhXyZY9Csf0xgEPLx3c8SLbkQ76MO/87aw+WSU=; b=JyIyWi+ctCNDP0maD4nfzAVjGQ OGZAwhOg3joqm88XSJRLOYhpFG51+LqzGQium491gYCGOsVmE9BOzfBU41sAIYvHmJHeu0K5kfHBo ib+EFY4qaz1qj/XpkO+atUhGlip/OWiMK7LMRAm6nDhjmhdE70eph3pobeZojfLNOla+44b0gTvtJ FiT5+h7EOp+4YNKK6N8iEnBmE8DQ/02H0qEwNNAC6C0A2jnt1+AuB1/r7kU2ba31VmW7sJb3Zh20T W0f+q5cF2bRq0HvHf/7gfG9ti1YBVa6kjyUSu1EpTl1Ir8RMwPUEMfygBUAxFkKtwqPB/zdiwI7CB ym7uif7g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dAPI0-0005Ia-1R; Mon, 15 May 2017 23:20:32 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAPHn-0003tA-0G for linux-arm-kernel@lists.infradead.org; Mon, 15 May 2017 23:20:20 +0000 Received: by mail-wm0-x233.google.com with SMTP id d127so95712889wmf.0 for ; Mon, 15 May 2017 16:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=El1nmqzVGGRugpomggWuRY1qacrIQoOL2CXneJskDns=; b=ttUrZKv1meBZE5MDeHNbFm331MdzVCzAa8nkOxSdKcLwbzvuLhI58O5JjXJR9bDvbk ZjQXv6RxTwWufr+Y8r57o+f5NfJ2wmgqrKubBkv+t4YY30YxlCYbCAwjiId1evWNyDsG FDYh/iQXczOOvONL6FxuDVrRytSBsx+MRiL1WBg1SVyPe/b+B9U/EAwkp19H9tM+hTjt zQSsfIz0Dtd8G+M/ayqImba8kARoUCGDfqaxT/1R6pC0yPq9k0VfaIODebBrqx6Hm9j5 859z3QKwrF7OHXG9tOW4fZ2DzipBo2pGyymyxN9CDpAMD0bt3pJ9gZWHQ98NPHyCXXyY DVaQ== 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; bh=El1nmqzVGGRugpomggWuRY1qacrIQoOL2CXneJskDns=; b=WLoTJDo7wANsjW4DLTJ5yGSlQQMkWz1AGFNRNIW6yC+Mew+vSmZwuiNSePhdIewmY5 n7LonKLFRTxJLFFOSQd5up/bG1Qz1dszkiE3PD2jio8vSCgLbpaEQCTnJQBLe+7mI5Pj v1INux+AVs9xqGs1nC3Lwp6m9W2CfFUpdx7vUkjG8QQlF1p2xds06FpkXPnTlgWTgkkz Z55mMtqkEhbpUEKqkrTXPlIOh+7TiZVA6ywg7uAF0HMccarIMz6j8qYPZ/GdjHCSmMuH 3I5eSt9IOIOzIgqfvSttlipNUJfWEo4oOo7ZoL9FRCLu2Z5CjyGxl3y3xY50x4lwkxSx SYHQ== X-Gm-Message-State: AODbwcDUNvLhsgXknA63sHP1ZaRcPleg64F+uOEIqf7voxwdCPlWxLXA KQn58xyDTehAPg== X-Received: by 10.46.7.66 with SMTP id i2mr2437832ljd.46.1494890396807; Mon, 15 May 2017 16:19:56 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id h67sm2416569lfh.24.2017.05.15.16.19.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 May 2017 16:19:56 -0700 (PDT) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] arm64: marvell: dts: fill MachiatoBin board description Date: Tue, 16 May 2017 01:28:32 +0200 Message-Id: <1494890913-8360-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1494890913-8360-1-git-send-email-mw@semihalf.com> References: <1494890913-8360-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170515_162019_206819_EE71DEB5 X-CRM114-Status: UNSURE ( 8.76 ) 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: thomas.petazzoni@free-electrons.com, andrew@lunn.ch, jason@lakedaemon.net, jaz@semihalf.com, will.deacon@arm.com, nadavh@marvell.com, robh+dt@kernel.org, neta@marvell.com, tn@semihalf.com, gregory.clement@free-electrons.com, mark.rutland@arm.com, mw@semihalf.com, sebastian.hesselbarth@gmail.com MIME-Version: 1.0 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 This patch adds following improvements to Armada 8040 MachiatoBin: * Add 'chosen' node with stdout-path assignment * Enable 1G sgmii port * Enable SDHCI controllers on AP and CP HW blocks Signed-off-by: Marcin Wojtas --- arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 34 +++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts index f7bb0cc..19d395b 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts @@ -51,6 +51,10 @@ compatible = "marvell,armada8040-mcbin", "marvell,armada8040", "marvell,armada-ap806-quad", "marvell,armada-ap806"; + chosen { + stdout-path = "serial0:115200n8"; + }; + memory@00000000 { device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>; @@ -136,3 +140,33 @@ usb-phy = <&usb3h0_phy>; status = "okay"; }; + +&cpm_mdio { + phy0: ethernet-phy@0 { + reg = <0>; + }; +}; + +&cps_ethernet { + status = "okay"; +}; + +&cps_eth1 { + status = "okay"; + phy = <&phy0>; + phy-mode = "sgmii"; +}; + +&ap_sdhci0 { + status = "okay"; + bus-width = <8>; + no-1-8-v; + non-removable; +}; + +&cpm_sdhci0 { + status = "okay"; + bus-width = <4>; + no-1-8-v; + non-removable; +};