From patchwork Thu Jan 10 08:08:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 155123 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1617824jaa; Thu, 10 Jan 2019 00:08:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Lk2ERshukuM0druBYGPIJGCkSTFLDdi3qJRI4Yvy/V/f+W3jSYOGyTot7cPDTPGHlUi8t X-Received: by 2002:a62:1d4c:: with SMTP id d73mr9348446pfd.90.1547107720541; Thu, 10 Jan 2019 00:08:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547107720; cv=none; d=google.com; s=arc-20160816; b=G8ED6hWHZYoVYaW3NwFz8WK/94HppNoUYGXQG8GTsD3M/pJIdeK2xj6KUya0XecyvJ Xyl2eKWnHhhf22KTOLF1NoBB6f8vxp/f004cLne1zC/4bhE0SwFoIjr7FInT+bpYqx4Z 5nwIMDi5xhP732/JVA9C+/oX096w5n87sUpUf70+mRnIB/ygh3OoURZVPBHnILcxVWP+ xT960XpY9geg6V4NDFyUp9fXdqJ4+febflyAc4EPzlCK2yANPGVWCVgoD24LND81ZP/t 1RMzX90yU3tkPK3uJk6H2/3DsLUyx6U0AQ9ht3PgQjllhi33OWeusxhE9+qqIMztKHp+ DBxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=bR0eeytQfv+glll7aoQHEqu8NdP2ZbsHgif8yrcXd+8=; b=ScUlPeHamFdllWXD4N1frsJGzFrzolRfFnfX+F0+11bCq6sS8y3LFb4Y1uguHoSbe3 r/WphlvR4M6W8BmyHEuZcAZZXZn2nYGjQpF8laorSdym6ugSJHKBTRUsAXN5VldfT9Du 43Ah+0LoliqtfScJo7w6Z1T3jw+3nb1HfXR8HNmLdZ4D5k3biVef6XCasD13ei4OLXxV HC1cx/1R7NEVM5F2jrSRLJheOoPa0+C4jdgFz9HLZLKw84BgN0tex6RN756GQG5jY1F4 wH6UGFNZYcqPNXR0sYkWGEmlr2aue8UEuQx7mq0CqlwKM6UJ2GRdX9c8oNICOm1cqTS0 /CTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hhxFSz/9"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 t13si22639840pgm.175.2019.01.10.00.08.40; Thu, 10 Jan 2019 00:08:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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="hhxFSz/9"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727744AbfAJIIj (ORCPT + 7 others); Thu, 10 Jan 2019 03:08:39 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43973 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727742AbfAJIIj (ORCPT ); Thu, 10 Jan 2019 03:08:39 -0500 Received: by mail-pg1-f194.google.com with SMTP id v28so4509232pgk.10 for ; Thu, 10 Jan 2019 00:08:39 -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=bR0eeytQfv+glll7aoQHEqu8NdP2ZbsHgif8yrcXd+8=; b=hhxFSz/9yhJlDxwLfGoVRZRbWxzm7XPUcdTCV8qqkR291nrod6TNYNGIeOiLB76kI6 2RcV/+FlwBIf7rPQngKDpNSieP/fe1J51pJGchptJZf5XKwaf6WCbPDdM0B7YF2XMggV Zj3+0j2+6Yp0QMxosahoGiHtpKntr4AfZsFRQ= 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=bR0eeytQfv+glll7aoQHEqu8NdP2ZbsHgif8yrcXd+8=; b=Mnp4EA+4aZv7intiUKLi+DXGKFgcIVjGuuwL8f+w4ntfylAf4+4Cyh3aIpUn/Eeniy XPKovn6xmpipk712/WecAcklaNNa6xYOuv1kJ0vEmajGwH0CfzdOpVNNQdi20cNmUnjC YSmZuz93N8dxSP9KxjgNaVZcLuBYXZOhkjpWQbCwCrCH4Gr2lxVYOhgxsaHmFXC9S0Tc wlMvZm5bv2rVhBdnkNhrX5Kt4jkdyNA/ivx7eAe+LaRM4JOf3W+2QMuuR6hrvnDF+yyW R6D8eChTXCzB9HxrA5/0AQR/ZRmc+tSDGuwQ/1+iDHTXHYez6n7QlW+kDRUxZgIEySCw ZcaQ== X-Gm-Message-State: AJcUukdavNWwuoKnu2ux0taimGlvh19tT52Ez8H+l6Ei+RuHEXXmxP4l 09LuojpjJcXOeh4CtWQ0SOiD X-Received: by 2002:a63:e615:: with SMTP id g21mr8627413pgh.290.1547107718782; Thu, 10 Jan 2019 00:08:38 -0800 (PST) Received: from localhost.localdomain ([2409:4072:89d:654d:749c:afde:a8a6:224d]) by smtp.gmail.com with ESMTPSA id w23sm27401007pgc.72.2019.01.10.00.08.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jan 2019 00:08:38 -0800 (PST) From: Manivannan Sadhasivam To: shawnguo@kernel.org, leoyang.li@nxp.com, robh+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, a.tropschug@ebs-systart.com, m.bittner@ebs-systart.com, amit.kucheria@linaro.org, Manivannan Sadhasivam Subject: [PATCH 1/3] dt-bindings: vendor-prefixes: Add EBS-SYSTART GmbH Vendor Prefix Date: Thu, 10 Jan 2019 13:38:19 +0530 Message-Id: <20190110080821.30280-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190110080821.30280-1-manivannan.sadhasivam@linaro.org> References: <20190110080821.30280-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add vendor prefix for EBS-SYSTART GmbH. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 389508584f48..27a3da1e3a54 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -383,6 +383,7 @@ SUNW Sun Microsystems, Inc swir Sierra Wireless syna Synaptics Inc. synology Synology, Inc. +ebs-systart EBS-SYSTART GmbH tbs TBS Technologies tbs-biometrics Touchless Biometric Systems AG tcg Trusted Computing Group From patchwork Thu Jan 10 08:08:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 155125 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1618056jaa; Thu, 10 Jan 2019 00:08:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN57u1B/1Dvsfn+tOaQg51zC4ADJCw4tv2+bvMccDpgCgxXNQeZbDVrfCCwwGICrGV+1DjDB X-Received: by 2002:a62:4587:: with SMTP id n7mr9156761pfi.118.1547107733048; Thu, 10 Jan 2019 00:08:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547107733; cv=none; d=google.com; s=arc-20160816; b=0qrn4iRxRNWbO4V5G8MVkPvs3AwvnfZbvKUwAJEzNhuRk55nUSvuKqZd9UoAIt/Q7Y s2JIJt6asdv2djPcWe6+CyA6/qB40eP3tU39+S/MQPPIDrUstO+QEHYONyviBSDyGa44 ptV/gXIcdVE2EuIgw6/Bk2x+mlHUJSHyGF1d6bSxMmy0ve5R12uwOHJY5EMlwUfgF0Bp g+dePlvy7cGeoj8354Pr6ntxh/VPu6NnOO4xke6MxTOM0b5JTHCm4U8Kpem9Ag4bCzKX UD6VhhabZ1b4lwVqkhaFPo4l/7EAuuQ32OSCekE1viG514SSGsAiVbdGaoCif4rantS8 c6OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=SRHhc+5Wq5F+eOh1TPssYo4IwZz8sRcNierx3amv9Og=; b=dXzxV9Jg3n70AlWbpfeIx/PkAELQASN3rcdcdtvB056uCA6ctN9fAnI0N5g0cgAKS/ 7GiVgRa1gwzLbpiGqVFBxUqfc74bYpjHVlZAV6/TIp0GoddyZfBtAHROfYypbPfLHOLH uiHPFdg0TIWZj7uKNUSi1os46MCaX34u+kokwQ+LLq0MJF5JwMfd0HBvQRUWzXB7BPTW cBKBc+6Sy/Z4xobZeezdgnt1j7Hd065BipCdpcae6DnbX8Z3easHrg5F4jYt/UWJKiGw ysNLbWYWehVsVp9qkQgBZPdMEP1jz0yM7i2g8jF+d3N1dgzrEgbvSXmKJ3ZwUxlTP2oH fKyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Yy3ZX90W; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 4si3703138pff.161.2019.01.10.00.08.52; Thu, 10 Jan 2019 00:08:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=Yy3ZX90W; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727788AbfAJIIw (ORCPT + 7 others); Thu, 10 Jan 2019 03:08:52 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:43802 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726605AbfAJIIv (ORCPT ); Thu, 10 Jan 2019 03:08:51 -0500 Received: by mail-pl1-f195.google.com with SMTP id gn14so4851446plb.10 for ; Thu, 10 Jan 2019 00:08:51 -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=SRHhc+5Wq5F+eOh1TPssYo4IwZz8sRcNierx3amv9Og=; b=Yy3ZX90Ww1M0ZpN7QdbvokfQemmR4c9FNcWuHaCR/YrkQ/U6SPJUmQujSqzyTCYeM6 o2KbANzkrjSut0WmrqXq+GAMXSM+8Ry2dBPoKbdFTMh11Gm6I4fFfuQkzYVfVb2esQMz GjpNqhiDaAE7GED3jXPeQwN9c/163hIW+dlTA= 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=SRHhc+5Wq5F+eOh1TPssYo4IwZz8sRcNierx3amv9Og=; b=MQOEJ5Pe3OYXgjAa2FY8Uj9F0V5er4s2U/1hQ4zzQgO9rhbeAWk0KtwexAgJLi6Q8l +AFm3TvAAX/S0vVcCSaMwajzFrOhiEFzK+VUUaBeJmod/1j31Mm8mHyaI1zIGySNun0t TarRaEFLzXvetiFEvPyqdqqCJvR4p37blrVH7a7UhzUxuosXRlkoZDke3GZQV39uuSk+ OSyIBwr3Q4dPGPvnp8r4FLNqEMJzzcGFbrDTwGhXNuzdLg5yQ+PsskTeDvM6VSv3Itsp tmhnYZUv+FXwqgW/hB6rHum5/8HotJ9wuyZj/5L+igrKogFQNJFlDSmNJb4Fp0+sV0fM UhAw== X-Gm-Message-State: AJcUukdgQUQFKeBL/RNu+p+L9kWdbmmR0TUAUHGKlVmex1DqiOequDzJ N9QS2UdrpolG3a8hgnYyyxmt X-Received: by 2002:a17:902:d911:: with SMTP id c17mr9619883plz.151.1547107731095; Thu, 10 Jan 2019 00:08:51 -0800 (PST) Received: from localhost.localdomain ([2409:4072:89d:654d:749c:afde:a8a6:224d]) by smtp.gmail.com with ESMTPSA id w23sm27401007pgc.72.2019.01.10.00.08.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jan 2019 00:08:50 -0800 (PST) From: Manivannan Sadhasivam To: shawnguo@kernel.org, leoyang.li@nxp.com, robh+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, a.tropschug@ebs-systart.com, m.bittner@ebs-systart.com, amit.kucheria@linaro.org, Manivannan Sadhasivam Subject: [PATCH 3/3] arm64: dts: freescale: Add devicetree for Oxalis Date: Thu, 10 Jan 2019 13:38:21 +0530 Message-Id: <20190110080821.30280-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190110080821.30280-1-manivannan.sadhasivam@linaro.org> References: <20190110080821.30280-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add devicetree support for Oxalis SoM board from EBS-SYSTART. This board is one of the 96Boards Enterprise Edition platform. Below are some of the key features of this board: * SoC: NXP Layerscape LS1012A * RAM: 1GB DDR3L * PMU: NXP VR5100 * Storage: 64MByte SPI Flash for bootloader and RCW, MicroSD Card, SATA * Connectivity: 2x Ethernet * USB: 2x USB3.0 More information about this board can be found in 96Boards product page: https://www.96boards.org/product/oxalis/ Ethernet and SPI flash are not supported yet! Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/freescale/Makefile | 1 + .../boot/dts/freescale/fsl-ls1012a-oxalis.dts | 96 +++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1012a-oxalis.dts -- 2.17.1 diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index f9be2426f83c..d8152cc06b3f 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frdm.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frwy.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-oxalis.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-qds.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-rdb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds.dtb diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-oxalis.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-oxalis.dts new file mode 100644 index 000000000000..760a3e258c96 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-oxalis.dts @@ -0,0 +1,96 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Oxalis + * + * Copyright (c) 2019 Manivannan Sadhasivam + * + */ + +/dts-v1/; + +#include "fsl-ls1012a.dtsi" + +/ { + model = "Oxalis"; + compatible = "ebs-systart,oxalis", "fsl,ls1012a"; + + sys_mclk: clock-mclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <25000000>; + }; + + reg_1p8v: regulator-1p8v { + compatible = "regulator-fixed"; + regulator-name = "1P8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + sound { + compatible = "simple-audio-card"; + simple-audio-card,format = "i2s"; + simple-audio-card,widgets = + "Microphone", "Microphone Jack", + "Headphone", "Headphone Jack", + "Speaker", "Speaker Ext", + "Line", "Line In Jack"; + simple-audio-card,routing = + "MIC_IN", "Microphone Jack", + "Microphone Jack", "Mic Bias", + "LINE_IN", "Line In Jack", + "Headphone Jack", "HP_OUT", + "Speaker Ext", "LINE_OUT"; + + simple-audio-card,cpu { + sound-dai = <&sai2>; + frame-master; + bitclock-master; + }; + + simple-audio-card,codec { + sound-dai = <&codec>; + frame-master; + bitclock-master; + system-clock-frequency = <25000000>; + }; + }; +}; + +&duart0 { + status = "okay"; +}; + +&duart1 { + status = "okay"; +}; + +&esdhc1 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + codec: sgtl5000@a { + #sound-dai-cells = <0>; + compatible = "fsl,sgtl5000"; + reg = <0xa>; + VDDA-supply = <®_1p8v>; + VDDIO-supply = <®_1p8v>; + clocks = <&sys_mclk>; + }; +}; + +&i2c1 { + status = "okay"; +}; + +&sai2 { + status = "okay"; +}; + +&sata { + status = "okay"; +};