From owner-freebsd-arm@freebsd.org Fri Nov 29 13:43:20 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 AB6101B0F67 for ; Fri, 29 Nov 2019 13:43:20 +0000 (UTC) (envelope-from milan@obuch.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47PbLb2NYmz3QkN for ; Fri, 29 Nov 2019 13:43:18 +0000 (UTC) (envelope-from milan@obuch.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Fri, 29 Nov 2019 14:43:16 +0100 id 00E54810.5DE12074.00014036 Date: Fri, 29 Nov 2019 14:43:16 +0100 From: Milan Obuch To: freebsd-arm@freebsd.org Subject: Re: gpioiic FDT overlays for sun8i-h3 Message-ID: <20191129144316.739c8664@zeta.dino.sk> In-Reply-To: <20191129153754.28fb5763@thinkpad> References: <20191128152901.39dbeb4d@thinkpad> <20191128062149.577be86eb7dc15ae5805f31a@bidouilliste.com> <20191129153754.28fb5763@thinkpad> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i386-portbld-freebsd11.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47PbLb2NYmz3QkN X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of milan@obuch.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=milan@obuch.sk X-Spamd-Result: default: False [-5.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[obuch.sk]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[72.65.245.84.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.85)[ip: (-7.98), ipnet: 84.245.64.0/18(-3.99), asn: 16160(-2.35), country: SK(0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16160, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2] 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: Fri, 29 Nov 2019 13:43:20 -0000 On Fri, 29 Nov 2019 15:37:54 +0200 Nick Kostirya via freebsd-arm wrote: > On Thu, 28 Nov 2019 06:21:49 +0100 > Emmanuel Vadot wrote: > > > Try this but I haven't even compiled it : > > > > /dts-v1/; > > /plugin/; > > > > / { > > compatible = "allwinner,sun8i-h3"; > > }; > > > > &{/soc/pinctrl@1c20800} { > > gpioiic0 { > > compatible = "gpioiic"; > > scl = <0>; /* GPIO pin 00 (PA0) */ > > sda = <2>; /* GPIO pin 02 (PA2) */ > > > > }; > > }; > > Maybe I must rebuild all u-boot with this overlay? > > Because the overlay do not help when it is in /boot/dtb/overlays/ and > /boot/msdos/dtb/overlays/. > Did you add in /boot/loader.conf line like fdt_overlays="gpioiic" (gpioiic is name of your module in /boot/dtb/overlays)? Overlays are processed by loader of ours (freeBSD), not u-boot, AFAIK... Regards, Milan