From patchwork Sat Jun 3 14:16:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 13266171 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2EEA9C77B7A for ; Sat, 3 Jun 2023 14:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9y3+zoooLVI8zrZcjNyZDKG+xQDWh5hHF1rykuNRr0E=; b=Z+LzhXE/0K7f9V 3MxUKWwnt01xt17TePienR96qcD3x7LPUfxYgnXOSrlWeGmRK12Tx7gnLf4qYWPgkPR4ad5cfg0n3 XPOgEW0Q3E5/fv2x2pjq7f9BM8oBHN6xN16tSLH2wjNaEK8Q4JC+TCOn3p6g3bC8VDeFOLKQSCuxD DsalXHlZ9IopOZJh9N24Kwio8+uy8STai3YtvAkezFJcvRh8vwZVPKdZJOCH7wXaDWyEmbj7d6OFt kQ4W62dpLsCOZOrc0Ey5QXSSfrOBgUpYqfV0z01dPx0RQcEW1kipgcxj0hNQ6S5PQAvAeaWiG9PAt h5OmOpXkqzVHueNe1ScQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q5S41-009ueD-1x; Sat, 03 Jun 2023 14:17:05 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q5S3y-009ubv-1p for linux-arm-kernel@lists.infradead.org; Sat, 03 Jun 2023 14:17:03 +0000 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-51458e3af68so4424200a12.2 for ; Sat, 03 Jun 2023 07:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685801811; x=1688393811; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=O54gSo+fwIZHpUPtsacTlq8N4OyPd5rKpC6/rcb62mk=; b=jftqAIeO9/e/T5dFo8TeLbAje15pg3JVWxxGAGO/up+9Apj6dQLTykDeQhrgyiiJU3 C0tG4D5kUqLp62amF5C3nnA5yaEvWJEaJv3qv5FKhGJc+7ZAeem69xNw1nVdtFrxN94g jgna6H9ZUoKVSXcJLa8duySAk28/WRAaX9qsGTpYBkrKPcJUvEyLtGDdSD5MfBYY2Wo6 nFdApzSf+x+ZgMBrsBXyFrxmj0Ms9rTqIaX88l544jl0Lt/Pb7pMhFUs7HFAKQhbWmZ1 cS2aJuU6764gCaBy0vkl35FUMyf+vxv8coTW3vcPh3KcziF4CC+V3gS0u+Aa7F07kpKW 9pZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685801811; x=1688393811; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O54gSo+fwIZHpUPtsacTlq8N4OyPd5rKpC6/rcb62mk=; b=KrHhAu450GTWdVVLnnIi52+hOj7R2Ylhmj5XQPND0XW6u6YY+ZrWvezNixZ3uHrfM0 Z1im3BsJsUi6BvXmv22r94CziRibu5AeAU2YchsomJ2bavARl3TlCROKTlc1N6DPwBOu DsE9lMV8DX4G//TX27oQEEBHLieWuNkVg0xlTafaFvm1H4N8FqMwmYDRiwmu2HjLCfci 3LkbLXg3NTyDIJiRuwxOh37L5k8cPegPqqEYwG3X00a8LR1whi5XLV2uDIYd7unc4JYT aJ1OVyhnyBdUVevwp5VhrSLoIx1KyS4aaScOTTyJczXNx17YeBXSfkuncLKNR92Y/lVD 8osw== X-Gm-Message-State: AC+VfDzFIgSDt3a1l3cdAF3SgM8W8g2qmLNDu1oitpNlMmkzuIPIztkv Qc9iDkjKPccxY4UNDqLNIEPTary4zus= X-Google-Smtp-Source: ACHHUZ7O5+bzZmIbUuXuY51BZS4e5mKKjwMt3gsJra08cWTcdYXFAeeRPDmcKScHQEM5phGCw7CRYQ== X-Received: by 2002:aa7:cb54:0:b0:504:8014:1554 with SMTP id w20-20020aa7cb54000000b0050480141554mr4493966edt.28.1685801811428; Sat, 03 Jun 2023 07:16:51 -0700 (PDT) Received: from shift.daheim (p5b0d7f08.dip0.t-ipconnect.de. [91.13.127.8]) by smtp.gmail.com with ESMTPSA id d6-20020a056402000600b0050690bc07a3sm1832740edu.18.2023.06.03.07.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jun 2023 07:16:51 -0700 (PDT) Received: from chuck by shift.daheim with local (Exim 4.96) (envelope-from ) id 1q5S3m-001osZ-1j; Sat, 03 Jun 2023 16:16:50 +0200 From: Christian Lamparter To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Cc: Florian Fainelli , Hauke Mehrtens , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH v1 3/3] ARM: MR32: fix dt schema violations Date: Sat, 3 Jun 2023 16:16:50 +0200 Message-Id: <7db1786220cb6948bbddcecda17147908d25f91c.1685801691.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <869354dba00f01d4e6bde897a44180ad1658389c.1685801691.git.chunkeey@gmail.com> References: <869354dba00f01d4e6bde897a44180ad1658389c.1685801691.git.chunkeey@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230603_071702_605207_6955CE88 X-CRM114-Status: GOOD ( 14.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org fixes the "duplex-full" typo, adds phy-modes for the internal switch and the attached PHY-chip. This also includs adding pause support for the internal cpu port. | ports:port@5:fixed-link: 'oneOf' conditional failed, | {'speed': [[1000]], 'duplex-full': True} is not of type 'array' | 'duplex-full' does not match any of the regexes: 'pinctrl-[0-9]+' | ports:port@5: 'phy-mode' is a required property | ports:port@5: Unevaluated properties are not allowed Fixes: ec88a9c344d9 ("ARM: BCM5301X: Add DT for Meraki MR32") Signed-off-by: Christian Lamparter --- arch/arm/boot/dts/bcm53016-meraki-mr32.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts index bca39b30ace8..e0ad79fac7f4 100644 --- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts +++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts @@ -186,16 +186,19 @@ ports { port@0 { reg = <0>; label = "poe"; + phy-mode = "rgmii"; }; port@5 { reg = <5>; label = "cpu"; ethernet = <&gmac0>; + phy-mode = "internal"; fixed-link { speed = <1000>; - duplex-full; + full-duplex; + pause; }; }; };