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: 116380 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp408072qgn; Thu, 19 Oct 2017 05:02:08 -0700 (PDT) X-Received: by 10.99.108.2 with SMTP id h2mr1197639pgc.362.1508414528466; Thu, 19 Oct 2017 05:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508414528; cv=none; d=google.com; s=arc-20160816; b=vsBoTkrt0E5++n/h39Ic34xDt+FofJ7K30p5BRKNfmdHRS0Q2Tp7kOA85zolKx8wSB 2D4YrJXydghB2JB5zgyxbCbzFgu5m6v56DlXniF1xxy9Fkzoj1fQmuxhJE4SClhZBKF4 ZLIETW4R2ChkKKltGq6KwZ/EPiti0PZOGu1CuhsVXfClwaYK7kzScOBn0BRms+XbFMZB EmE8F8velpDYteXQmpaiuczIjcbImYVAZoTwSbF8tFCM29GUF3Q4/fuf2Lq6v/vtmND5 YNt+dEzr4oVTcH20QntJAOUyMPsCkzUCkMF2gYxMhjkt9mCKy2miLQCbgv8yqotgHiRl 0aPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=BqwNd41W5Vq1iCP+BhNXRt95dFMp8BfQ/Bf5Eo6qKgY=; b=rtFZO3LiBGYcu01BpwZ3cc0rbzXHrG7yokAeRnMUZgYZVioYpkue7xvUdeMscGjL8Z Tf+3V7ewZX2G2Zq5a1XSe3wFggQIjH3Yo7pWe+6XE8E2fRotZF96B0KDURcUep8YqFyS ZSsbdhsjMRwu3Ydvt397MuI2li8KgCHJyzAK6rxXKWnrNBP8ymIag5To/RSHROsQXEkL 7CAjo0XwFH6WucNYYrutmjGVwnBcwhMFvaTPh7z5pZu/wYVikQVHWHpUEag0GPKZLUCL GL919NDPB7VYNfaURwbXNvnf/RprZ5F8Q5s53EsGIHtP8IDSFMndXi5Eetxxp4BFhVrL QYYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=umUt5F0c; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12si4654746pld.307.2017.10.19.05.02.08; Thu, 19 Oct 2017 05:02:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=umUt5F0c; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753296AbdJSMCG (ORCPT + 27 others); Thu, 19 Oct 2017 08:02:06 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:47963 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753258AbdJSMBz (ORCPT ); Thu, 19 Oct 2017 08:01:55 -0400 Received: by mail-wr0-f193.google.com with SMTP id y39so8061564wrd.4 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=ADxwPR/MpCbOmPQLysfJstN2SEZZWu+71yGmG9WvTdY0KeuUSA8ke009Qm2QbBTEaZ h9UGZZpnJvIHK8niuRQeKST/kg5uRf3g8xI2eZLXUk6nas1j88aCFDtTZ1Ov0mtCdrtd QwpNuQIdxbLiL/+ZUylaA2Zal/8RbrbwlRwJgvIBHThKqvuicSSE5qFt/HcqA/ELiFwt Md4IWnovKvmoCwhpNqAARRyfH4mlatqALKjRZYOhSwKfbDR+W5YNkmkW5BWiCO0WvBTe 7QcMccR81LJWEltQ+m1zP7lCEPCXUDYnUbhqNQUINzdgBQDSnTdvyPgj2EVLV2J4uz6V T4HQ== X-Gm-Message-State: AMCzsaVaRgzfixxPrlNZUS2b06qJdKNEhHWU16kcHddLNtRux4pdrzmG piCnbLQcWP4SxOEs1juLNY7ZAg== 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 Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.13.6 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>; }; };