Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2382008imm; Mon, 24 Sep 2018 03:29:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV62BRnTHmhbbY1Caj14zuuZKMi0BFhP8IaurI7SJnmJdR8ZtRhBTy3Ykme3t3A9NusQzIEjw X-Received: by 2002:a17:902:20c6:: with SMTP id v6-v6mr10205647plg.228.1537784976158; Mon, 24 Sep 2018 03:29:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537784976; cv=none; d=google.com; s=arc-20160816; b=lB1s9UGP6d7475OR8687Ht6Pp6LqRw3bvCA8Y7ujn+u24lxiEiTAuy0+rSNnW65+xP JfdT5P8joYHDg958XdBGEF1I2LUycEDyIFYGPc424PxZd9f/SdHpdulMdtG3rLXYG8Vy Iq/KlttNGmkhiS5P2IPP6w9Bg3daC9VqdwG6vxQPOqQvaPrrApYmrI1TNEGEGcPhEAbW CIfjV6o8P4bCalikqGOwbEVKepZ6ZjzG/IuSlBOevTPCUNu4FROFkFBBLzipBLe5sHUr OrEgXg8hjPjZwd83cd+TdA5fHF+QeyABUoueKSocA6QZMCare6hYuixEmFsp6tuziJ1h YmiQ== 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=qyXlkUkdsI2eR66zasLHsTahAiHLbwXmiqQuKzQ1SuKe83G3QA/IVzcZvkoZ6zwraH 4E3hk+kfrt0Zm8fqo1YQObmcWbU/68urErUil6eX3AgKLfuql+BiVzpsC6nVWNs7+NPG UF57WEaTYwKoWYqMK2ITbArBHEKgxUP05gzjZYZH+W0m0FRwdYFU2VQV/RQvta4ISnRv PZueLUyMXyuksI0o9GHzaueHcgVgTUF3ukUi1j0FreD2MWCcKOtmnpJnHHbs+3z2KCTE ev1rKIquSwiCt7HxxhLogyxBf75vMQM2rfl4aj9n9yxa4OXkYIBryxiPaFEA0uPuRekO dJuQ== 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 y125-v6si975117pgb.14.2018.09.24.03.29.20; Mon, 24 Sep 2018 03:29:36 -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 S1728264AbeIXQ36 (ORCPT + 99 others); Mon, 24 Sep 2018 12:29:58 -0400 Received: from mga06.intel.com ([134.134.136.31]:16268 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728147AbeIXQ36 (ORCPT ); Mon, 24 Sep 2018 12:29:58 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 03:28:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,297,1534834800"; d="scan'208";a="265192400" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by fmsmga005.fm.intel.com with ESMTP; 24 Sep 2018 03:28:31 -0700 From: Songjun Wu To: yixin.zhu@linux.intel.com, chuanhua.lei@linux.intel.com, hauke.mehrtens@intel.com Cc: Songjun Wu , devicetree@vger.kernel.org, James Hogan , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Philippe Ombredanne , Paul Burton , Rob Herring , Kate Stewart , Greg Kroah-Hartman , Mark Rutland , Ralf Baechle Subject: [PATCH 02/14] MIPS: dts: Add aliases node for lantiq danube serial Date: Mon, 24 Sep 2018 18:27:51 +0800 Message-Id: <20180924102803.30263-3-songjun.wu@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180924102803.30263-1-songjun.wu@linux.intel.com> References: <20180924102803.30263-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