From patchwork Wed Aug 21 14:20:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 11106937 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 403C614DE for ; Wed, 21 Aug 2019 14:22:00 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1E1F322D6D for ; Wed, 21 Aug 2019 14:22:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="G13KFLrB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="pAj6gXZS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1E1F322D6D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=NE+EYzEJ65QeUkDx37l3X6CmYYKXtZThMeIipz5JYPU=; b=G13KFLrBfgKZNR 60nA7lh1rtwfEfpD15nCVwAR6osA4JQcDxojCg0xJX/OSZX3bpCBzS0MKMlhnlvBv3ctk3bARARZn m3faMx++YcECD2FXT2+3fHuIPjOnmKLr0tvzYQPaMEvZnloZ2Q/Bo9BIpLHo2GSwjTKBizBTy4m5O kCnRpKWgPeKl898Ljg3+10sn2lED/PostE8pADeQRupKH81Z6gD0pUrpX2q+6Ty2IfOvr91lmZjLs 8PGoQ/SegR/DkgYZSQ2JYOYE/x7UkUyNzB7scFdfpj8CBHzreHwrC+1dpJ+AYyez3DiXx6AdwO9uU j7C6dpu4KuEYHMiYwIOA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0RUt-0007kk-It; Wed, 21 Aug 2019 14:21:59 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0RTr-0006fy-Ok for linux-amlogic@lists.infradead.org; Wed, 21 Aug 2019 14:20:58 +0000 Received: by mail-wr1-x442.google.com with SMTP id y8so2210429wrn.10 for ; Wed, 21 Aug 2019 07:20: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 :mime-version:content-transfer-encoding; bh=vAP1onnqXTzP/lvNpHvvz2UdnrOcw8U+6337qerbDS8=; b=pAj6gXZSmQY63NCHL74oE4dUYzy2conZuGZKMrHcQ8dFBZk4xZKCcF569gE8DG8yX2 41g1BLBzwPbS9/gq1k1rXEfFpX04K3JOt8Ic59XAGA6XSqgOAi427bH9818L35i+hiDY rprG0fXDwO2HM9fvCSULC6hX83fO++VOSseEP0toge8degLpXt/9xgqKbLIJVV++RhaC tp9bchzxyuk2oFL3AGjLImSfQbiMS5yEZlaOsvrsDJKwkDEK003mJg4Yh2MxiK6Xkm/r 7SFlYlelfAoOFjoIQjD8g72WEpv7cH7djvSwkixH+TpDLGX41sFzFK1j4BPCZBT7OL8w FUTQ== 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=vAP1onnqXTzP/lvNpHvvz2UdnrOcw8U+6337qerbDS8=; b=XJbUg2gOgC4jhpdB7PfqanikpA2lAxQ3hiExjfttWjQ/CckgzNPtrhETwYNtqsMcZ+ kFLL1nHGz4Pfx7Wq97gA73B/V9Ar9tDeY8V34r7fg507kvfWuFL5VhY6mde4M69e+CVk X0NCXS9t9vy6SIZkWSvbFCwhnWa3kSW0JrSeNbO61JeSMziJbXIUCi7iKydA7uHHMihw anxdn5NQEep/ZZTIrMgBuJWUFxy4AjsZhxxThnXBwwnPtNhIqwqzJIM6ytjmBZ05SPhH 5cYZB1VuN4TXWtdLk1ww0fzksOLe4AldfU9phPUDHrOOBMq2IsClqvxYJQhOQ9026g0N 457w== X-Gm-Message-State: APjAAAX2HsdcJ2IxlTyz9ITm7qDQLjH3+58cO0PO/T/EtpPnpGj+HsQM usEoGeQ0vKblq0B3mfFcyLIIHQ== X-Google-Smtp-Source: APXvYqyao145aZphdebE9ne8Van69sub9EKRL8yfyjYDM6LtGh2JA3XPFvYbCsnwXYhL4YBE/YOoGQ== X-Received: by 2002:a5d:4a45:: with SMTP id v5mr32619231wrs.108.1566397253939; Wed, 21 Aug 2019 07:20:53 -0700 (PDT) Received: from bender.baylibre.local (wal59-h01-176-150-251-154.dsl.sta.abo.bbox.fr. [176.150.251.154]) by smtp.gmail.com with ESMTPSA id o9sm33418939wrm.88.2019.08.21.07.20.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 07:20:53 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH v2 01/14] arm64: dts: meson: fix ethernet mac reg format Date: Wed, 21 Aug 2019 16:20:30 +0200 Message-Id: <20190821142043.14649-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190821142043.14649-1-narmstrong@baylibre.com> References: <20190821142043.14649-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190821_072055_799017_1BFFD9BE X-CRM114-Status: UNSURE ( 9.35 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Neil Armstrong , Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org This fixes the following DT schemas check errors: meson-axg-s400.dt.yaml: soc: ethernet@ff3f0000:reg:0: [0, 4282318848, 0, 65536, 0, 4284695872, 0, 8] is too long meson-axg-s400.dt.yaml: ethernet@ff3f0000: reg: [[0, 4282318848, 0, 65536, 0, 4284695872, 0, 8]] is too short meson-g12a-u200.dt.yaml: soc: ethernet@ff3f0000:reg:0: [0, 4282318848, 0, 65536, 0, 4284695872, 0, 8] is too long meson-g12a-u200.dt.yaml: ethernet@ff3f0000: reg: [[0, 4282318848, 0, 65536, 0, 4284695872, 0, 8]] is too short meson-gxbb-nanopi-k2.dt.yaml: soc: ethernet@c9410000:reg:0: [0, 3376480256, 0, 65536, 0, 3364046144, 0, 4] is too long meson-gxl-s805x-libretech-ac.dt.yaml: soc: ethernet@c9410000:reg:0: [0, 3376480256, 0, 65536, 0, 3364046144, 0, 4] is too lon while here, also drop the redundant reg property from meson-gxl.dtsi because it had the same value as meson-gx.dtsi from which it inherits. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 3 --- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 6219337033a0..4a134d29491d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -174,8 +174,8 @@ compatible = "amlogic,meson-axg-dwmac", "snps,dwmac-3.70a", "snps,dwmac"; - reg = <0x0 0xff3f0000 0x0 0x10000 - 0x0 0xff634540 0x0 0x8>; + reg = <0x0 0xff3f0000 0x0 0x10000>, + <0x0 0xff634540 0x0 0x8>; interrupts = ; interrupt-names = "macirq"; clocks = <&clkc CLKID_ETH>, diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index f8d43e3dcf20..465106d37289 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -141,8 +141,8 @@ compatible = "amlogic,meson-axg-dwmac", "snps,dwmac-3.70a", "snps,dwmac"; - reg = <0x0 0xff3f0000 0x0 0x10000 - 0x0 0xff634540 0x0 0x8>; + reg = <0x0 0xff3f0000 0x0 0x10000>, + <0x0 0xff634540 0x0 0x8>; interrupts = ; interrupt-names = "macirq"; clocks = <&clkc CLKID_ETH>, diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 74d03fc706be..faff77175486 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -489,8 +489,8 @@ compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac-3.70a", "snps,dwmac"; - reg = <0x0 0xc9410000 0x0 0x10000 - 0x0 0xc8834540 0x0 0x4>; + reg = <0x0 0xc9410000 0x0 0x10000>, + <0x0 0xc8834540 0x0 0x4>; interrupts = ; interrupt-names = "macirq"; status = "disabled"; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index c959456bacc6..ee1ecdbcc958 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -80,9 +80,6 @@ }; ðmac { - reg = <0x0 0xc9410000 0x0 0x10000 - 0x0 0xc8834540 0x0 0x4>; - clocks = <&clkc CLKID_ETH>, <&clkc CLKID_FCLK_DIV2>, <&clkc CLKID_MPLL2>;