From owner-freebsd-arm@freebsd.org Thu Dec 19 01:07:51 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D4CAF1CB97B for ; Thu, 19 Dec 2019 01:07:51 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dYdf2RNcz4036 for ; Thu, 19 Dec 2019 01:07:50 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: by mail-qk1-x733.google.com with SMTP id x129so3261868qke.8 for ; Wed, 18 Dec 2019 17:07:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WvOhi7A/lf/J2Gd7WhIvGPrL9axeNu+02yo/HgSYe7c=; b=BIjbZO9gBQTMW0AnBQN42nNzZp11KuTX6QToYz7/T6Okhag+vhgdM5yHTAY0aZPktP Z20UjupjvtldJ1XB7vZRj9MhCKkM5FUe8L0mkvOb0/qR6p4/lyHfORyvRkaZvnfo9srn cEYTZaVpDJ2dU54bDgK6UPP7ZirVx5f8VdiBd4UA8HBpcRQdSOSDRpPpfAA71fpZx+R9 HEWECA9Qn90E7/xXl1/T6sNBiJHzLyrpiFohW5BWEpAg016JMJXxhB9Z3lYo/TOWkOrd 71x5UMSVT+dPjc8qcQ3KDi1UdCCln7jWAmK41KSrUfo1RYDEfj2J5BuCtzpMSV0dStVv Jx/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WvOhi7A/lf/J2Gd7WhIvGPrL9axeNu+02yo/HgSYe7c=; b=gKCkJ1Dbq64u3jVDTZH0iwTRdrShfWVkjzv/Q6GWCaaCt5T65b/kPJuDLFqFDrAuHG UuBWrf0zWmCd+Zwni22OP0H+Zq1GHMqDOmXyOfhWr1GoUmEYeqtMTRWhwIuSg43EVUxl CKXwKbnGnzwLnREl9C60YkAInRkeLlmYRDBlVxVJH3T0WctXst419yA1qv4t4REAux/x 6lboOaI4mpBGkShnNAGHqmjo33U5EUC+z+9eRhr9Y/Au/Yfj6889E3Br15th7twGUf5T SUcjvatxhUTAi9AVCDpJSG8kt6oMVfg4747kMnzXedU+Y3wB+xGOEvg+unR4hyFftEKR Ny2Q== X-Gm-Message-State: APjAAAWODAq48h/G7+1f76TQunEXOYirm6wFVQhZ3lPQ4ONk8WhQRAGq XLjsm3JXv415/s2PRG9d044gY+h6JgeqrO51SmMtNA== X-Google-Smtp-Source: APXvYqxSkcCr8MVjBhnijQVD3kZJgc741PZ7BWm6/4dJd/QWZYOSLHt+IwrFNE365SMmiJhYvOH/D0KLQbPvdR2fwag= X-Received: by 2002:ae9:f442:: with SMTP id z2mr5836349qkl.130.1576717668721; Wed, 18 Dec 2019 17:07:48 -0800 (PST) MIME-Version: 1.0 From: Gary Otten Date: Wed, 18 Dec 2019 20:07:35 -0500 Message-ID: Subject: SPI support for A64-OLinuXino board Allwinner A64 processor To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 47dYdf2RNcz4036 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BIjbZO9g; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gdotten@gmail.com designates 2607:f8b0:4864:20::733 as permitted sender) smtp.mailfrom=gdotten@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (-9.23), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 01:07:51 -0000 Is there SPI support for this board/processor and what steps would I take to implement a working SPI interface? The correct address and pins a for the SPI interface appear in the sun50i-a64.dtsi include file for the default overlay sun50-a64-olinuxino.dts . What do I need to put in the loader.conf file to get the driver to load and for the spi devices to appear in /dev and be usable?