From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B204C48BCF for ; Wed, 9 Jun 2021 12:05:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5C78461263 for ; Wed, 9 Jun 2021 12:05:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232514AbhFIMG6 convert rfc822-to-8bit (ORCPT ); Wed, 9 Jun 2021 08:06:58 -0400 Received: from mail-ua1-f41.google.com ([209.85.222.41]:41631 "EHLO mail-ua1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232146AbhFIMG5 (ORCPT ); Wed, 9 Jun 2021 08:06:57 -0400 Received: by mail-ua1-f41.google.com with SMTP id g34so12762651uah.8; Wed, 09 Jun 2021 05:05:02 -0700 (PDT) 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:content-transfer-encoding; bh=bB6XM12yprLPFoNwutgUyB3njSDuVRGfpEtvr0UqK8E=; b=WVnwFClrFvemeUv92j6sJiLWk/BIsGCP1ohlVDamdpeUJ3hR49+zxDAJQMMYSG2AqJ b199t+elARYDqGxJcMm0p4/RMDgozb/NiKY2Kig/Z/ggiR/d15dgNfDQSh8my6el0SvP zjwRfZMtEibMJMXozicW/0+BtoAhIm+zXx255ylO0NwPM6wjNT1kCeFVZ2cyLJi/7n4K QobdfoTDGADHQQjzP72Ui+0WXeNC/QiPhbdnLpTC0I60w1cTYs6n0LV6RzuYdbC3wHMt /vl/th3xADEbKztmWglRgjwot7W6Qoy2n6+eFGc/C2VTNH2q/KJJTZVXRqLCM6BQB41J XRNg== X-Gm-Message-State: AOAM530qOx+KLfTonkiYP+C9OI8A7evB2xVG5jthdQ6PYaUahs7AujIP YAV7ETzt4yj3HQuatDxaDydizxBa23Y4R0M7oJ65r+jpJZM= X-Google-Smtp-Source: ABdhPJxkVHC78nRXOL62apDKXIIiTaPSbYJOa/DdeJsofMRspd3gymywG39zgIcSDYK+yyeVq89bME3aEbJ/ebS9KfI= X-Received: by 2002:ab0:2a4e:: with SMTP id p14mr9356668uar.2.1623240302138; Wed, 09 Jun 2021 05:05:02 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Geert Uytterhoeven Date: Wed, 9 Jun 2021 14:04:50 +0200 Message-ID: Subject: Re: [PATCH 31/31] arm64: zynqmp: Add support for Xilinx Kria SOM board To: Michal Simek Cc: Linux Kernel Mailing List , Michal Simek , git@xilinx.com, Viresh Kumar , Krzysztof Kozlowski , Michael Walle , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michal, On Wed, Jun 9, 2021 at 1:46 PM Michal Simek wrote: > There are couple of revisions of SOMs (k26) and associated carrier cards > (kv260). > SOM itself has two major versions: > sm-k26 - SOM with EMMC > smk-k26 - SOM without EMMC used on starter kit with preprogrammed firmware > in QSPI. > > SOMs are describing only devices available on the SOM or connections which > are described in specification (for example UART, fwuen). > > Signed-off-by: Michal Simek Thanks for your patch! > --- /dev/null > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dts > @@ -0,0 +1,371 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * dts file for KV260 revA Carrier Card > + * > + * (C) Copyright 2020, Xilinx, Inc. > + * > + * SD level shifter: > + * "A" – A01 board un-modified (NXP) > + * "Y" – A01 board modified with legacy interposer (Nexperia) > + * "Z" – A01 board modified with Diode interposer > + * > + * Michal Simek > + */ > + > + #include > + #include > + #include > + #include > + > +/dts-v1/; > +/plugin/; > + > +/{ > + compatible = "xlnx,zynqmp-sk-kv260-revA", > + "xlnx,zynqmp-sk-kv260-revY", > + "xlnx,zynqmp-sk-kv260-revZ", > + "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp"; > + > + fragment1 { > + target = <&i2c1>; /* I2C_SCK C23/C24 - MIO from SOM */ > + > + __overlay__ { Please use overlay sugar syntax, which is supported by the dtc supplied with the kernel since v4.15. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds