From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: ACJfBotHfRB/c8+kXYg0lsr2dPeOW+7fy9DUUkO/+aGMoYxwwJnIMAytDMABFr2gGnKXymaaJT/NSw== 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 Cc: leif.lindholm@linaro.org, daniel.thompson@linaro.org, masami.hiramatsu@linaro.org, Masahisa KOJIMA , Ard Biesheuvel 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: [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: , X-List-Received-Date: Tue, 12 Dec 2017 10:33:54 -0000 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(+) 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>; -- 2.11.0