From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Suchanek Subject: Re: [PATCH 1/3] ARM: dts: sunxi: A10s Olinuxino add missing SPI and simplefb. Date: Sun, 26 Apr 2015 11:21:34 +0200 Message-ID: References: <20150426083958.GD5627@lukather> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <20150426083958.GD5627@lukather> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Maxime Ripard Cc: linux-sunxi , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Linux Kernel Mailing List List-Id: devicetree@vger.kernel.org Hello, On 26 April 2015 at 10:39, Maxime Ripard wrote: > Hi, > > On Mon, Mar 23, 2015 at 03:00:31PM +0100, Michal Suchanek wrote: >> Signed-off-by: Michal Suchanek >> &ohci0 { >> status = "okay"; >> }; >> diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi >> index a78c95d..438eba1 100644 >> --- a/arch/arm/boot/dts/sun5i-a10s.dtsi >> +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi >> @@ -154,6 +154,20 @@ >> clocks = <&apb1_gates 18>; >> status = "disabled"; >> }; >> + >> + spi2: spi@01c17000 { >> + compatible = "allwinner,sun4i-a10-spi"; >> + reg = <0x01c17000 0x1000>; >> + interrupts = <12>; >> + clocks = <&ahb_gates 22>, <&spi2_clk>; >> + clock-names = "ahb", "mod"; >> + dmas = <&dma SUN4I_DMA_DEDICATED 29>, >> + <&dma SUN4I_DMA_DEDICATED 28>; >> + dma-names = "rx", "tx"; >> + status = "disabled"; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + }; >> }; >> }; > > This should be in sun5i.dtsi (and in a separate patch). > >> @@ -198,4 +212,18 @@ >> allwinner,drive = ; >> allwinner,pull = ; >> }; >> + >> + spi2_pins_a: spi2@0 { >> + allwinner,pins = "PB11", "PB12", "PB13", "PB14"; >> + allwinner,function = "spi2"; >> + allwinner,drive = ; >> + allwinner,pull = ; >> + }; >> + >> + spi2_pins_b: spi2@1 { >> + allwinner,pins = "PE00", "PE01", "PE02", "PE03"; >> + allwinner,function = "spi2"; >> + allwinner,drive = ; >> + allwinner,pull = ; >> + }; >> }; > > Ditto. > A13 does not have these pins so maybe not? Thanks Michal -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html