Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp453238rdh; Sat, 23 Sep 2023 19:21:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSaKcez8pbAbPYVhrZcd+p4LT6bHYQak3nJsHj+VlhPmH3B13CTbjkhsGvAsNNgGVoWZ+S X-Received: by 2002:a81:478a:0:b0:59b:cfe1:bcf1 with SMTP id u132-20020a81478a000000b0059bcfe1bcf1mr3209801ywa.44.1695522106209; Sat, 23 Sep 2023 19:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695522106; cv=none; d=google.com; s=arc-20160816; b=hR3WmSy+WoG2McdkoXG7uvix5garYSSWB8xRzgNtP+NdL5nC4dlXPagWvl7JBUFlRK 6ROyiHQd+Qloos061N2wY7tcHJKPP0rA9GS5DtYYxyrUQbIdCGxfd06A3TFQLI0ITmJ+ s9gkxYglQ9+qh1VxOmUGTwY8JqydnRExCWa0x2cXkiDGMcPoi+9W8mBN4Jr44DXcCDxy FfFvnTnGnD2nVZG9pIKhjIs1DZPcaGKEw8VughXJzOaUI8lJDZnN22DXOX/ox2Ajgpmw 1CtbMbaXX/Z7itbfMrjEJ/kTpTgq98pjskANVwfEndbgS+0pf5z0zm/t74rlskYJrg1+ Fu0A== 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=su6WYbPXHqLnNDFrNX/cj9aw9V1j7eGBIGjhoDpKtWE=; fh=TSBcgVzltACamJzWYqQqrZo7JLImfpYg5MXjEvcyWXM=; b=Hh6vO+GpiuR+PTzGlwBstF1T0Q8mSEL2D08hCrBPiEQnUx2enRdKdbwrPy24uW7Y1x fkbkKoUF8X6NFIPH9k7rnOPB+4NFkcnt46cKn2fZVIHwDGXgDZrbXl55nxkTIQAe2fiP qtwfRPRk2qST49JhJ+fDKOhz14F+1IHnWWK/RXC/LHiH7bIc7oHxdyfsJb38r5BBNiji wDtnYZ9Sh4jTxHHoM88ATbreSJ8wQe57FNcJ/5q5WCQKYUHbO6HKXlUwpZPa8SU+Tpco rzUM3SlShxumwc60ls8dzlvnegFGXrgm8ptHJyGAgN3p/JWrxpR18eSGs6MfPTOQPo/X l3Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b=mAL3feOz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id pc2-20020a17090b3b8200b0027740943ec2si1028734pjb.158.2023.09.23.19.21.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 19:21:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b=mAL3feOz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4B44880784E0; Sat, 23 Sep 2023 08:27:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231684AbjIWP1E (ORCPT + 99 others); Sat, 23 Sep 2023 11:27:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229946AbjIWP1D (ORCPT ); Sat, 23 Sep 2023 11:27:03 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12970A9; Sat, 23 Sep 2023 08:26:57 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-99de884ad25so465100666b.3; Sat, 23 Sep 2023 08:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1695482815; x=1696087615; 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=su6WYbPXHqLnNDFrNX/cj9aw9V1j7eGBIGjhoDpKtWE=; b=mAL3feOzczhBdWIzpb7Iqe3Ts9fQNdReE9ERKaWGjfWr6SN2AcSALcoMNQ5egTEegA CMqGStaUzqgkrfeW4IPOAw7fnVYS7gIfjnohk3NngtlXm1YjRRuXHtyF4mYk8GfjuusF hnz7m+xwpQdyp55SwdVm8GgjYJFL0TvoBRv2WjeI+fFAsz3tUqCKn8hZNsoa2sadMuLY VdaIyaZEyAw00ILtUZG2RDYcwQMoCku1kGl9IK0ombY/XIPymgRWzgLR6KKBoTJD3GLp 60npMP1wTIRICgmQgBm1VjVTTvAd3Rz+d3CgGr2nzkeovlYgSbCNAxI67gZF9f7oUGF8 ZkQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695482815; x=1696087615; 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=su6WYbPXHqLnNDFrNX/cj9aw9V1j7eGBIGjhoDpKtWE=; b=a0Vgg2NT2SYzc+Jzr4gJqMFsfIIkh9CAFEhQcOny8P3vtfCMXMfQbJCImzBay29cfz bSLhDh/xapI3YMUwBncm1kwfjlsYmc04JMn446qUJ/cnSw/mvSqGNBFridpQ9/BI0fy7 9FMn98LXnk3iTUjWSu3EjtISOu4jdEvErLD5ZqwVOp8Xq0Lcx/DkldjXO/JocZKd+Z+Z wcg2Kh3U5frhi1Yp5KNr1jxC0tcQdRpgZLJc52R5bW3U6TUqTJ07kH0mFrdHAaB163l9 jtsOGd04cTflE+z12YaBDuv8J7wYZk4AD2g6coXXgLuNvxtW73+wgwFbCDljyxWGEwZQ aVtQ== X-Gm-Message-State: AOJu0Yy3Ivh3Xd1RJuS11YUD3ZB6960Xk3tn9lNfppCaqtCmticxTWIy 8ehtb5rMA1VsEw== X-Received: by 2002:a17:906:328a:b0:9ae:284:c93d with SMTP id 10-20020a170906328a00b009ae0284c93dmr1941980ejw.5.1695482815280; Sat, 23 Sep 2023 08:26:55 -0700 (PDT) Received: from localhost (ip-005-147-049-011.um06.pools.vodafone-ip.de. [5.147.49.11]) by smtp.gmail.com with UTF8SMTPSA id sa21-20020a170906edb500b009add084a00csm4007325ejb.36.2023.09.23.08.26.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Sep 2023 08:26:54 -0700 (PDT) From: Daniel Maslowski X-Google-Original-From: Daniel Maslowski To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Daniel Maslowski Subject: [PATCH] riscv: dts: starfive: Add VisionFive 2 PHY supplies Date: Sat, 23 Sep 2023 17:26:53 +0200 Message-Id: <20230923152653.3371216-1-cyrevolt@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Sat, 23 Sep 2023 08:27:03 -0700 (PDT) X-Spam-Level: ** I checked the schematics to see what power supplies are needed. This allows for using ethernet without other drivers enabled that would coincidentally enable the same power supply. ⚡ Signed-off-by: Daniel Maslowski --- .../boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts index d4ea4a2c0b9b..bc1ac12bc71b 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts @@ -16,12 +16,14 @@ &gmac0 { starfive,tx-use-rgmii-clk; assigned-clocks = <&aoncrg JH7110_AONCLK_GMAC0_TX>; assigned-clock-parents = <&aoncrg JH7110_AONCLK_GMAC0_RMII_RTX>; + phy-supply = <&vcc_3v3>; }; &gmac1 { starfive,tx-use-rgmii-clk; assigned-clocks = <&syscrg JH7110_SYSCLK_GMAC1_TX>; assigned-clock-parents = <&syscrg JH7110_SYSCLK_GMAC1_RMII_RTX>; + phy-supply = <&vcc_3v3>; }; &phy0 { -- 2.34.1