Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6068587ybv; Tue, 18 Feb 2020 09:15:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzOCXoINMYHgo9fkc7But5TKAcrdMo8NKVLjkcZu3GrGebsQz1O+74d3ibHHTwvMzRKQhjx X-Received: by 2002:a05:6830:2110:: with SMTP id i16mr16163074otc.337.1582046120508; Tue, 18 Feb 2020 09:15:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582046120; cv=none; d=google.com; s=arc-20160816; b=EnU+pluAmEOcR0KRvh8nMjbRsJPEh6e+z/dMDTV04VrCQFjQU9eNrnfwZjXOdnFtug 6e2eoMvOifbtBLe+xp0e8eWoJgYcRJPXhEUpPM/+bY2yUzeg0zAGOSbOnHhn+0JLCFK4 EXyxWmufkE+7EjMkzsJM81qQEEfiVi7I1BFmdznh0EPc5cjDb5dpwAg3/TbDHkiXVBfq MoLx+sjVYy00QenpRghHMZB/+PG2VxtyODj8KmUxKrSnf/ZKYpoeURrIkEghnZsXxBHy qF8WRK2W7c4zVoajv0E0DPavOf/eMlheXx9eORPoHODXDndC4Irln6zaMREunYnq93eZ cvTA== 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=OXgmkwBe7DwnhUeIreA0ttrwVjYja06p6FlV/rhJKqk=; b=n5uSxRybWa6ZcDYzaw3d0KrIeham1o452TXlCNDFtj6LXDojWpt21YNcczvRAebeBU js+T50s9v+hUoW+RNmouK525N4ZZRhnNjHj/PpFbfJHkcOoQ0jBqTK4sI3gEWy0gUjkP LCmZZYNTc/JLl16vgW4KrgeXFsKkEIVgokj2wUBxfutYxcd0b2kNKqzos9SoxhTrS0Hl 5ruFi7huwMl94au6yYmbaPvPc1LpC04gNVZtBa98JFT/WMQGuXiaNmtvF1JftW9L/aTH W38fPePuNkMQ3S2khi1ve9Omf/Ydf5+ZVsOVPMbxpgJ8dKpfFLkLyspbMSyPRBSidq7A WXrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=W1F6C5ne; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j25si8174117oij.242.2020.02.18.09.15.08; Tue, 18 Feb 2020 09:15:20 -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=@walle.cc header.s=mail2016061301 header.b=W1F6C5ne; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727951AbgBRROg (ORCPT + 99 others); Tue, 18 Feb 2020 12:14:36 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:33737 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727875AbgBRROe (ORCPT ); Tue, 18 Feb 2020 12:14:34 -0500 Received: from mwalle01.sab.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id DE21623D06; Tue, 18 Feb 2020 18:14:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1582046071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OXgmkwBe7DwnhUeIreA0ttrwVjYja06p6FlV/rhJKqk=; b=W1F6C5neEJoDK3sAJ3pc9pIEkKrKYg1nqZTLfOSMt7m6Zjmp4L0yCv7uSB1OqvaOhqRLdm PlFAlNH9of9ZZy6Wn6U3pay488h8FVFENksfsu/sXpkmOZU1AAG5PAj0I4rDX8SqLDPqXS Ak6yMISOie1SsWMqMuBE4lBHfJRvYzc= From: Michael Walle To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Mark Rutland , Rob Herring , Li Yang , Shawn Guo , Michael Walle Subject: [PATCH v2 2/2] arm64: dts: ls1028a: add missing SPI nodes Date: Tue, 18 Feb 2020 18:14:18 +0100 Message-Id: <20200218171418.18297-2-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200218171418.18297-1-michael@walle.cc> References: <20200218171418.18297-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++++ X-Spam-Level: ****** X-Rspamd-Server: web X-Spam-Status: Yes, score=6.40 X-Spam-Score: 6.40 X-Rspamd-Queue-Id: DE21623D06 X-Spamd-Result: default: False [6.40 / 15.00]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; NEURAL_SPAM(0.00)[0.482]; DKIM_SIGNED(0.00)[]; DBL_PROHIBIT(0.00)[0.32.167.96:email,0.32.50.48:email,0.32.89.64:email,0.32.11.32:email]; RCPT_COUNT_SEVEN(0.00)[8]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12941, ipnet:213.135.0.0/19, country:DE]; SUSPICIOUS_RECIPS(1.50)[] X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The LS1028A has three (dual) SPI controller. These are compatible with the ones from the LS1021A. Add the nodes. The third controller was tested on a custom board. Signed-off-by: Michael Walle --- changes since v1: - add "fsl,ls1028a-dspi" compatible string .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 0bf375ec959b..ef1e3867b3fb 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -290,6 +290,45 @@ status = "disabled"; }; + dspi0: spi@2100000 { + compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2100000 0x0 0x10000>; + interrupts = ; + clock-names = "dspi"; + clocks = <&clockgen 4 1>; + spi-num-chipselects = <4>; + little-endian; + status = "disabled"; + }; + + dspi1: spi@2110000 { + compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2110000 0x0 0x10000>; + interrupts = ; + clock-names = "dspi"; + clocks = <&clockgen 4 1>; + spi-num-chipselects = <4>; + little-endian; + status = "disabled"; + }; + + dspi2: spi@2120000 { + compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2120000 0x0 0x10000>; + interrupts = ; + clock-names = "dspi"; + clocks = <&clockgen 4 1>; + spi-num-chipselects = <3>; + little-endian; + status = "disabled"; + }; + esdhc: mmc@2140000 { compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; reg = <0x0 0x2140000 0x0 0x10000>; -- 2.20.1