Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp285270rdb; Fri, 6 Oct 2023 03:35:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHhXTSXN01ZDMLodSEPbYjm/Ac4lLmj8BaidiwL5WxyjlN5XAj/Nx/vk6Whtcm/SbVX5ecV X-Received: by 2002:a05:6a20:a121:b0:16b:d853:90be with SMTP id q33-20020a056a20a12100b0016bd85390bemr1009585pzk.25.1696588532791; Fri, 06 Oct 2023 03:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696588532; cv=none; d=google.com; s=arc-20160816; b=e4/mGHRo2n58J6SHDdhTc4ZyGJoXrDep6ymVDv1DbJFdgOYrEnv4Hmlz5C8WG+VLLa i+A3KRvp7N9ARHSolOafVk8melTKQdSINH2iTJDucfa78tMVeCTTytwrwJXuEiDzlKzk wre1XZ8MQ/IcQ/QhYzQjH01W04i9ZKNKZPbT/Sl84Gm3gMOIFMDArWHOFQy1zQ/uod6o YmDYOBTUkUxa0soxa9g5tpp43H+dgXVsP0XWOM54EwQ2+zaZYZVvHYTrF7I3s4Gaz5cw GwULP42shc9z3D099KYbJPk0bOQnS+nCxsAa2MVZYFld7e7i1mbeB1HMeu2K/5xWuaXF XDsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TDKNYOcEsBFqMrb3wRrzCP0mxdH1YRbc05OaBLwf4hI=; fh=BdoWshtIblK2GXqnam+BYbM5jqNF+x6q1MbdFittGpM=; b=IVrBe7DZ9+rgb0zKNt3HeeKYbliYDw4ABzUlPjmMox/ylTh2a5UIyAu6dlNk5SOeRp 7/MltzdfesN5FD3SyezHD8cM+KwmlhA6uQ7QLmoqQMZHqz3quTwORk+TUpqGAsh9xFV2 iCGrMd8/332JOtjGRLQdPzsHAUCcmEMHMD9hPQIUr6eyj2ezJa2Ym+86fiz8OqheHEob NFH9ZpEZyzWDxvZ8rOXwHyu+YixJRiBxBp9QRD/3dBkgTmpGJyRYIC0z1EigpZB/P3fI YMCOONUMtZ5Z6sInMxLArmAYawOpzIdb5/q8GrqeHXbZwdUjmf9guTGBvb8Ij/dG5gxA nGfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="AN/IO7vf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id k17-20020a056a00169100b0068a5752a049si1274972pfc.96.2023.10.06.03.35.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 03:35:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="AN/IO7vf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id E5117808EE6B; Fri, 6 Oct 2023 03:35:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231676AbjJFKfL (ORCPT + 99 others); Fri, 6 Oct 2023 06:35:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231497AbjJFKfK (ORCPT ); Fri, 6 Oct 2023 06:35:10 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAE629F for ; Fri, 6 Oct 2023 03:35:07 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-5068692b0d9so532766e87.1 for ; Fri, 06 Oct 2023 03:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1696588506; x=1697193306; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TDKNYOcEsBFqMrb3wRrzCP0mxdH1YRbc05OaBLwf4hI=; b=AN/IO7vfm7fpq1brOHJrff7TAgMYZVkX6yZ7QrEeyYMgE8nmrtnPl7yp/jXeNrkot/ AbYvdvSMYIyDX2kLQFdxhPV3KeEcUL/91gIvgvlcilO9dlkb3+S8XrDoYRXc2usQzw/v 6SY6V+0bO5KNH3r1tEZEfR6yXSpLTSYqQ9TiHPin1RIJaX4eOZAu3Z4n59tUeOMINBEw r+18bWnVnvE17JXHqqBcNGxxZXS0jZq+XzulYDRMWJvzpSbKPkhakMbrDBPPWV1+gSzu WwWW9ylSmIoyXFK1G9npWUe6ets9ouPC92BYSxomp/54oX5ZeflAFaIN1m7zM3WJkqvE eNfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696588506; x=1697193306; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TDKNYOcEsBFqMrb3wRrzCP0mxdH1YRbc05OaBLwf4hI=; b=UX/Tnf0ntxgFaa4O58kGx/WQPDqzVK0CI76kZ4FYLdMyq7NJQaavb2Fm/fNYE+2omT qLLo1p2BmXug9ESNNSYruApKbKqWoWNs4Mq2Lz1fh+u99F7NCALPiWIjmwlZENzaMFf4 X+ESBQ0rwpiZyB4w9Xucg2N9MTCMMfUxUbXMmzfD3vsO+W37cYDQKY0hH6vPJLsoZ39r +q7NBmVcWS+4wN9v2VOCj9tngbDD6dC7vklUzEb1RptxmCcp+pLufVkr21o82Es5IiPu RShKLtJIID6syoCL8oozkKysB94A+0Hvmr4xSUNBZe16EmLptcmWGXlLo8P79wJfrGAO UglA== X-Gm-Message-State: AOJu0YyNTrVo+zDKJzk4itKw5Eo0yu3MgbNGc7NqaOvr9QazbcUchsWZ NfOwYA9e91bvjR1YwWW3gIWk+g== X-Received: by 2002:a05:6512:2095:b0:503:5d8:da33 with SMTP id t21-20020a056512209500b0050305d8da33mr6525614lfr.20.1696588505433; Fri, 06 Oct 2023 03:35:05 -0700 (PDT) Received: from toaster.lan ([2a01:e0a:3c5:5fb1:8f44:72b3:5bcb:6c6b]) by smtp.googlemail.com with ESMTPSA id l9-20020a1c7909000000b00401b242e2e6sm5664963wme.47.2023.10.06.03.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 03:35:04 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jerome Brunet , Kevin Hilman , Da Xue , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH v2 0/2] arm64: dts: amlogic: add libretech cottonwood support Date: Fri, 6 Oct 2023 12:34:58 +0200 Message-Id: <20231006103500.2015183-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 06 Oct 2023 03:35:26 -0700 (PDT) X-Spam-Level: ** This patchset adds support for the Libretech cottonwood board family. The 2 boards are based on the same PCB, with an RPi B form factor. The "Alta" board uses an a311d while the "Solitude" variant uses an s905d3. This patchset depends on the usb support for the gl3510 [1] and [6] Without it, there will be dt check warnings and usb may not come up properly. Early u-boot support may be found here [2]. It will be submitted after DT is accepted in Linux. As usual with Amlogic, u-boot must be packaged with closed source binaries ([3] for the a311d, [4] for the s905d3) Prebuilt bootloaders are available from libretech [5]. The devices are shipped with libretech's u-boot pre-flashed in SPI NOR. If necessary, the boot source may be changed to MMC using the onboard switch. Happy hacking ... Changes since v1 [7]: * Remove extra dvfs opps * Rename Alsa cards * Reorganize leds for DT schema while keeping meaningful node names * Change blue LED trigger to heartbeat * Set panic indicator on the orange LED * Move hub reset from under the usb phy node to the controller one * Drop npu node [1]: https://lore.kernel.org/all/20231002122909.2338049-1-jbrunet@baylibre.com [2]: https://gitlab.com/jbrunet/u-boot/-/tree/cottonwood [3]: https://jbrunet.baylibre.com/pub/amlogic/fips/fip-collect-aml-a311d-cc-20230701.tar.gz [4]: https://jbrunet.baylibre.com/pub/amlogic/fips/fip-collect-aml-s905d3-cc-20230820.tar.gz [5]: https://boot.libre.computer/ci/ [6]: https://lore.kernel.org/all/20231006101028.1973730-1-jbrunet@baylibre.com [7]: https://lore.kernel.org/all/20231002141020.2403652-1-jbrunet@baylibre.com Jerome Brunet (2): dt-bindings: arm: amlogic: add libretech cottonwood support arm64: dts: amlogic: add libretech cottonwood support .../devicetree/bindings/arm/amlogic.yaml | 2 + arch/arm64/boot/dts/amlogic/Makefile | 2 + .../amlogic/meson-g12b-a311d-libretech-cc.dts | 121 ++++ .../amlogic/meson-libretech-cottonwood.dtsi | 614 ++++++++++++++++++ .../amlogic/meson-sm1-s905d3-libretech-cc.dts | 89 +++ 5 files changed, 828 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-libretech-cottonwood.dtsi create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts -- 2.40.1