From patchwork Mon Nov 19 17:09:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 151506 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2918621ljp; Mon, 19 Nov 2018 09:11:38 -0800 (PST) X-Google-Smtp-Source: AJdET5e3bjAITbHifQ/NyXvaWqxY8+8MCN4lYXJiYBPqbuQFbAPzjBBZAOW5EFoLYivCN9FA1lqN X-Received: by 2002:a17:902:bc4c:: with SMTP id t12mr22641562plz.45.1542647498003; Mon, 19 Nov 2018 09:11:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542647497; cv=none; d=google.com; s=arc-20160816; b=a5EBCW2UvYwLIdpIeh32lVWfLpA5OMFtgXrbeJB4cxkqZb58FQwrhATomRe3iaWRxC /5WsKS9VU5ysESjRuSspjdul8nt6M4cKxMQslEOfbUvHNwEbkbUWJejw4DXYwq40RehB TbeWkm0A2hPgtnnDNktyLqUdnSmEbjP4mSUH3RZ3atUz24efc3xRRX40VHJhiTfS0g7F U8kDTv/fHLksVVc5rypIk/rIA/ToywgwNEou8l0Gdemqr7H4jfFexot+U6WgkGBanmI3 z/qFVWUdN3br0HOb7+kQJ/eGqI8LEKfxX9gfUNFOv5Jf3OMp8J3ZW64DFv7GIJf7YcA4 5gCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lovS/nwfxXz2YQe0/HUnsKL9fcLTGfnOgEY8rFfiAyU=; b=zRyJ2O/NLa1yoacnXTKOvg8QSRIIDp+NRTAdbpaa7MmTc51B1+IIK3sN1POaNWHMzT XNgzFwcrcD9rIB2M32BjSnIdbmwB2oqqEosacRovZkzRG5Ce2+zqGInqMSAfO4gdBdYX jvDyjiLK/XbMzx+cXreWO/AAzkTh1onCdnxMYyxwWS/+IK4P1hnxGWLZ6PiehAG9dUDh HZLXs0icfnqqzHLHCWKVKDBpOkjFLrzbO56q1WClY0bJs/j3YzpOHMIq7Pl47SoEDw+r 0tSiYiCI/RPydpjPgNtr8p6V7h28BQ8MVFKg8Ghrco9VCXLSuh/YLAkU8xQuk1u6nRP3 F8KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CddQCmjc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si22067367pls.380.2018.11.19.09.11.32; Mon, 19 Nov 2018 09:11:37 -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; dkim=pass header.i=@linaro.org header.s=google header.b=CddQCmjc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407167AbeKTDft (ORCPT + 32 others); Mon, 19 Nov 2018 22:35:49 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:45352 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405982AbeKTDfs (ORCPT ); Mon, 19 Nov 2018 22:35:48 -0500 Received: by mail-pg1-f193.google.com with SMTP id y4so14099129pgc.12 for ; Mon, 19 Nov 2018 09:11:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lovS/nwfxXz2YQe0/HUnsKL9fcLTGfnOgEY8rFfiAyU=; b=CddQCmjcYAEaTSt498fRfW4QuqE5SMdherwu6BY/7EDDv0VSDQ9/LFXfnRby/YcqFs VLUMEtKHQv3+nbARCSpN68eXQKRN/O0Fsd2QXHuPAHbmmYesAnCKmNWr4+Wzc7bdYtVs FMWYNp7GKqEF+caL+ZtcQF407J3d9ntN+K9ac= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lovS/nwfxXz2YQe0/HUnsKL9fcLTGfnOgEY8rFfiAyU=; b=Go28RQEsL85AbMYWK3C4vqaVcr9QCNWHghFoGMeYcT4LfSeRrHdfIkV7vafGIhVq3j YCd9OH0mE6E7YckCLcwD9d05H4gI+h5xQUMEPl/e5+qqKWDekj6nkyaQV3Uv0N7JkEen opBjG9443pSt3tPgcP+4gVMFLuKkxi1wwD623pPpVKzw1ZFvF0jAohgQ0wqRJdDQcX7s xhBubh67C86aFQF/Tb3lYsha793RifUDKpYwXx9qxiC6XqqBBvDxIBXKniagqZpoOsuE zVWrfbUd+qhpyGT8pv0YhiC9Hi4meqyclXfxbSKKvPG2K30MKUQZ/EiRuiSZU/gXEsAN wM8g== X-Gm-Message-State: AGRZ1gKrq43XN6KVYJl4HFVSu5MlwoGqPyshHRmrstAVWNww5BXsglSg zfuf2d6qQAs8omjm1aa44DrG X-Received: by 2002:a62:e30d:: with SMTP id g13mr12105001pfh.151.1542647489171; Mon, 19 Nov 2018 09:11:29 -0800 (PST) Received: from localhost.localdomain ([2409:4072:631b:44eb:3905:6402:e2fb:2d7]) by smtp.gmail.com with ESMTPSA id 186-v6sm46175458pfe.39.2018.11.19.09.11.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Nov 2018 09:11:28 -0800 (PST) From: Manivannan Sadhasivam To: olof@lixom.net, arnd@arndb.de, robh+dt@kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, daniel.lezcano@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, zhao_steven@263.net, service@rdamicro.com, Manivannan Sadhasivam , =?utf-8?q?Andreas_F=C3=A4rber?= Subject: [PATCH 05/16] arm: dts: Add devicetree for OrangePi 2G IoT board Date: Mon, 19 Nov 2018 22:39:28 +0530 Message-Id: <20181119170939.19153-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181119170939.19153-1-manivannan.sadhasivam@linaro.org> References: <20181119170939.19153-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add initial devicetree support for OrangePi 2G IoT board from Xunlong. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/Makefile | 2 ++ .../boot/dts/rda8810pl-orangepi-2g-iot.dts | 35 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 arch/arm/boot/dts/rda8810pl-orangepi-2g-iot.dts -- 2.17.1 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b0e966d625b9..a0fdad8f10dd 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -806,6 +806,8 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8974-sony-xperia-castor.dtb \ qcom-msm8974-sony-xperia-honami.dtb \ qcom-mdm9615-wp8548-mangoh-green.dtb +dtb-$(CONFIG_ARCH_RDA) += \ + rda8810pl-orangepi-2g-iot.dtb dtb-$(CONFIG_ARCH_REALVIEW) += \ arm-realview-pb1176.dtb \ arm-realview-pb11mp.dtb \ diff --git a/arch/arm/boot/dts/rda8810pl-orangepi-2g-iot.dts b/arch/arm/boot/dts/rda8810pl-orangepi-2g-iot.dts new file mode 100644 index 000000000000..4b49a7424b6a --- /dev/null +++ b/arch/arm/boot/dts/rda8810pl-orangepi-2g-iot.dts @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2017 Andreas Färber + * Copyright (c) 2018 Manivannan Sadhasivam + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "rda8810pl.dtsi" + +/ { + compatible = "xunlong,orangepi-2g-iot", "rda,8810pl"; + model = "Orange Pi 2G-IoT"; + + chosen { + stdout-path = "serial2:921600n8"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; + + uart2_clk: uart2-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&uart2 { + status = "okay"; + clocks = <&uart2_clk>; +};