Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2307829ybl; Sat, 24 Aug 2019 14:30:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHdKjfzycjljJXUep9u0W3//QZlC+swkdbMjOAZ0cGYjraUPjlsseh4Eok4uxKhDTjflKX X-Received: by 2002:a63:6ec1:: with SMTP id j184mr9654959pgc.232.1566682220177; Sat, 24 Aug 2019 14:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566682220; cv=none; d=google.com; s=arc-20160816; b=XJaXk52mb/5792kP3fd/F9TL9b7zymry0yiX+4TB2abR599kCiMokuUJjK6NvOmy+3 5aKy+kJ71yqAw/rFRDi2p78n/Yz11Gza54t2OWoJxTqDFTgdyYW+8ABVfcwc4lXs8tRx 3XzPkxcrzeptqDiVLwz/gt9AjPZeA+ONtga9AqR71jJ+A7YLcg6QUqCJTowzWMjrWyPT 2JNZttXRoaP3kK63tTyYIfY1FLaOIWH22c0FKGxf9P6RD2ocneyrwM79Ujk4rMOuYgVP /zphz27LEZr9JPWWe15tSwGrq7aRd3yZuZ6ceuKlwl09ygsnFK1lsV6ktbEkKTlKq4eD gqvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NeHDDT5xeUM288NKVamfGsJVmVu1XwAAe3AxKH60utQ=; b=k3blQYSK5ZK10oQbHo0UTrtG1XiVNi4FHb5p0RehMLWNVWXDcsPFlmak0p+kmupue7 sCfx/mM3eqVBvjeKuwZX8i2FkcFgtz+IEOK+Jr71VLwMQ3k7hyljvYL8w/wmmWei77tl O6iWyqQu37w1JKL0mmZkm5M2gSM+s23E6JTJSwU3DfgsZpQ2ueaYH3WyjeUm4eEexf3P hPkCXBnUSZUWjW3+uOKQ1rZgzCAIQtPwZ+YtyL0xgAPBuwdU6ICcsMRJP5RHao9OjEo6 lRDTeBF8sJ9Bu8MPWb1YWsA07FIQxHXcLyeN3dPZF+f8NBFaOTT7EWUWDOkbHK2SfpRQ o8Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=Ly3Kf0Vw; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h69si5093748pge.543.2019.08.24.14.30.04; Sat, 24 Aug 2019 14:30:19 -0700 (PDT) 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=@googlemail.com header.s=20161025 header.b=Ly3Kf0Vw; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728067AbfHXV3S (ORCPT + 99 others); Sat, 24 Aug 2019 17:29:18 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:46599 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727907AbfHXV3R (ORCPT ); Sat, 24 Aug 2019 17:29:17 -0400 Received: by mail-ot1-f65.google.com with SMTP id z17so11862492otk.13; Sat, 24 Aug 2019 14:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NeHDDT5xeUM288NKVamfGsJVmVu1XwAAe3AxKH60utQ=; b=Ly3Kf0VwR9LsyZVVa+EOsomX2wAFjqIU390PXXa0DK62nLZ7VpXD9zwowzBPiCUpsU 7vOQLVMMyyTzHyZrdA/epH1UICSqFzTgv6nLgchp/hjQceNFxDd5l4ctmjrFmwEIrWAq 5PO2uzSBkIyWPsTzqgmxQKtOaWSasqLiHv4jOIKop84uYrOd/9JSIjQjFCYwiOsFu7eQ GG8eqns023jFpz+s1KEungiE53ci+4RT9Ze94r7A3fsaO2lIXr1ev1hUaYLzO30do51e vg3UcQc/KEZttKjF53nZpt+yHC5s0sSctlG3CTsj0J3WP1S4++a5z36kxS2aEM8hOOak ASNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NeHDDT5xeUM288NKVamfGsJVmVu1XwAAe3AxKH60utQ=; b=RD5U0WyDc59HdaByi8GjYa1sFTAZfuKOpf4MrAIrdESLwXz81tpCN0SeY9fr6Gg0Fh jrvDIb4SXeSM+2pLWrV50yDx0MrrnQmeoF3mU0Mvfib9olchOxN3zNzMAwHag46AKkKQ pE44NqpnJwzDsanjuCRoHibJdyrUQr7exTaAW87jk/PgGj0Isu/nEWEikXvs4uXGOx2S ckP5oP7S6ej2dBtudbI1mCDT+hFTsQ1w7DeiRYAWhS3OevPnd3rFamqfIREhCotplPdY UO0rWDRs8+HESIRG/3YHMvEv52tIzWtFEWk1NMRW+l6b5Z9zh3CG6kUI+1zKr+k/YaTk HlDg== X-Gm-Message-State: APjAAAWcbspCaVHC7UVi2aQGEB/cEPyRfiYOvej67oxm+6OriZUgT7IL HGZPEzxaGcbwbA903S+Mw3k9zy1QkxaEyUUQuV42J21I X-Received: by 2002:a9d:1d5:: with SMTP id e79mr9347623ote.98.1566682156724; Sat, 24 Aug 2019 14:29:16 -0700 (PDT) MIME-Version: 1.0 References: <1566633850-9421-1-git-send-email-christianshewitt@gmail.com> <1566633850-9421-4-git-send-email-christianshewitt@gmail.com> In-Reply-To: <1566633850-9421-4-git-send-email-christianshewitt@gmail.com> From: Martin Blumenstingl Date: Sat, 24 Aug 2019 23:29:05 +0200 Message-ID: Subject: Re: [PATCH v2, 3/3] arm64: dts: meson-g12b-ugoos-am6: add initial device-tree To: Christian Hewitt Cc: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Oleg Ivanov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christian, On Sat, Aug 24, 2019 at 10:06 AM Christian Hewitt wrote: > > The Ugoos AM6 is based on the Amlogic W400 (G12B) reference design using the > S922X chipset. Hardware specifications: > > - 2GB LPDDR4 RAM > - 16GB eMMC storage > - 10/100/1000 Base-T Ethernet using External RGMII PHY > - 802.11 a/b/g/b/ac + BT 5.0 sdio wireless (Ampak 6398S) > - HDMI 2.0 (4k@60p) video > - Composite video + 2-channel audio output on 3.5mm jack > - S/PDIF audio output > - Aux input > - 1x USB 3.0 > - 3x USB 2.0 > - 1x micro SD card slot > > The device-tree is laregly based on meson-g12b-odroid-n2 but with audio typo -> largely [...] > + tflash_vdd: regulator-tflash_vdd { > + compatible = "regulator-fixed"; > + > + regulator-name = "TFLASH_VDD"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + > + gpio = <&gpio_ao GPIOAO_8 GPIO_ACTIVE_HIGH>; > + enable-active-high; do we need regulator-always-on here as well, see [0]? [...] > + usb_pwr_en: regulator-usb_pwr_en { > + compatible = "regulator-fixed"; > + regulator-name = "USB_PWR_EN"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + vin-supply = <&vcc_5v>; > + > + /* Connected to the microUSB port power enable */ > + gpio = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>; > + enable-active-high; > + }; the photos I found don't show a micro USB port (but 3x USB A 2.0 and 1x USB A 3.0 - just like you mentioned in the patch description) does this regulator exist? [...] > +ðmac { > + pinctrl-0 = <ð_pins>, <ð_rgmii_pins>; > + pinctrl-names = "default"; > + status = "okay"; > + phy-mode = "rgmii"; > + phy-handle = <&external_phy>; > + amlogic,tx-delay-ns = <2>; > +}; is the PHY reset GPIO not wired to GPIOZ_15 like on Odroid-N2 and X96 Max? Martin [0] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts?id=dc7f2cb218b5ef65ab3d455a0e62d27e44075203