From patchwork Fri Nov 10 14:21:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 118560 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp2259883edl; Fri, 10 Nov 2017 06:23:58 -0800 (PST) X-Google-Smtp-Source: AGs4zMZbYhCbI2b5eopH01d/RmcX0rOnfD3OuzK0sQdOULBeY27uXTOhZUbXAX81uVN/dvLmKawp X-Received: by 10.99.189.18 with SMTP id a18mr522009pgf.168.1510323838538; Fri, 10 Nov 2017 06:23:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510323838; cv=none; d=google.com; s=arc-20160816; b=RBf9KXoGIQA/cFopoFn179bCz6oXD2WDeYF2hn/b//VVay6ApuKGWeiBp/jXllm4M8 2AqmDp5Z9Rhf1FY9rLn4eJCUfXCoNdIQXIGGA2Ofvj5ODwljOGlHM4QroOLBVHxkyjA1 44f1wRcNQYjd4pRO9E23mUs7j+ccFmeRAmGpJqSNjQy2XKIVYnM+0TSIFfG5svHijxQD +5E0Aq/DZuKihJ9G9uYkxrtKjw0Z/5s6+FKGVvNZ+3dZt5bzFJff3DmgH6Or3mfbH7Oo D2v6fZwW9jC4Nv82nS0/EwR7r31jS1BYw+AXXstF9jdyEOfpOyCSdp78z79S8BR5IEb+ oEkw== 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=OmvsrIAkIgjqm83/XLSoGUSEti/sUCflZqGj4RbghiY=; b=pWoxSraXb00NCzgAe/PaFYc2L5W6CVkaD7ntUoDu0Cd+929kW6eg0r8lmnr6W/hGLb 4/kb6uyt9pkmQmTGZlalLm6R2RfxBAHNMDlYV2eVFyQ1WSB4cVF+uvFbZ4J9+KvsEvpO T7sI6KZaTTpF4opxzjD13kpmbuC2cOXM5N+3AmXkp4qaZ3x/XhM1YR3YI1+ukAjSK6cC kLYHQtxCei/wGtOiN1D2kZ7FFgYHufXzgLiMCpGDdM4Ic1c3gqLqoEYdGbzkYQdUlNQV Jug0WlvVJ+Kgqw0DLcwSumRhE95Y4Nn4edoNE4I/JbTWs92hHk/x6Hxir+xowkGoSyMU NLzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ji0p192s; 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 129si8529437pgi.726.2017.11.10.06.23.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Nov 2017 06:23:58 -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=ji0p192s; 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 669722035522E; Fri, 10 Nov 2017 06:18:55 -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:c09::242; helo=mail-wm0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::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 37E622035521F for ; Fri, 10 Nov 2017 06:18:53 -0800 (PST) Received: by mail-wm0-x242.google.com with SMTP id r68so6058157wmr.0 for ; Fri, 10 Nov 2017 06:22:56 -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=2j6jrZsJ+Me82rmvZCrCaGtWmj08YhcSV+W4KHRzXUs=; b=ji0p192sp+o+ybBrXFzV8mdZmEGCZA20tuHuuwT6EA8V3hc6jY8HrLrwt84SDZgRba vndip7Dece9x3DxA8jeUU7TUmS9mGScgjphXV3/eIISKhgUV7xzgPfZ8RA2mxU3hr4D9 xVTr5rcbAzFJvZYL+lWR2GS9HFHD32dH0CBiY= 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=2j6jrZsJ+Me82rmvZCrCaGtWmj08YhcSV+W4KHRzXUs=; b=YOFZ3Eilap2afoIXkjxeH/ieBqmN5udyIhcohq5p7bHV1NxyNL1tQD2eOAZY0Y3VQr SjrHs++FULhjdBTI9eSw0pJD8iJlc4WfpkneB9EsvdmjJbgE0d1zoRpAlwEAkNatThcD frNnl10GtQ/IuN3UrRb7LpHO9mDsPWj7o9KDYrXBAXF/iRqXt+ovsaV5wQWBoygasPaL hqchv0J5ydP4ZbrLbg8rBYvITJ/sTkRnxtTtJEP9CN5SVRrkRd3v+VhhKjiJfzoRW8en 9DAEUFoY5zfkpwE7maGGKS5C3pNUZ75uAU8D39hXpioIq3trLjiUOPcyPW4bSYZvbT/s MUYA== X-Gm-Message-State: AJaThX6S1Ho5Z4lbnby6IRyjkwjorIPmMUJPkRG7Zg0IqsUPt/Jpk3hr fvvgXYQGJ+DVoOt4Vq+UxEUfnC53Ne8= X-Received: by 10.28.60.68 with SMTP id j65mr368848wma.16.1510323774674; Fri, 10 Nov 2017 06:22:54 -0800 (PST) Received: from localhost.localdomain ([160.167.170.128]) by smtp.gmail.com with ESMTPSA id e131sm1036477wmg.15.2017.11.10.06.22.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Nov 2017 06:22:53 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, daniel.thompson@linaro.org Date: Fri, 10 Nov 2017 14:21:19 +0000 Message-Id: <20171110142127.12018-27-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171110142127.12018-1-ard.biesheuvel@linaro.org> References: <20171110142127.12018-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms v4 26/34] Silicon/SynQuacer: add DT description of the SDHCI controller 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@linaro.org, masami.hiramatsu@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Describe the SynQuacer SoC's eMMC controller in DT so the OS can attach to it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi index e72db377bc39..cf06acc75297 100644 --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi @@ -532,4 +532,30 @@ #interrupt-cells = <3>; socionext,spi-base = <112>; }; + + clk_alw_b_0: bclk200 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <200000000>; + clock-output-names = "sd_bclk"; + }; + + clk_alw_c_0: sd4clk800 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <800000000>; + clock-output-names = "sd_sd4clk"; + }; + + sdhci@52300000 { + compatible = "socionext,synquacer-sdhci", "fujitsu,mb86s70-sdhci-3.0"; + reg = <0 0x52300000 0x0 0x1000>; + interrupts = , + ; + bus-width = <8>; + cap-mmc-highspeed; + fujitsu,cmd-dat-delay-select; + clocks = <&clk_alw_c_0 &clk_alw_b_0>; + clock-names = "core", "iface"; + }; };