From patchwork Tue Nov 6 11:25:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Leroy X-Patchwork-Id: 993627 X-Patchwork-Delegate: trini@ti.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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=c-s.fr Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42q6kq3fKwz9sDL for ; Tue, 6 Nov 2018 22:29:07 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 32E89C22711; Tue, 6 Nov 2018 11:27:45 +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 0F5D4C22740; Tue, 6 Nov 2018 11:26:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3DFC9C22747; Tue, 6 Nov 2018 11:25:54 +0000 (UTC) Received: from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30]) by lists.denx.de (Postfix) with ESMTPS id BF1D2C22712 for ; Tue, 6 Nov 2018 11:25:50 +0000 (UTC) Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 42q6g065STz9ttfx; Tue, 6 Nov 2018 12:25:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id JiilQeDn_SP6; Tue, 6 Nov 2018 12:25:48 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 42q6g05Rdtz9ttfp; Tue, 6 Nov 2018 12:25:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id A86518B7B5; Tue, 6 Nov 2018 12:25:45 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id yGGBBlKob53z; Tue, 6 Nov 2018 12:25:45 +0100 (CET) Received: from pc13168vm.idsi0.si.c-s.fr (unknown [192.168.232.3]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 83A808B7B3; Tue, 6 Nov 2018 12:25:45 +0100 (CET) Received: by pc13168vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 5329B69943; Tue, 6 Nov 2018 11:25:45 +0000 (UTC) Message-Id: <5efa18c849c56e412b8eb46613a62c3f0c97c9bc.1541455253.git.christophe.leroy@c-s.fr> In-Reply-To: <06f77f529e91ca377c0335a74554d2b6b36dbaa6.1541455253.git.christophe.leroy@c-s.fr> References: <06f77f529e91ca377c0335a74554d2b6b36dbaa6.1541455253.git.christophe.leroy@c-s.fr> From: Christophe Leroy To: Jagan Teki Date: Tue, 6 Nov 2018 11:25:45 +0000 (UTC) Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 6/9] board: MCR3000: migrate to DM_SERIAL 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" Signed-off-by: Christophe Leroy --- arch/powerpc/dts/mcr3000.dts | 7 +++++++ configs/MCR3000_defconfig | 1 + 2 files changed, 8 insertions(+) diff --git a/arch/powerpc/dts/mcr3000.dts b/arch/powerpc/dts/mcr3000.dts index ef423d73c20..5abf111dc5f 100644 --- a/arch/powerpc/dts/mcr3000.dts +++ b/arch/powerpc/dts/mcr3000.dts @@ -12,4 +12,11 @@ WDT: watchdog@0 { compatible = "fsl,pq1-wdt"; }; + SERIAL: smc@0 { + compatible = "fsl,pq1-smc"; + }; + + chosen { + stdout-path = &SERIAL; + }; }; diff --git a/configs/MCR3000_defconfig b/configs/MCR3000_defconfig index 2e79425bdbc..33c6073648d 100644 --- a/configs/MCR3000_defconfig +++ b/configs/MCR3000_defconfig @@ -79,3 +79,4 @@ CONFIG_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="mcr3000" CONFIG_WDT=y CONFIG_WDT_MPC8xx=y +CONFIG_DM_SERIAL=y