From patchwork Mon Sep 28 21:02:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Michal_Such=C3=A1nek?= X-Patchwork-Id: 1372896 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.de Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C0ZjJ0rnZz9sT6 for ; Tue, 29 Sep 2020 07:02:35 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DD64181E17; Mon, 28 Sep 2020 23:02:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 786D381F22; Mon, 28 Sep 2020 23:02:17 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, HELO_LOCALHOST,KHOP_HELO_FCRDNS,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from localhost (52-75-239-109.cust.centrio.cz [109.239.75.52]) by phobos.denx.de (Postfix) with ESMTP id 3202581C2C for ; Mon, 28 Sep 2020 23:02:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=hramrach@localhost Received: by localhost (Postfix, from userid 1000) id 479A7CE14F; Mon, 28 Sep 2020 23:02:14 +0200 (CEST) From: Michal Suchanek To: u-boot@lists.denx.de Cc: Michal Suchanek , Icenowy Zheng , Jagan Teki , Chen-Yu Tsai Subject: [PATCH 1/3] sunxi: dts: OrangePi Zero: Add SPI aliases to make bus usable with u-boot. Date: Mon, 28 Sep 2020 23:02:00 +0200 Message-Id: <5fd747516dbc54c8ab1619beb76bf4b4f5656cfe.1601326861.git.msuchanek@suse.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean The u-boot code relies on aliases to assign bus number. Signed-off-by: Michal Suchanek --- arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts index f19ed981da..090570148e 100644 --- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts @@ -59,6 +59,8 @@ /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ ethernet0 = &emac; ethernet1 = &xr819; + spi0 = &spi0; + spi1 = &spi1; }; chosen {