From patchwork Tue Dec 12 10:38:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 121507 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp3890773edb; Tue, 12 Dec 2017 02:38:38 -0800 (PST) X-Google-Smtp-Source: ACJfBouCQF/YNKDQUoJ2UChh0Dq+85oFXDsXwXEvoRNWs2gLd9FUqY7Zov54qJBZ8QPJ0B0bOXVC X-Received: by 10.84.233.207 with SMTP id m15mr1787479pln.424.1513075117960; Tue, 12 Dec 2017 02:38:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513075117; cv=none; d=google.com; s=arc-20160816; b=ufBrRm5qlYa4J65thtlMmZh/J6vfNMmN+GS4SPjXwIahq4XA5s3jOVdeX+OPvwzoi2 FV9flqXtQYwD6Ki/Wn4pojQdBRdOUHhabUy3/TpJ8LaR5bnnFGOSRfsth3Lxa3CV9ExT PF7X/nkWMNAfjT7H1+S5HRg26YlGoJ5hmYoxD9ZGth4m0ScV/I3E00MoW7XdbKYQHhzK nMqkjzo/cEsipN0X0QBDRkHALFdwmdPwj85BxjzHSZNWRmmbiQ2qiE2owW7KzOhN4ZEi I8U1EpBOfxo9lafivJXkB5ZYputa6K5NxqXc7zaiFqdUeUYR1qdH3pBFU5ptMDfiJaNd WmFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=IdEDwqIre1yyVLGsedg1BGGC/kzZgElrFHwgBe5FWRc=; b=QNVNe8Ajva4KskGiqlTw7ZHGvKamXMJ/N5t0ZoWLFnB0Y3sREYzimZ+sQP+qbTD/7d GQU6QoaPtq9LMBa9+1kPsKXJ8PHm26JP37iulzZKobIUsl+CRtPNRf7MRs0w9meuVkzv Q9SFGVADiwNnXw0Xo+p1ZIorB5DK9y9j0JsWoWQWpDi+YA37TsNBiGfPPICJBxZbk+/I 2+S3XJ9RFJ0uezftfKNRozoHrxg+XX/gLHvYwVlTLC/P1rzyvHzGvLYBo3YO2BRnY92i dRqkBEKONDFbZHOF++rJpBStJVgSUg1UJdljvxubV33GGo/DfUweMX+sOXgHNE3h1S6G IK6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZJfnLfkh; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id c11si12550130pfh.68.2017.12.12.02.38.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 02:38:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZJfnLfkh; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 04C90220EE118; Tue, 12 Dec 2017 02:33:56 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::242; helo=mail-wr0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 431A5220EE11C for ; Tue, 12 Dec 2017 02:33:54 -0800 (PST) Received: by mail-wr0-x242.google.com with SMTP id h1so20548045wre.12 for ; Tue, 12 Dec 2017 02:38:32 -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; bh=aeLXIMQSZpP7jzWMs6f6bdMBF8rFNik8hkTk1gyaN/w=; b=ZJfnLfkhmqvL6XVjl1r/ASMg+pkv8mWI2lTkvvqQ20HS4of13xtB4ulgB7LuulAa4G aGc+pbGQczfASUlrB0QVvAPZl+p6N9uB+yyJ6xQCqtfZNNLkwu8IySpgmr2OZn7gzf7q DdsR65nngns6UhQ0UyEbXwkIf2OAwkdxf7+xE= 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; bh=aeLXIMQSZpP7jzWMs6f6bdMBF8rFNik8hkTk1gyaN/w=; b=FnjQIPgev9LK6GQdPrp0mPvxfm681zbeBvlLaMsjL/sp6p2Pbxvih7WPZTOfYlgYqW 6ImthYViABoLNrvCQp+gHPj6LGcWIDGVlWrS6SgLBtQ8/QzuAVY6pSmN0CxPxntQoj5x EATFLw8SFtP9zam31hjsftKcqzgZltoF1gVvXOUbm4Eky7DqOWSoJiDag/lIvO4ZWIrH og7nZpKhj7BWX7gLuXS23kloGsl4NR8FBK6tefczl6oUSl2uBrCCdV7SwZIHtD8RwUrx YoSfMPtoE3I3xBdtdBAwtOZjSYbDVErhdwXvA0Lqh+IrlGY6vHAdnUxuOYvfR4O3iCUE SAgg== X-Gm-Message-State: AKGB3mJBXDsS3Aq7Uvv9ZTpsk/UDhULv4whSIvf0xNvy/I7Lcy1Il7YE 5F0I+cQqzw2jn0XVGIP7x20Zbui/Gx4= X-Received: by 10.223.154.43 with SMTP id z40mr3567269wrb.210.1513075111325; Tue, 12 Dec 2017 02:38:31 -0800 (PST) Received: from localhost.localdomain ([160.171.158.223]) by smtp.gmail.com with ESMTPSA id b16sm21279762wrd.69.2017.12.12.02.38.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 02:38:30 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 12 Dec 2017 10:38:06 +0000 Message-Id: <20171212103807.18836-8-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171212103807.18836-1-ard.biesheuvel@linaro.org> References: <20171212103807.18836-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms 7/8] Silicon/Socionext/SynQuacer/DeviceTree: expose SCP serial port to the OS X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Masahisa KOJIMA , daniel.thompson@linaro.org, masami.hiramatsu@linaro.org, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Masahisa KOJIMA In order to be able to use UART #0 on the DeveloperBox's 96boards low speed connector, expose it to the OS by adding a node to the device tree. This requires a CM3 firmware build that makes the SCP detach from the serial port after boot. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Masahisa KOJIMA Signed-off-by: Ard Biesheuvel --- Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi index c9fee5d1f350..37a3981f0360 100644 --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi @@ -440,6 +440,15 @@ clock-names = "uartclk", "apb_pclk"; }; + fuart: fuart@51040000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0x51040000 0x0 0x1000>; + interrupts = ; + clock-frequency = <62500000>; + reg-io-width = <4>; + reg-shift = <2>; + }; + clk_netsec: refclk125mhz { compatible = "fixed-clock"; clock-frequency = <125000000>;