Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4917941imm; Mon, 11 Jun 2018 22:42:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJC0H1qq1dz+d+CbfLJArpMfa0z4/fR4qq9EbGW7iXWAfTWGPdSp8MPPYT/f6mJ353czfC+ X-Received: by 2002:a62:930c:: with SMTP id b12-v6mr2259847pfe.193.1528782172887; Mon, 11 Jun 2018 22:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528782172; cv=none; d=google.com; s=arc-20160816; b=GOsxenQ3pWNKuKW8V5PG15rJlC4ueCV07VvXlRsrXiA0syhHbRQoGQL6IIM6l4uhGU X1JTzQfEwn/QZ2nZfCM/V+aLX2CvbvLj64+vvRH8TBy0YyC+nPWJxTB2XX5dJ85/jd2P 2elK8zNvh4s6juCuw7iDVzkXZCe3To4bL5m9PtdGZvx3lLEemuDLbScSXgUPYC3rEgis oT7zP2Akeo3489TB1ZnWRMBqu3FCpAtBXQUvKdYa2UotNhE7gUkgnCVDJSzzc+DkT6AD htHXqMV3cHkVADUr23HC7NtBAiWB0edh4R/BMjT2uHSiZyvYr4v2rDwJ8jZcCb/6+P5l VvPQ== 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:arc-authentication-results; bh=ObY/4x9iEAvjR5ZRR4RUmZbtK7L8W0Sf+SL6MM9OeOk=; b=O41NRbY19TZu6jDc9brZCr96GTMQWJbo6vt1Sp7LmzM7MnIpt2MnaejUAdqhlSYjk1 fMFfQOa/9i09VBlDtxqqfM+Tib7H3GVZSrL+OcJbcuVaPX/8eugsp3YvYQwvKENh+9LX L3lD0Gm6UQ4hWOAB5NrNaMIBARGwaP8Dp+/RKojjpFRySrncggUhmIFra8azRfbwASCI KajxWjGVb5N8S0EdhX5fwNs4DzqvlybN+6bnhNTlu9MiS+J0FxCBEpHrCSdanTbroWxI kI4mwT3QTAVvhsu3mT/l1coyaqwDCBwdjKzv1fBrZ5endFrl5Pvl2TdUVfUHJaM61iqK drkQ== 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 124-v6si51261pgi.425.2018.06.11.22.42.38; Mon, 11 Jun 2018 22:42:52 -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 S933183AbeFLFlM (ORCPT + 99 others); Tue, 12 Jun 2018 01:41:12 -0400 Received: from mga07.intel.com ([134.134.136.100]:62696 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932619AbeFLFlJ (ORCPT ); Tue, 12 Jun 2018 01:41:09 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2018 22:41:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,213,1526367600"; d="scan'208";a="49163676" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by orsmga006.jf.intel.com with ESMTP; 11 Jun 2018 22:41:04 -0700 From: Songjun Wu To: hua.ma@linux.intel.com, yixin.zhu@linux.intel.com, chuanhua.lei@intel.com Cc: linux-mips@linux-mips.org, qi-ming.wu@intel.com, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, Songjun Wu , James Hogan , linux-kernel@vger.kernel.org, Thomas Gleixner , Philippe Ombredanne , Rob Herring , Kate Stewart , Greg Kroah-Hartman , Mark Rutland , Ralf Baechle Subject: [PATCH 1/7] MIPS: dts: Add aliases node for lantiq danube serial Date: Tue, 12 Jun 2018 13:40:28 +0800 Message-Id: <20180612054034.4969-2-songjun.wu@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180612054034.4969-1-songjun.wu@linux.intel.com> References: <20180612054034.4969-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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/lantiq/danube.dtsi b/arch/mips/boot/dts/lantiq/danube.dtsi index 2dd950181f8a..7a9e15da6bd0 100644 --- a/arch/mips/boot/dts/lantiq/danube.dtsi +++ b/arch/mips/boot/dts/lantiq/danube.dtsi @@ -4,6 +4,10 @@ #size-cells = <1>; compatible = "lantiq,xway", "lantiq,danube"; + aliases { + serial0 = &asc1; + }; + cpus { cpu@0 { compatible = "mips,mips24Kc"; @@ -74,7 +78,7 @@ reg = <0xE100A00 0x100>; }; - serial@E100C00 { + asc1: serial@E100C00 { compatible = "lantiq,asc"; reg = <0xE100C00 0x400>; interrupt-parent = <&icu0>; -- 2.11.0