From patchwork Sun Nov 10 07:52:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 3165011 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E39739F3A0 for ; Sun, 10 Nov 2013 10:16:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2506C20265 for ; Sun, 10 Nov 2013 10:16:21 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EBAAF20263 for ; Sun, 10 Nov 2013 10:16:19 +0000 (UTC) Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VfS1Z-0000eQ-8d; Sun, 10 Nov 2013 10:13:46 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VfPqV-00081P-Es; Sun, 10 Nov 2013 07:54:11 +0000 Received: from fallback7.mail.ru ([94.100.176.135]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VfPpA-0007vb-0Y for linux-arm-kernel@lists.infradead.org; Sun, 10 Nov 2013 07:52:49 +0000 Received: from smtp38.i.mail.ru (smtp38.i.mail.ru [94.100.177.98]) by fallback7.mail.ru (mPOP.Fallback_MX) with ESMTP id 520A3EBC1156 for ; Sun, 10 Nov 2013 11:52:24 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=rGqAKtK8E7s5oWz1lDkG34zyoBc5QsC2WmBXVF+APkE=; b=c0SgLV+G6qHHB4hEQKV3Gw2UkpCWzPt3oOv63s6JQlIsQkb3DACr2LePSWWCQOseyhaIeGEpSp6k7DYjVKacfMZBLCz2XsKQ0h/nO2Dxxk+G0er7btMa9M7nrF4Zit/lMCNnNabNvI9PNWh3itGkJiRE4bswQ6U9ImAhRGT8mzo=; Received: from [188.134.40.128] (port=33587 helo=shc.zet) by smtp38.i.mail.ru with esmtpa (envelope-from ) id 1VfPof-0008HC-Vo; Sun, 10 Nov 2013 11:52:18 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Update FEC node Date: Sun, 10 Nov 2013 11:52:01 +0400 Message-Id: <1384069921-15270-2-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1384069921-15270-1-git-send-email-shc_work@mail.ru> References: <1384069921-15270-1-git-send-email-shc_work@mail.ru> X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131110_025248_402682_1EE55646 X-CRM114-Status: UNSURE ( 8.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Shawn Guo , Russell King , Alexander Shiyan , Sascha Hauer X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch updates FEC devicetree node of Phytec PCM038 module: - Adding missing phy_mode properties. - Adding dummy regulator to provide functionality without dummy-regulator in the kernel. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx27-phytec-phycore-som.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts index 4ec402c..317df5e 100644 --- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts +++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts @@ -19,6 +19,20 @@ memory { reg = <0xa0000000 0x08000000>; }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + reg_3v3: 3v3 { + compatible = "regulator-fixed"; + reg = <0>; + regulator-name = "3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + }; }; &audmux { @@ -134,7 +148,9 @@ }; &fec { + phy-mode = "mii"; phy-reset-gpios = <&gpio3 30 0>; + phy-supply = <®_3v3>; status = "okay"; };