From patchwork Mon Feb 5 14:03:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 869304 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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zZq7g71Txz9sRV for ; Tue, 6 Feb 2018 01:03:41 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 2E5A0C21DE5; Mon, 5 Feb 2018 14:03:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 307A5C21C8F; Mon, 5 Feb 2018 14:03:34 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 526BFC21C8F; Mon, 5 Feb 2018 14:03:33 +0000 (UTC) Received: from wens.csie.org (mirror2.csie.ntu.edu.tw [140.112.30.76]) by lists.denx.de (Postfix) with ESMTPS id 7C6BAC21C2F for ; Mon, 5 Feb 2018 14:03:32 +0000 (UTC) Received: by wens.csie.org (Postfix, from userid 1000) id 8F5A55FB5F; Mon, 5 Feb 2018 22:03:26 +0800 (CST) From: Chen-Yu Tsai To: u-boot@lists.denx.de Date: Mon, 5 Feb 2018 22:03:25 +0800 Message-Id: <20180205140325.12241-1-wens@csie.org> X-Mailer: git-send-email 2.15.1 Cc: "Mr . Fulop" , Jagan Teki , Maxime Ripard Subject: [U-Boot] [PATCH] sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" When the OTG node was added, its reg property for its address space was missing. With commit f4f9896ac310 ("musb: sunxi: Use base address from device tree"), the OTG controller's address is derived from the device tree exclusively. The missing property results in U-boot crashing when MUSB is initialized. Fixes: b0bea6678981 ("sunxi: Add USB and R_PIO nodes to sun8i-a83t.dtsi") Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Reviewed-by: Jagan Teki Tested-by: Jagan Teki --- arch/arm/dts/sun8i-a83t.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/sun8i-a83t.dtsi b/arch/arm/dts/sun8i-a83t.dtsi index 0fe73e173f44..bab6c1812b8a 100644 --- a/arch/arm/dts/sun8i-a83t.dtsi +++ b/arch/arm/dts/sun8i-a83t.dtsi @@ -227,6 +227,7 @@ usb_otg: usb@01c19000 { compatible = "allwinner,sun8i-a33-musb"; + reg = <0x01c19000 0x400>; interrupts = ; interrupt-names = "mc"; status = "disabled";