From owner-freebsd-arm@freebsd.org Sat Nov 3 20:55:04 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2BB810E3DAA for ; Sat, 3 Nov 2018 20:55:03 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F1EB6A68D; Sat, 3 Nov 2018 20:55:03 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id wA3Ksxem086848 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 3 Nov 2018 21:55:00 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1541278501; bh=7Ym40ZhGpZ+ngkwwDkXKaTRSlOBdgDM8IXETQj3B4yw=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=ZwWTKyL9blMHBQKonqlqDN2Q5S/I4fak0krtGRmQ37OHkEcJi09d4WHH6galBNOAv sXFH7vIPsvf1LQbTbZTz9RdU/uhnGyO+cx5dsDcs8aDm3vTgItOwr0z7m5oMkSAfol rAAZgvCKvbHNYFAQBXIwg7GPmAr7fibbCCbiip6k= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id wA3KsuH3004643 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Nov 2018 21:54:56 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id wA3KsuEW038442; Sat, 3 Nov 2018 21:54:56 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id wA3KstEu038441; Sat, 3 Nov 2018 21:54:55 +0100 (CET) (envelope-from ticso) Date: Sat, 3 Nov 2018 21:54:55 +0100 From: Bernd Walter To: Ian Lepore Cc: ticso@cicely.de, freebsd-arm@freebsd.org, Bernd Walter Subject: Re: How to add custom dts entries Message-ID: <20181103205455.GD79858@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20181103200709.GB79858@cicely7.cicely.de> <1541277990.52306.4.camel@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1541277990.52306.4.camel@freebsd.org> X-Operating-System: FreeBSD cicely7.cicely.de 11.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de 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: Sat, 03 Nov 2018 20:55:04 -0000 On Sat, Nov 03, 2018 at 02:46:30PM -0600, Ian Lepore wrote: > We do have overlay support now. I don't know much about using it, > hopefully those who do will reply with details. That's good to know. Hope for an answer too ;-) > There have also been updates to the SPI world. Your apa102led0 fdt node > now requires a "spi-max-frequency" property, the value is the bus speed > to use when communicating with that device, in Hz (different devices on > the same bus can now have different speeds, and there is no concept of > a default speed). Also, the chipsel number should be in a reg= > property, but we still support spi-chipselect= too for backwards > compatibility.  Ah, important information. I had been using dev.spi.0.clock to increase speed. Obviously dev.spi doesn't even exists anymore. Have to check about the CS, technically it is a dummy value anyway, since the APA102 LEDs don't have a chip select and are the only device connected to the SPI. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.