From patchwork Thu Oct 19 12:01:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10016577 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5A82D603FF for ; Thu, 19 Oct 2017 12:08:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AB8828D00 for ; Thu, 19 Oct 2017 12:08:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F66728CFE; Thu, 19 Oct 2017 12:08:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C9B8C28CFF for ; Thu, 19 Oct 2017 12:08:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KBHpMH/Tc46D5BE2fiOsFiZnvb6w6FB+/qTmbBI2JUw=; b=f88N1Bakf2EWiTTuIP8u2q99VW PhXjrpC2xPNr9/XIVWtKR2iyAufjYYtFTJWR2EBuRHpVDQffj2YKKM/62OhgzWFURn25pzgrKw0UG oopwX7yoiLntkr4a3zEsC3wvMDmmluL1FfE2de+dqrQuXr95KAVBp5WcuPNzj9IjDzaApTfrS1yiN qMlkyu9pSkSUqIXaFcmTOLBnoDvw39j6SNTB0UvJVNoMHdKHFddrZbBvY7g5EfWBDgOKa/N+z5lgL dv2NdLcvhPS0M2rdlIn2xw12ujZ9hGk1PfUV4mpJW7/1W9ws5sWVWaRD/Xyo0YWnwSc/JYR1fy/mP XuedhKlg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e59cU-0007Lk-Qk; Thu, 19 Oct 2017 12:08:14 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e59Wf-000355-76 for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2017 12:02:25 +0000 Received: by mail-wr0-x242.google.com with SMTP id g90so8053036wrd.6 for ; Thu, 19 Oct 2017 05:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BqwNd41W5Vq1iCP+BhNXRt95dFMp8BfQ/Bf5Eo6qKgY=; b=umUt5F0cps2b6MiY1NXIeoljnGHdXDWNSOoWbMjqKyKdiFapyoR0V3wrBrMXi8voLl 2tiri6PlCD3XI1CmwD9z8oqmOh+jIlBUGigSK0EOwgKh64Rm/mar/HUOUjhxZew94FDo +uFtIXm77oCyh9Y895rOjVZVPdXupqxsagHORAcRk8KrI6op+zU/QZOSitIE+EiKpNan 9ID9f7KL+F8rMNitpJpXP/bNM56OYtudxCNjSbrZv1Qdjir7BIINpBf/GRAPChvt6s2P 79qJyP0FC6y0LT35C468noxOsq1A4unf5XEt0PauP9L/84j0XR4ELKxLEsf56Nl/9mol jeZw== 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; bh=BqwNd41W5Vq1iCP+BhNXRt95dFMp8BfQ/Bf5Eo6qKgY=; b=ppAj6bsf8/80YYu+lc1//Rl7rf3UVHUP1JNwwLw895pLu7H0uk72jkLl6V2PRyHLp6 aGP0NxQRE/+zoOAWxJ60gSnWRlQQnJvEU9uY83OrtYbWn7tPzBxBEMs52TkZDWsIcaOk RNtmVWyGOej6m3rcPfvBZjB6MBkyUq4Ik17WZH5ohNXTDJHAtldt1l+uyk3te2suLGvZ XkvcR9YJf0I+4xMM7PNI6EJbeA/dv2iNWDZLMD7BAWAj2cmzlmbvas1xPO9Lo4AZDgRm gKeCYuXH3kgx+U06UAR+RkvxoVn3VKAdrWWIF80zckvnV2xw1dEW8Yjzcaou9SQGBd3/ ELVg== X-Gm-Message-State: AMCzsaXiDyysNODRDBaqAs+GsPkXzCJxUFKKiUkSN1cWQmeiWbS+j8qx vwy3Gp6uf6feaOkxC1T9/NB7mA== X-Google-Smtp-Source: ABhQp+R64W91sv2VqR46tTcJFr0Xuik5JeUPQuaBF2QAJFRWkioSVmct2BSlz2JANRPvhyfyBnJ0Jg== X-Received: by 10.223.134.154 with SMTP id 26mr1467342wrx.137.1508414514211; Thu, 19 Oct 2017 05:01:54 -0700 (PDT) Received: from localhost.localdomain ([217.110.245.107]) by smtp.googlemail.com with ESMTPSA id x75sm1484089wme.3.2017.10.19.05.01.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 05:01:53 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 5/5] ARM64: dts: meson-gx: add external PHY interrupt on some platforms Date: Thu, 19 Oct 2017 14:01:43 +0200 Message-Id: <20171019120143.20581-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171019120143.20581-1-jbrunet@baylibre.com> References: <20171019120143.20581-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171019_050213_518187_70ED2A73 X-CRM114-Status: UNSURE ( 9.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the external PHY interrupt on the nanopi-k2, odroid-c2, p200, p230 and q200 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts | 2 ++ 5 files changed, 10 insertions(+) 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 2e853c082a65..4a4251001bfd 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts @@ -168,6 +168,8 @@ eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ reg = <0>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; }; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 1deaa53c9fb5..fac5c3eeb07d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -157,6 +157,8 @@ eth_phy0: ethernet-phy@0 { reg = <0>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; eee-broken-1000t; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts index 2054a474e0a9..9bf16bb7c491 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts @@ -117,6 +117,8 @@ eth_phy0: ethernet-phy@3 { /* Micrel KSZ9031 (0x00221620) */ reg = <3>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; }; }; }; 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 6827f235d7cf..4f3f03fc31b0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts @@ -128,6 +128,8 @@ compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts index b65776b01911..66c6da7e112c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts @@ -110,6 +110,8 @@ compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; }; };