From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Martinez Canillas Subject: Re: [PATCH 2/4] ARM: dts: omap3-tobi: Add SMSC911X node Date: Tue, 11 Jun 2013 17:35:21 +0200 Message-ID: <51B743B9.3070809@collabora.co.uk> References: <1370962189-9689-1-git-send-email-florian.vaussard@epfl.ch> <1370962189-9689-3-git-send-email-florian.vaussard@epfl.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from bhuna.collabora.co.uk ([93.93.135.160]:43878 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754452Ab3FKPfY (ORCPT ); Tue, 11 Jun 2013 11:35:24 -0400 In-Reply-To: <1370962189-9689-3-git-send-email-florian.vaussard@epfl.ch> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Florian Vaussard Cc: Benoit Cousson , Tony Lindgren , linux-omap@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org On 06/11/2013 04:49 PM, Florian Vaussard wrote: > The Tobi expansion boards embeds a SMSC LAN8700 PHY. Add the > corresponding node into the DT. The regulators are not designed > to be turned off. > > Signed-off-by: Florian Vaussard > --- > arch/arm/boot/dts/omap3-tobi.dts | 48 ++++++++++++++++++++++++++++++++++++++ > 1 files changed, 48 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts > index c7eebbf..dea726f 100644 > --- a/arch/arm/boot/dts/omap3-tobi.dts > +++ b/arch/arm/boot/dts/omap3-tobi.dts > @@ -24,6 +24,54 @@ > linux,default-trigger = "heartbeat"; > }; > }; > + > + vddvario: regulator-vddvario { > + compatible = "regulator-fixed"; > + regulator-name = "vddvario"; > + regulator-always-on; > + }; > + > + vdd33a: regulator-vdd33a { > + compatible = "regulator-fixed"; > + regulator-name = "vdd33a"; > + regulator-always-on; > + }; > +}; > + > +&gpmc { > + ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */ > + > + ethernet@5,0 { > + compatible = "smsc,lan9221", "smsc,lan9115"; > + reg = <5 0 0xff>; > + bank-width = <2>; > + > + gpmc,mux-add-data; > + gpmc,cs-on-ns = <0>; > + gpmc,cs-rd-off-ns = <42>; > + gpmc,cs-wr-off-ns = <36>; > + gpmc,adv-on-ns = <6>; > + gpmc,adv-rd-off-ns = <12>; > + gpmc,adv-wr-off-ns = <12>; > + gpmc,oe-on-ns = <0>; > + gpmc,oe-off-ns = <42>; > + gpmc,we-on-ns = <0>; > + gpmc,we-off-ns = <36>; > + gpmc,rd-cycle-ns = <60>; > + gpmc,wr-cycle-ns = <54>; > + gpmc,access-ns = <36>; > + gpmc,page-burst-access-ns = <0>; > + gpmc,bus-turnaround-ns = <0>; > + gpmc,cycle2cycle-delay-ns = <0>; > + gpmc,wr-data-mux-bus-ns = <18>; > + gpmc,wr-access-ns = <42>; > + gpmc,cycle2cycle-samecsen; > + gpmc,cycle2cycle-diffcsen; > + > + interrupt-parent = <&gpio6>; > + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176*/ > + reg-io-width = <4>; > + }; > }; > > &i2c3 { > Reviewed-by: Javier Martinez Canillas From mboxrd@z Thu Jan 1 00:00:00 1970 From: javier.martinez@collabora.co.uk (Javier Martinez Canillas) Date: Tue, 11 Jun 2013 17:35:21 +0200 Subject: [PATCH 2/4] ARM: dts: omap3-tobi: Add SMSC911X node In-Reply-To: <1370962189-9689-3-git-send-email-florian.vaussard@epfl.ch> References: <1370962189-9689-1-git-send-email-florian.vaussard@epfl.ch> <1370962189-9689-3-git-send-email-florian.vaussard@epfl.ch> Message-ID: <51B743B9.3070809@collabora.co.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 06/11/2013 04:49 PM, Florian Vaussard wrote: > The Tobi expansion boards embeds a SMSC LAN8700 PHY. Add the > corresponding node into the DT. The regulators are not designed > to be turned off. > > Signed-off-by: Florian Vaussard > --- > arch/arm/boot/dts/omap3-tobi.dts | 48 ++++++++++++++++++++++++++++++++++++++ > 1 files changed, 48 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts > index c7eebbf..dea726f 100644 > --- a/arch/arm/boot/dts/omap3-tobi.dts > +++ b/arch/arm/boot/dts/omap3-tobi.dts > @@ -24,6 +24,54 @@ > linux,default-trigger = "heartbeat"; > }; > }; > + > + vddvario: regulator-vddvario { > + compatible = "regulator-fixed"; > + regulator-name = "vddvario"; > + regulator-always-on; > + }; > + > + vdd33a: regulator-vdd33a { > + compatible = "regulator-fixed"; > + regulator-name = "vdd33a"; > + regulator-always-on; > + }; > +}; > + > +&gpmc { > + ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */ > + > + ethernet at 5,0 { > + compatible = "smsc,lan9221", "smsc,lan9115"; > + reg = <5 0 0xff>; > + bank-width = <2>; > + > + gpmc,mux-add-data; > + gpmc,cs-on-ns = <0>; > + gpmc,cs-rd-off-ns = <42>; > + gpmc,cs-wr-off-ns = <36>; > + gpmc,adv-on-ns = <6>; > + gpmc,adv-rd-off-ns = <12>; > + gpmc,adv-wr-off-ns = <12>; > + gpmc,oe-on-ns = <0>; > + gpmc,oe-off-ns = <42>; > + gpmc,we-on-ns = <0>; > + gpmc,we-off-ns = <36>; > + gpmc,rd-cycle-ns = <60>; > + gpmc,wr-cycle-ns = <54>; > + gpmc,access-ns = <36>; > + gpmc,page-burst-access-ns = <0>; > + gpmc,bus-turnaround-ns = <0>; > + gpmc,cycle2cycle-delay-ns = <0>; > + gpmc,wr-data-mux-bus-ns = <18>; > + gpmc,wr-access-ns = <42>; > + gpmc,cycle2cycle-samecsen; > + gpmc,cycle2cycle-diffcsen; > + > + interrupt-parent = <&gpio6>; > + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176*/ > + reg-io-width = <4>; > + }; > }; > > &i2c3 { > Reviewed-by: Javier Martinez Canillas