From patchwork Thu Mar 25 12:42:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164015 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.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 1DB08C433DB for ; Thu, 25 Mar 2021 12:43:09 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A8C3F61A1B for ; Thu, 25 Mar 2021 12:43:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8C3F61A1B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=YFjNHvjkw0ljTP4ykX896pnKhkeYJojLnhUNiJtz4co=; b=GB4Et8klAvLTDzL1oS8Lll0hO NUwucwEpSG6RD0olNzkKilFc5u2HJjcA10xA8ojP96CwZIkIVDVB0dM5UhpXFvH/vJNaRDBjBC3Id OPOZTxIbHYrw9pMFmTQKFcgNnqgJQXGb7m6kQFw9hcwoz1vOYu6m3jLBOQSMFigFNac9YA7DnJLlI pZl1j0OkUd13mcCCZdv/aGaPzHCt8xmYmTuKCfGHhp7QPbLMvUbCmIqiBSRW2B2t2AAS9yctloX9J LakoVVN7GE/6oMOixrIAGUjYeIHkZeX9kvzCr61b2GXM6UQwU5+b+GILnlNponi5xJqsgGV9hlm2l Q9Lj6W2BA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPPKJ-001PjN-5W; Thu, 25 Mar 2021 12:43:04 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPPK1-001PeN-7a; Thu, 25 Mar 2021 12:42:47 +0000 Received: by mail-pj1-x1034.google.com with SMTP id il9-20020a17090b1649b0290114bcb0d6c2so2682433pjb.0; Thu, 25 Mar 2021 05:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w0bt+yFJbuDlDnqVqGjm/70yTbKSPm5K8BlbdmF89ZI=; b=StNfHAFGoHxehkGTqooGf8klr1qXp2gc8gFROjg0dDKsDwDXEq2ua5tmqrdNsZJALz TJc0kJNAEYMKA2+hZhwd2xF/GlF+1f7IjsnArRkS4x8Tf01vHDSoG/bMqGVnfoAFmHn8 mYYADs0eDO6cW7iRblKj7G9UD4rQFG9G1HrVWD35njpigEEb3j7dL5E0d26OVoKJsL6j ElH6zAdaDF5eI9/Dh1616fXe0sJ7x9zNlwlLKDpMR2SKrCjoMXtJ5MF0q+nxoFfpVtjz yK8VB+NH1DApwOOpfAxzSBujmKSguVQP1BC3mVtJDxoPDOYe1CKBS6B/AMlnhVhBxuuh mIJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=w0bt+yFJbuDlDnqVqGjm/70yTbKSPm5K8BlbdmF89ZI=; b=DvvCXrhL8Y8RmrZLTUniPjGdh1TeNRpL616Tp9xf5uJu4wHQ8cHPr1Z7/Gsyi+/PKb upILKjNjGXxoAbkj1NnrfyL8iyIu8RywboEO20EHiFxt/AwMx613L6b9Q1huC03JRkmn yf5f7h/fRksRSzi7o+RQqfy23G/82SzAX2O+naDvn6PLTTCUEKrF6j7KEC9KFfpHia5z J7RCjVZvASVD3fgaQQN8DOyS6sOzU1DbBUGhqXpw1P0Q3MgADYaGA6e3UXfyV1K9T4// MkT2W/EbMdgGgK/EoVmqsLioZvGppk2xmmHigKcvwNhTb+yIk4pB0B4Lpe+ovSfcdQsu JQxg== X-Gm-Message-State: AOAM530oegfAKFU/D66y79E6RIFNqaN7XO20lcfUyltYKNS98mgbmEQS fzz39Zn/44OI2ygWbfvOVAM= X-Google-Smtp-Source: ABdhPJxhXEzpQ0Nlk3nozlLLPS01ADiVLHi5cqf7bEE00gMKLwqesBcpjuXtE550YOp602+/E+RypA== X-Received: by 2002:a17:90a:c096:: with SMTP id o22mr8729145pjs.119.1616676163922; Thu, 25 Mar 2021 05:42:43 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.42.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:42:43 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org, Rob Herring Subject: [PATCHv1 1/6] dt-bindings: net: ethernet-phy: Fix the parsing of ethernet-phy compatible string Date: Thu, 25 Mar 2021 12:42:20 +0000 Message-Id: <20210325124225.2760-2-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210325_124246_059154_61352BE0 X-CRM114-Status: GOOD ( 13.99 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Fix the parsing of check of pattern ethernet-phy-ieee802.3 used by the device tree to initialize the mdio phy. As per the of_mdio below 2 are valid compatible string "ethernet-phy-ieee802.3-c22" "ethernet-phy-ieee802.3-c45" Cc: Rob Herring Signed-off-by: Anand Moon --- Documentation/devicetree/bindings/net/ethernet-phy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index 2766fe45bb98..cfc7909d3e56 100644 --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml @@ -33,7 +33,7 @@ properties: description: PHYs that implement IEEE802.3 clause 22 - const: ethernet-phy-ieee802.3-c45 description: PHYs that implement IEEE802.3 clause 45 - - pattern: "^ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$" + - pattern: "^ethernet-phy-ieee[0-9]{3}\\.[0-9][-][a-f0-9]{4}$" description: If the PHY reports an incorrect ID (or none at all) then the compatible list may contain an entry with the correct PHY ID @@ -44,10 +44,10 @@ properties: this is the chip vendor OUI bits 19:24, followed by 10 bits of a vendor specific ID. - items: - - pattern: "^ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$" + - pattern: "^ethernet-phy-ieee[0-9]{3}\\.[0-9][-][a-f0-9]{4}$" - const: ethernet-phy-ieee802.3-c22 - items: - - pattern: "^ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$" + - pattern: "^ethernet-phy-ieee[0-9]{3}\\.[0-9][-][a-f0-9]{4}$" - const: ethernet-phy-ieee802.3-c45 reg: From patchwork Thu Mar 25 12:42:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164017 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.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 EBE1BC433DB for ; Thu, 25 Mar 2021 12:43:20 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9387E61A1B for ; Thu, 25 Mar 2021 12:43:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9387E61A1B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=Hwic63Hl4UyAXZPGpoFqQqVBAfmuAq7ZGO68vesl938=; b=miZpLyJ5M146btUpTJpWwQK09 x79ReWReKs2g7lallJS6XKlJZBTRCrL5IU/sY37J1DveJ1Yms3bQlYsnLbQJxJdoGj/gYAP/3VI5O g+EzEOVhE1YnkBdLeoIk6pyfRjRPLdynvSz3I+RXPZu3lg5ROjiDKS1qANpyNHYY7/SH5rjC5OOvi gZt/IB1SJ8XZweTen+MQ54bkkKnpP1BnssKEWMy7iZVo/tLWlVFJ5LZc8JpF2i5QEV8F72nBWXnTX x4Th1OvdIkB/xx0lIExZ9p3OkFYYC/Zm8ZKKkF/ffnpAEPaspxeVi/10AA/bXSSbPP6QcbuP9vFbj Q7WkS+mqw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPPKW-001Pnw-7n; Thu, 25 Mar 2021 12:43:16 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPPK7-001PfJ-C8; Thu, 25 Mar 2021 12:42:54 +0000 Received: by mail-pf1-x42e.google.com with SMTP id l3so1927566pfc.7; Thu, 25 Mar 2021 05:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3ltQuHjZ2Dx4rM2etKJdZXBIVzAy3G8OeRSAF5zKHFQ=; b=cYD37tfOFxTIQc8pJCixMPHtDMuFqTAvYYbzQ7/LVeS3NqXIBN4+xS/LGlRm5sSokt pW3f1J73gTaXNYEFV0e4sbX5AEGWIg89n2MpFW3JynzDsTKZFA+gT2mg7YSb5fY46tfm z8dSWDw9aB+nrgQSzzDiH34Yqmc624BJKqWoKuLjsR3YTbT4kZ6zok8Vqh1um2uno5Xf yIqBnAMof7CatTLO/aU4Oz+DVIPLWb6EW2U25VjdOxmsMUKFdiCWRCKT814oV/NUCh66 +G5AMqcU8Mpo3PjFqzZR7AYMrLPRx0irq+Otmq53hdrj2lvwzcKE2ZkC2hho1A2/Rhr3 ThZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3ltQuHjZ2Dx4rM2etKJdZXBIVzAy3G8OeRSAF5zKHFQ=; b=M2A4Qj7u+RbxKZDiHAjD6jnmJOZ5SJcsgnxZawlbwq2r4wnixjpAYNqO1+jRINsDBq wZGlCFTVMANwt0VfijkMQnfTkcw1JIYHRInUyzJ+JdZWX/AUQAtDGljgCFn5Wx45IaT9 NRAkGvmBlooABppp5QOzAL8mhZ2fFAv6PX8fNz5BN65jN0+3/yv3xWLSt1SAH/WjYv6C J46dziIf7s8RuQKN7zEQf/LRI2o3G6btMALKXWAdtkVxxkJtSceOFZmBtdGx2FpNcXNa RdHUjC26GE2lpmuQ5SOK6Mxr8v6fs4TfE3f/y0h3lHphTM0rbCFMCvb3G2Kb4KnGDMbS BoNQ== X-Gm-Message-State: AOAM530OUCRXmXuQVuGGhjr1KZeKG7JLtwFxDjOpOrtlliWM2UDJLoqI vxnG1A6FGYx8hufuRtWRoSM= X-Google-Smtp-Source: ABdhPJx9Tv1NUnOleZSOzJFANweJXp9b3HT9f3ckzmcerGk/AvLG0xmMKAxIrI79ze9FvHFKQOfXgQ== X-Received: by 2002:a17:902:bf92:b029:e6:bc0:25ac with SMTP id v18-20020a170902bf92b02900e60bc025acmr9622503pls.49.1616676168868; Thu, 25 Mar 2021 05:42:48 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.42.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:42:48 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 2/6] arm: dts: meson: Add missing ethernet phy mdio compatible string Date: Thu, 25 Mar 2021 12:42:21 +0000 Message-Id: <20210325124225.2760-3-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210325_124253_064800_8DF5750F X-CRM114-Status: GOOD ( 11.72 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add missing ethernet phy mdio comatible string to help initiate the phy on Amlogic SoC SBC. Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm/boot/dts/meson8b-ec100.dts | 1 + arch/arm/boot/dts/meson8b-mxq.dts | 1 + arch/arm/boot/dts/meson8b-odroidc1.dts | 1 + arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index 8e48ccc6b634..09ce822308de 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -262,6 +262,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* IC Plus IP101A/G (0x02430c54) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm/boot/dts/meson8b-mxq.dts b/arch/arm/boot/dts/meson8b-mxq.dts index f3937d55472d..c1638f3c9edf 100644 --- a/arch/arm/boot/dts/meson8b-mxq.dts +++ b/arch/arm/boot/dts/meson8b-mxq.dts @@ -109,6 +109,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* IC Plus IP101A/G (0x02430c54) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index c440ef94e082..ca439302c74d 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -216,6 +216,7 @@ mdio { /* Realtek RTL8211F (0x001cc916) */ eth_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts index fa6d55f1cfb9..6c9b22605264 100644 --- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts +++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts @@ -73,6 +73,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; From patchwork Thu Mar 25 12:42:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164019 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.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 EFBC6C433DB for ; Thu, 25 Mar 2021 12:43:34 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 876A961A17 for ; Thu, 25 Mar 2021 12:43:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 876A961A17 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=3GXax1sv3ObtVV0O8D9KTvYcjA6ySY9aA2s5zdxzHho=; b=a4yRzTxHuHanvAY+MexPXwvlF xC0GlNr2dUzCLcvajti4F6Iybd2V/nXbQaAhnbxNdNAtTnpJPYsiRFmMbnc2cMopLQnvhAzxT9jhl YFGQJXDlEubY1koYrmgmq9OfC9xXpp0y4jDWzO7QwMqzOITZ8g0lWfDrvAv9aFfKYDvhgOPyLNirs oqBTm5ufOmaGItLTFNw756y3tp2GI3K4elz3otGu1KIF4YFiBiv9okwCZtAyAXYOwPoXQE3VHGwIX kV1pouAWqJFaUkOQRxubV4f37N70QIJUEKtz+9bqTp3TQBH25iJrxyl4RI/7xYXbyA47rj0vXeidK MATOeApgw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPPKi-001Pro-83; Thu, 25 Mar 2021 12:43:28 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPPKC-001PhD-NR; Thu, 25 Mar 2021 12:42:58 +0000 Received: by mail-pg1-x531.google.com with SMTP id m7so1649432pgj.8; Thu, 25 Mar 2021 05:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o2X5hf76RVmZgnkS5Xn03sgP0gHvSiJwl9J2bXsWxbQ=; b=GiAMmznYYVJYW6pLsXQT82029OkTINrLmsIeyo56MBY0nVsAimf/fqwpKNkmCK+PT7 bUeax4/5FC/rvoiDASQKherOHi34zDrnLkRu8D+/RPuM+Ibr10aE9ZJ6YzWDExcfBS6q Cah0JnCg1h41cbVWICBoHGWVPKtPuJArvgt6h/TZl/ld/5ljNRLChpVEVtAdQmqj/ouD DHeRG7G63nPdSQjB8U3LCnDnPbVym+b27hunSt4a4o0YkoYoLa0Yp7h7dBhVFXQAoKdf omsPG7ZmwyJOWr7hBrDXAvdWIdsDiJl7xWW6yYv5TO/YMH97cllw8OtmHFdwo7wdcFjI l9bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o2X5hf76RVmZgnkS5Xn03sgP0gHvSiJwl9J2bXsWxbQ=; b=Ab3/sIVGzIT/sIrK4cSQdZySTiPL3ZzivQP10AVBtmXUJE2FuWBpRN4XkaFVCMZ+Q3 uE6Kp2fNrenrxgDCFElG8W54ufB3xzEHKwc4rqw/O/VBZn6o0CPWOju/uTncMxa8stIq +6LNzYibRO3Ii3kWEkmYYofbiPWa/kGCRdwJtXRdHM8AJi5ga6uvEwGP29GpyQ2hamy4 muppLIXc7djtXMf5mIoM5Ssgcts7xdS/UrnSKbq5zcTfDrkmT5xEbzNLl/xm8DyXIdSD ugrLG8A2hzORw9X23gwxF297J/9CXKudemsRnA9rpUJZ0F8gIWQ5BWwqZLcwM0B2DJoQ BZUw== X-Gm-Message-State: AOAM532ongRf9DvamTVbyA3RRqyeQJt/xwnzgc5qg4HPmAxwhiYomnrU mYJwtiGcjc2ygHkrYTFc9zs= X-Google-Smtp-Source: ABdhPJzl7yx6va8IfkiTv9dh6by6gQdg1/hFNrkxOXSCqm+m4B9AJjadDVA7V0kEGKBC17eFs3YaAA== X-Received: by 2002:a17:902:e309:b029:e6:c17b:895a with SMTP id q9-20020a170902e309b02900e6c17b895amr9869758plc.74.1616676175363; Thu, 25 Mar 2021 05:42:55 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.42.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:42:55 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 3/6] arm64: dts: meson-gxbb: Add missing ethernet phy mimo compatible string Date: Thu, 25 Mar 2021 12:42:22 +0000 Message-Id: <20210325124225.2760-4-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210325_124257_009668_192E58B2 X-CRM114-Status: GOOD ( 11.81 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add missing ethernet phy mdio comatible string to help initialize the phy on Amlogic SoC SBC. Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 1 + 7 files changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts index e8394a8269ee..f3b0947b8586 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts @@ -69,6 +69,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* IC Plus IP101GR (0x02430c54) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; reset-deassert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts index 7273eed5292c..a4c09f1af24a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts @@ -202,6 +202,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts index f887bfb445fd..abbc5571efde 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts @@ -209,6 +209,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* IC Plus IP101GR (0x02430c54) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index bfaf7f41a2d6..4287d83d6f2a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -237,6 +237,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts index 3c93d1898b40..f7a1ffe453bc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts @@ -75,6 +75,7 @@ mdio { eth_phy0: ethernet-phy@3 { /* Micrel KSZ9031 (0x00221620) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <3>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi index 9b0b81f191f1..0cf4bde81c6f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi @@ -123,6 +123,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi index a350fee1264d..e652f112bc45 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi @@ -144,6 +144,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; From patchwork Thu Mar 25 12:42:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164021 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.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 37654C433C1 for ; Thu, 25 Mar 2021 12:43:50 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C717C61A17 for ; Thu, 25 Mar 2021 12:43:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C717C61A17 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=uQiGU1Se3e432AXdpkkGvvqW1CD4/RN609K69CMyHhs=; b=cUVRFBY702go1oZbKygPAB5Ti 4dJBRWosu+K/51LrS6HqipoWc+RLywVdY3pv96/wIX0ZwmKp5EKGSp7l4pzS51TR83aGt/mtiI84C bTegrsqdsp4XROpW3xR3dkDfjlLI1cB1khFn3lKRry180hA6chN/Oa2E/n0rtABO6Pee7kDMrIz+n wYX6vvO+LBjcaq/D65teIpS3/fFJ7zWsZEy6c/fxsSnU+tvZ8ShaqcpJI15Cqhz9yLxk8tf+TyJPm 1G0sz9zhffXJ7+FMBQZLKKXhIF1wGRFGXIUHJVkuERCgv0mCOYJ1Hr57b2+rO2riNFK2H8V6lcxyt LxvKIxj9g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPPKx-001PxW-W6; Thu, 25 Mar 2021 12:43:44 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPPKH-001Pim-NK; Thu, 25 Mar 2021 12:43:04 +0000 Received: by mail-pj1-x1031.google.com with SMTP id k23-20020a17090a5917b02901043e35ad4aso2657658pji.3; Thu, 25 Mar 2021 05:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=np0SSxLTsfaMyZQWpoX2X5BItJhfehHr1tDviU+H3Lc=; b=m5N90QbNb9Iz0w2E4mpSUzWYoEK3lSG7cYGOMcMW6i40uvcmKKFnGcfRESuRlCRYqt 029RJ75YMQQp3e0l7GUHDhDrATTHKROcAPMdSfwfJNSVxX7/pr0pYZ+OhsE7kZtMdRQK YHYuZ/aHcslFPHu1VY0KwKD6f0FSfMb4hcaJyuK/LjLWQbCvezJ/jl1noWCIkKuxzShh 7vJJyqqmXCMk4ovy8w2zyNQJQkBICbKG/hingsjCSE+cxKriOSoTBZb73AIW3v2sUiO1 cXkCWStHQr8paPS9dwEkoHGqcLwtRdHS7qdotkNqLhW1ybEIuMKlWii0oQSTYYxMk5oB +/3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=np0SSxLTsfaMyZQWpoX2X5BItJhfehHr1tDviU+H3Lc=; b=Pg2LAN4BjQiuO3XKy2BOXYStOkCQVH85uBbeH4YWhIKtAusDkpo/UWTQgwM8m+05HA ULWZYyHNGk1WupE7Pe7jNWr/hFz76OL9f21pw1+I9clg0d8Nqy7IbVGtd2hWXDzLujHS rc4h2U2v7GVk3OsRo8gf00oYkFm9q2hDghIvRRCnQitLnA7bKNg09zxaUS/wnvY6bKP7 CfZZUBoWa2xU+2nRV9lJlBTzxRGKstpkU5PoXjYlTSCAxxarWepKNMvlfp+Go557P3y3 sP/d3dmyH8T4+BTMuEo4JVbCxrS5w9DhzOxMgOEDOaqyvgZLhZOGlQLYZbDKaGEbgA4J W6ag== X-Gm-Message-State: AOAM533dvkW22iLihDt5iyL+4gTWA7rIcgiaY7DvgM6xTXPz5A4HtfiH Xm8cknze5jpGy6/51Bdq6k8= X-Google-Smtp-Source: ABdhPJw8nlmrOvGUCqJ11kK8pHt/A0pB4F7zYvzwpYK3cTiwOCCq4fodhtdztP97FJQBavm7SBWbgQ== X-Received: by 2002:a17:90a:990a:: with SMTP id b10mr8606922pjp.178.1616676180544; Thu, 25 Mar 2021 05:43:00 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.42.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:43:00 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 4/6] arm64: dts: meson-gxl: Add missing ethernet phy mdio compatible string Date: Thu, 25 Mar 2021 12:42:23 +0000 Message-Id: <20210325124225.2760-5-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210325_124302_563542_3032509B X-CRM114-Status: GOOD ( 11.89 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add missing ethernet phy mdio comatible string to help initialize the phy on Amlogic SoC SBC. Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts | 1 + 8 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 359589d1dfa9..d7cfcde40fc6 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -374,6 +374,7 @@ mdio { eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; interrupt-parent = <&gpio_intc>; interrupts = <98 IRQ_TYPE_LEVEL_LOW>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi index 2d7032f41e4b..5bafb45f6c46 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi @@ -272,6 +272,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts index b2ab05c22090..c0c2505081a5 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts @@ -77,6 +77,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index 18a4b7a6c5df..7cb834dcc91b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -229,6 +229,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-assert-us = <10000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts index dfa7a37a1281..abaf58b7b765 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts @@ -108,6 +108,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts index 8edbfe040805..1342ca285d44 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts @@ -59,6 +59,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts index dde7cfe12cff..c96fc23fd8f1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts @@ -110,6 +110,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts index d3fdba4da9a6..a99a760f253b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts @@ -32,6 +32,7 @@ ðmac { &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; }; }; From patchwork Thu Mar 25 12:42:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164023 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.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 B5D9BC433DB for ; Thu, 25 Mar 2021 12:44:05 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 48EBA61A17 for ; Thu, 25 Mar 2021 12:44:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 48EBA61A17 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=gDWR4gSFJpkvyRaQeESVbtXhnm6wnhb9c4ktOaS+PWw=; b=b1e5T5nQ3RCUd3PX4+5giPo/i Sv6kgJhWQoHrxr7YY9c3bt6Js0MvHdwaSv0gpjLCsXwyVf639Sum28Q+bh4M1wnUJTtdtyGtPTsfV MJibmsQ4oMl46Xdgs6SKCFxL0rRhRGEgmI89ikFIBJJLqW1g5H14lEo8ut++K8dPlnlLOzOkvq9A/ EVCqzkzHn8XHHOfXSe1aND72LdpwFHVric5Dt+o9C41r2UuB9oULgSg5EdXvF330nJdKRuLkYyrUa WtMecZcfDC7B4k7/xhyTYez9ju4ZNtCaX/C2kNeATyDrG+kEkJFTOdJh6V5s+y0HvMoLxTgfA05Xh fBJUMgNIg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPPLD-001Q45-Gf; Thu, 25 Mar 2021 12:43:59 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPPKM-001PkJ-Rs; Thu, 25 Mar 2021 12:43:08 +0000 Received: by mail-pf1-x436.google.com with SMTP id c204so1942585pfc.4; Thu, 25 Mar 2021 05:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ewEJiuUTUTiMPuh5BO0z//1JOB0w6fbG+bZ6ErXDulI=; b=qxsKAo5K6SnRq8s5y0PaFyRkSEBUVeFNRHgCPA+XBFsLd0SY2+zXz9SZMVcaOVnQ4r P/TPrYY6YGGlT4riIQV0a7TBaeWlave+J6OCYL1Y9qHjJ7ixoPhX+nCbS1WtXy8XknRw GuobUlCyeyUG+PTsBDZdEMMYKA3OzWb/iwuV6515cgH7N0HUFyG58Bm12pCGHRo2MOuY o7b4cQnMzypClW3PwcnPSflZER157BM7jR71UiW9PNgl1AWVtrIBkeD1kDDbhgbrjmEt iQybUnuIOXIFzp+WDHWxAPiOjkrs95ofJd5o6GxGFPJ8/LLIxfoPiMEBAENp786oABmu PxhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ewEJiuUTUTiMPuh5BO0z//1JOB0w6fbG+bZ6ErXDulI=; b=Jj+DILMSSeX2SGG0bSlE8UMtzbYxIPtuwu5Z5CQ46MvjrAbovrKT2r3kh/2+53jxOC o/IhmpSg4MsR4gPW6CzF4u0N/aiu0TGnrgYogIW4Aj+/H5pbSNoGD9Ri4qsm0XzrQsV2 UQ7r8lxPXqhdfO1lm0VV6vE7r43U3oQ0RZuBXc2MFPAFdaHiU4o0VZT3WyUiTYPZT9x/ aldybLY8sXXrRtMF5s5IsJJY8cPsQIux8sHizs9gClpeV5OXTYqqrmn08d3Iv8K6TJFZ cw9g7mGjQMgyxDr1CM9iQkjOPVTja0Z8WWlGsjyBb0qzeBShhX3HWEqKSGo6pEjqxz8A DE7Q== X-Gm-Message-State: AOAM532ELRFMQabGpljyqZeW8ZK8Jd8ba9/Cj8LW4H0iEjax59C+IR6y PrA877HOYNL6e98vcw8FK7c= X-Google-Smtp-Source: ABdhPJw5fm7m4uyEDWOOW4A8Qp1oFNL4AVVvqXdofBzw3DiUHKCyBr8ExRRshq7tvxOKVvkd2maKOQ== X-Received: by 2002:aa7:8187:0:b029:213:d43b:4782 with SMTP id g7-20020aa781870000b0290213d43b4782mr7870651pfi.26.1616676185407; Thu, 25 Mar 2021 05:43:05 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.43.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:43:05 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 5/6] arm64: dts: meson-g12: Add missing ethernet phy mdio compatible string Date: Thu, 25 Mar 2021 12:42:24 +0000 Message-Id: <20210325124225.2760-6-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210325_124307_013525_586E6B30 X-CRM114-Status: GOOD ( 13.44 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add missing ethernet phy mdio comatible string to help initialize the phy on Amlogic SoC sbc. Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 3 ++- arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts index 579f3d02d613..32c99035a18f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -335,6 +335,7 @@ &pwm_AO_cd { &ext_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; eee-broken-1000t; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi index 58ce569b2ace..12f70b38ce67 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi @@ -410,7 +410,8 @@ &cpu103 { &ext_mdio { external_phy: ethernet-phy@0 { - /* Realtek RTL8211F (0x001cc916) */ + /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi index feb088504740..cfb89f5e6eef 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi @@ -260,6 +260,7 @@ cvbs_vdac_out: endpoint { &ext_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi index 877e3b989203..4d4a5d467bc7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi @@ -273,6 +273,7 @@ map { &ext_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi index d14716b3d0f1..5bdbf0d09bc0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi @@ -253,6 +253,7 @@ &cpu3 { &ext_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; From patchwork Thu Mar 25 12:42:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12164025 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.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 23CF9C433DB for ; Thu, 25 Mar 2021 12:44:27 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AC45861962 for ; Thu, 25 Mar 2021 12:44:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AC45861962 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=yLYYd0sQz4/2bO+o+HBemY1XcjnVVmfGc6DJfozKN6E=; b=ZbOoLLIIQwTj2nb1f0ITJaCxn mX8M0QMhmlzB6yuNismHn/tyR4vAHI91WkEIQVC9HaVGYKxjGbprcLXUhDLi5zSifOD9Voe+hK+SR 1INXJJD1ccHH3BwDxne4TTGPuIWrYttk75nhLkteCuQyw8ZOrs7yjfqPWCJuYVL9M0E+8E8RxKtDo duyrvBnLFx0yIlp9CMDFbOvy+Gj/2T58S1EO2Eydi+dNgYPt56NPFO06ryzoJ5w2Ei1rk39vAQ82z Tz6znGwGYJt1Vk563QimAweEsY5xm/tGWZKeemVYzbZtb0KsrT/3VkRGRU10Ld9q+8qJV1e9gsmj5 YAM+xTfKg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPPLY-001QCQ-1v; Thu, 25 Mar 2021 12:44:20 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPPKR-001Pmc-LG; Thu, 25 Mar 2021 12:43:15 +0000 Received: by mail-pf1-x42d.google.com with SMTP id g15so1950384pfq.3; Thu, 25 Mar 2021 05:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iEn6qKJ0gN4j90BS+aCP3T+jQ0ecUWl0Idd4DLZOaBs=; b=kL4jghWXYvGUk9aIgwhEwP+eY/j/zpJ3JozsIHI2hc+IsM1pXFILpKYoxU5rJopvEw ze3qBMfeHzCOY4StFgCfP4dC2hKQCabNcWrmT4ewtyDxU123R7i6imjZsVFiV//fYXwG /ZkCa4/YFPV1bR1sRPSf79jKAtPuLJE4L931KenhOcqb5N1kOEZdWfpQa76jq8AZf8ny 37j26Ll7SwtTzPrgH9ylSMyhb5u/xtxIksTHngThNfamA1Q6tV5GhCdze8/zWGH1s4E/ phXS3SVLVZHtJ0313e4pkKoPCzuunpXGy0zwA+dinfQEVxX8iPVtjP+G3AtdI3CLaa1K GK0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iEn6qKJ0gN4j90BS+aCP3T+jQ0ecUWl0Idd4DLZOaBs=; b=Ehbmp3CqloX5Yn2larkCYRuWdVOEvNIuMACc+AT+27PdMgLCYDtwe5qcR/mWGA82D+ BQ6LBoX594kDQNboNOusMOqIYqV8z5z9AFXsLRxzLaXAAPT80ihsAaFW5G0YH21CoOd4 ebUbpragXsh1WOoGeBPwDfTUpuAfc0vN1igDLrlU/92HTY1Mi6L/TFGj8NTovBrFDlLX ylexaLnpFqQY2a/Y/q/B00RqVKl3NA0zYwLx6qZr6Uw1r1cXZYT784s/XJ3Micquw0W+ MS7FRwdfymEC0XyXqCPKUkFyvSsn/6EDbGXc/8gnTCrViwB3iqvf9Bz5WbbvulUO1xOw JSfw== X-Gm-Message-State: AOAM530OHFRmIoCrsu4Iw8EhD4ZBOmO3LYQfw3Wfz90igmaSpUbJ2A2x lRN9eH9HD5aP8aY37T+/VW8= X-Google-Smtp-Source: ABdhPJx/yBK25ROu+Q46FS9EPvSNS8ntot4VYxYvF1e0VDn1qlFEWnKCqXZe3VGsoMsUfPJSwVLAzA== X-Received: by 2002:a62:8485:0:b029:1fc:823d:2a70 with SMTP id k127-20020a6284850000b02901fc823d2a70mr8120061pfd.18.1616676190304; Thu, 25 Mar 2021 05:43:10 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.9]) by smtp.gmail.com with ESMTPSA id t17sm6125917pgk.25.2021.03.25.05.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 05:43:09 -0700 (PDT) From: Anand Moon To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Florian Fainelli , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anand Moon , linux-amlogic@lists.infradead.org Subject: [PATCHv1 6/6] arm64: dts: meson-glx: Fix the ethernet phy mdio compatible string Date: Thu, 25 Mar 2021 12:42:25 +0000 Message-Id: <20210325124225.2760-7-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210325124225.2760-1-linux.amoon@gmail.com> References: <20210325124225.2760-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210325_124313_851040_613743C2 X-CRM114-Status: GOOD ( 13.19 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Fix the ethernet phy mdio comatible string to help initialize the phy on Amlogic SoC sbc. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/ethernet-phy.yaml Cc: Neil Armstrong Cc: Martin Blumenstingl Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index c3ac531c4f84..303f54384a9a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -773,7 +773,7 @@ internal_mdio: mdio@e40908ff { #size-cells = <0>; internal_phy: ethernet-phy@8 { - compatible = "ethernet-phy-id0181.4400"; + compatible = "ethernet-phy-ieee802.3-c22"; interrupts = ; reg = <8>; max-speed = <100>;