Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4930429imm; Tue, 16 Oct 2018 02:20:48 -0700 (PDT) X-Google-Smtp-Source: ACcGV63Emj0CALDnSzEyhdIBnnPKmLIBk/CG6RwHTrlLDfVdnQlMVW1DB855bfbxUboB5WqqXxqY X-Received: by 2002:a63:3642:: with SMTP id d63-v6mr19187355pga.404.1539681648507; Tue, 16 Oct 2018 02:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539681648; cv=none; d=google.com; s=arc-20160816; b=ARsQsVUeBjYvBnrMhmtz6wGtdI9xGrqBkVzFl/uCAqd6B9HYfhoGEXY4OFJA8MalT7 Iak93XUDHhtzgZ+F5xDueiyi+WQqPvA+1RvZwC24zewQIfrzNhHMYV1Bc0nTeLZdDch5 SfLqtGbgUNAyb6UbcPFXmLvZtax/mMLfZIKbwMAFc64r/zwRWrncIEvRF7S6v6N3IGFK MOePEQAKYpagFSCjwCjx4DfN4mPtBlHdEbmBxIGZ5zJuhfa1+gcMfzpKN8N5NgNLI4SR q+j6fWbg7xPEwY3vohO8L8gILGGy8nDBBWzzDeeEvfiXzLvRKtd6Ox1o1mhryJJHcrHD F3zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=860vLxkVxhEKftqxL6gSwDu2XkZtlv/wCvZfczyYkIw=; b=HogXL+thhA85Fb0HTJ6SFXdY77qq+Ef7hs4Dtk+eNMkzu2d5iGIamekDcMTPrtuqXD +9z5/mGublC/xq7st79suB0wnr6SPmVicUocX2wn2tFyAdumzpEgnBZPkmkDU71+crXt b8TJirOvvZqT3F7U5VIRBUJWmfWGeZvEEJRBJqhmlM9VStVBG6NEpgg37OgPtTxYUmcN V/cWH9G75z3BtGL2IO5lbVxPH9Bj+VWaqhaBG433Ym66Om3KVBDvpgR8ybVxeaTzuPih Mtpz/yKwq7z8ZeSm2rwJ/H2c+3tDCTuT1F4GPEhCvnGRyEYGqxezIuPU+KGIF3MlWkx+ aJgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10-v6si13067552pgb.458.2018.10.16.02.20.32; Tue, 16 Oct 2018 02:20:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727192AbeJPRJW (ORCPT + 99 others); Tue, 16 Oct 2018 13:09:22 -0400 Received: from mga05.intel.com ([192.55.52.43]:13325 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727128AbeJPRJU (ORCPT ); Tue, 16 Oct 2018 13:09:20 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2018 02:19:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,388,1534834800"; d="scan'208";a="97835676" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by fmsmga004.fm.intel.com with ESMTP; 16 Oct 2018 02:19:47 -0700 From: Songjun Wu To: yixin.zhu@linux.intel.com, chuanhua.lei@linux.intel.com, hauke.mehrtens@intel.com Cc: gregkh@linuxfoundation.org, paul.burton@mips.com, jslaby@suse.com, Songjun Wu , devicetree@vger.kernel.org, James Hogan , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Philippe Ombredanne , Rob Herring , Kate Stewart , Mark Rutland , Ralf Baechle Subject: [RESEND PATCH 02/14] MIPS: dts: Add aliases node for lantiq danube serial Date: Tue, 16 Oct 2018 17:19:03 +0800 Message-Id: <20181016091915.19909-3-songjun.wu@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181016091915.19909-1-songjun.wu@linux.intel.com> References: <20181016091915.19909-1-songjun.wu@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Previous implementation uses a hard-coded register value to check if the current serial entity is the console entity. Now the lantiq serial driver uses the aliases for the index of the serial port. The lantiq danube serial dts are updated with aliases to support this. Signed-off-by: Songjun Wu --- arch/mips/boot/dts/lantiq/danube.dtsi | 2 +- arch/mips/boot/dts/lantiq/easy50712.dts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/lantiq/danube.dtsi b/arch/mips/boot/dts/lantiq/danube.dtsi index 510be63c8bdf..73746d7577d7 100644 --- a/arch/mips/boot/dts/lantiq/danube.dtsi +++ b/arch/mips/boot/dts/lantiq/danube.dtsi @@ -74,7 +74,7 @@ reg = <0xe100a00 0x100>; }; - serial@e100c00 { + asc1: serial@e100c00 { compatible = "lantiq,asc"; reg = <0xe100c00 0x400>; interrupt-parent = <&icu0>; diff --git a/arch/mips/boot/dts/lantiq/easy50712.dts b/arch/mips/boot/dts/lantiq/easy50712.dts index 1ce20b7d05cb..452860ca1868 100644 --- a/arch/mips/boot/dts/lantiq/easy50712.dts +++ b/arch/mips/boot/dts/lantiq/easy50712.dts @@ -4,6 +4,10 @@ /include/ "danube.dtsi" / { + aliases { + serial0 = &asc1; + }; + chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; }; -- 2.11.0