Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1775435imu; Wed, 21 Nov 2018 01:36:23 -0800 (PST) X-Google-Smtp-Source: AJdET5e97Nwf0e7UwSsMggZ1V8a+KvHyHKI5dhD9QALcR/JzboKqWl3D14f83Djk8Y3nCAPM+331 X-Received: by 2002:a62:868b:: with SMTP id x133mr6328262pfd.252.1542792983562; Wed, 21 Nov 2018 01:36:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542792983; cv=none; d=google.com; s=arc-20160816; b=ekEqXKxz6uAlzsv2xGM5HhEvzzibx93I+CimXZgpZKb1cQEIz5kqTGyxSwiOpD70z8 Sv/nlLCYZresh0Ndfcajm+BfJV+vjnrsdlkeNPpAcfEes4bg/cIH4cAQHh9PKhGQ3GDX EXvbK4LqlgmgCd6VBUtlz5qApmtiqz/gMB2kA1oOjQOzjtv/1bn0exahN9hKT2oZCYzL 6A+lwFqGl+CFpoXvKzud4y8iAspeT6gAHDdcn8q9mwmANRuktt6mgrPDgomL4NEVWuI3 ik/Qgo3e7o0gg/bkK9N1IHRDkVzBTS+69bvB70kPsdqOyrH8ss+BGGV+3hIcT+JiMspb t6DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=yDNJDsv5DFARE2AQajO9d1KNBipsynWMQ/LRfkr8aSI=; b=l4mRGZzAL24Ws9UCbwkLHBbnvA/1zzpR6GOA08chaweyf3jf+WprCT7qk2um5Evc/z MFDLJ1I6Rkj5TDa1Yxqmk8hVt5KO1XG6oASzXhEEwuJT/WAFfCzFSVmjfk+tjic1qVcQ nA+qHvgIQbluitCtY08OckuvGillHQVwmzZwQvc4Ddplb6zEmWqqIE7vp4GeSwUHzE4y fT/+Wa7MYE1arwyOO/o29tBmWHC2O5O1osjiSJgYbVLaiIM9vbRXpFLxmai9ru/gJ5Q9 6e8O9r82oAS0fhypjcwn8JFuW6TanxN/koyBa8QWR3uArdZZyKhavHLe9kDrEZe37cab QkfA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e15si43356140pgg.281.2018.11.21.01.36.08; Wed, 21 Nov 2018 01:36:23 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729022AbeKUT3N (ORCPT + 99 others); Wed, 21 Nov 2018 14:29:13 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:38692 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726165AbeKUT3N (ORCPT ); Wed, 21 Nov 2018 14:29:13 -0500 Received: by mail-qk1-f193.google.com with SMTP id d19so4428693qkg.5; Wed, 21 Nov 2018 00:55:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yDNJDsv5DFARE2AQajO9d1KNBipsynWMQ/LRfkr8aSI=; b=hRyud6LqG7yXuemGauePgTvpiwnraBbk8UrRfHAwr1zrZj+JV/blXwIyh6idI9pZuG 3LxmxFiNcLP/NCgoopTb3Sr1+PIag32lBcuq0NnhveRZp1tJxKNGY41ymy0jji7JoNpD tVdkpAT8vshTsCeK//jyN1b2HhonTLkqtRURKqMRfQ7Z3C52/CHbFL1ht92eaIT2uCaA 1WC3Z7RbDvkGaqYWJQzt9Z6GDaQgVQw1tcYMxdtrArJPwWFe57Ctv4hj1pdxDaMU82iw jZh8M1jSEJHkYOfD0qE2GeObjMj4AwIxOnM0VpPnEzKv4iOGwWe9jqsc/GH9PlwqEup+ 3OJw== X-Gm-Message-State: AA+aEWbUSgPQ9x60nG8zici67Jj8gVwpK6JnJ5PStnbtLbDL7ZXG8b94 x9EEVAlZfpqNJQCvW8dfzZapo7MvLbW31lRJqy0= X-Received: by 2002:a37:324a:: with SMTP id y71mr4732486qky.291.1542790534468; Wed, 21 Nov 2018 00:55:34 -0800 (PST) MIME-Version: 1.0 References: <20181121033652.12247-1-manivannan.sadhasivam@linaro.org> <20181121033652.12247-7-manivannan.sadhasivam@linaro.org> In-Reply-To: <20181121033652.12247-7-manivannan.sadhasivam@linaro.org> From: Arnd Bergmann Date: Wed, 21 Nov 2018 09:55:18 +0100 Message-ID: Subject: Re: [PATCH v2 06/15] arm: dts: Add devicetree for OrangePi 2G IoT board To: Manivannan Sadhasivam Cc: Olof Johansson , Rob Herring , Thomas Gleixner , Jason Cooper , Marc Zyngier , Daniel Lezcano , gregkh , Jiri Slaby , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Linux ARM , Linux Kernel Mailing List , DTML , linux-serial@vger.kernel.org, Amit Kucheria , Linus Walleij , zhao_steven@263.net, overseas.sales@unisoc.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 21, 2018 at 4:38 AM Manivannan Sadhasivam wrote: > + aliases { > + serial0 = &uart0; > + serial1 = &uart1; > + serial2 = &uart2; > + }; > + > +&uart2 { > + status = "okay"; > + clocks = <&uart2_clk>; > +}; This is clearly mismatched here: you mark only one uart as 'enabled, but list three of them as aliases. Having 'serial0' point to a disabled uart may easily break applications that expect the first one to be the console. Best make that serial0 = &uart2; and drop the other ones if only one of them is exposed on the board. If all three are usable, you should enable them all here, and make sure that the numbering of the aliases matches the labels on the board or its documentation. Arnd