From patchwork Tue Aug 2 20:25:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias Kresin X-Patchwork-Id: 655135 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3s3npp39cGz9t2W for ; Wed, 3 Aug 2016 06:28:50 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kresin-me.20150623.gappssmtp.com header.i=@kresin-me.20150623.gappssmtp.com header.b=X1lH2WYH; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bUgGt-0006Zm-76; Tue, 02 Aug 2016 20:26:39 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bUgGn-0006Rl-FJ for lede-dev@lists.infradead.org; Tue, 02 Aug 2016 20:26:35 +0000 Received: by mail-wm0-x243.google.com with SMTP id o80so32775353wme.0 for ; Tue, 02 Aug 2016 13:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kresin-me.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=v7bW1SkSpy+LeKEQk4TsQTSKkjp4xCs7z3y+dJ4QpnY=; b=X1lH2WYH4Z82vCopKpgxR5ZK9iCxFllIjRayQMionW0GYomU0gfr8taIB2ys0A1Ykj q1npraa1sIQzi+ArH43jB45LSnW/qxnG+yc3u/fIuwXl1CznIdr/h29oVuRC0sJjNY+O ebtPhBJePuYvstHx3ce6tUgtRDv744Yx0aHM7SRl8AMbPhHnEBDJYuG/PClO8Ewn7/1c NkZTZRryrXQqhqu8vft20S1c1PNjSsAQNywyUqOu3xmyD8usYA72ZEWDnvH1Ws119OsR PENug7fmdrNsAhz8+vAqFIH+GZlKAtGiEPDtjMCXUVECI057P/sfbm2+aYYULVcUS4lS DgUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=v7bW1SkSpy+LeKEQk4TsQTSKkjp4xCs7z3y+dJ4QpnY=; b=f1PUoPhMRYDEXmcQICjiwXdyGLEbF/TIM18w6u7HMExFV+wiw3YriGR8CEmjs/8e3O cHIX7kwiXcsbdfaMjucT0Mz3IYPr/MrnkOsR+nHmblZgK4og5/8zg1FOJ0IP3zCCZInt 7qOkxaByrlOWf98dr0NdDrdlXd2SPnRDgRf+HI0WvamgY7cgUOpLNGtn9Msu3ZycN9A3 IeLToqjV4RyxyFayhYEEyMqFQqrhhjlrwUKl74hc59qflKCBdJEp1+N0fchg0zKVuPBB dD8pWscbBW0aTSQie9Yj1JJGv8n9VyftPDi4CSydtk1R9Lz4o9eZ05RmAUQd9S7iRKU1 kPEQ== X-Gm-Message-State: AEkoouvl2UxrhmemHShjcdePFBjroQE3OW7ZymMCWAC5iR8uLbbrcB7y4Kb8MG67w/3hkw== X-Received: by 10.28.92.71 with SMTP id q68mr20078257wmb.85.1470169570613; Tue, 02 Aug 2016 13:26:10 -0700 (PDT) Received: from desktop.wvd.kresin.me (p200300454B096D00631C7FC25CD5DED3.dip0.t-ipconnect.de. [2003:45:4b09:6d00:631c:7fc2:5cd5:ded3]) by smtp.gmail.com with ESMTPSA id r13sm4622129wmf.12.2016.08.02.13.26.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Aug 2016 13:26:10 -0700 (PDT) From: Mathias Kresin To: lede-dev@lists.infradead.org Date: Tue, 2 Aug 2016 22:25:58 +0200 Message-Id: <1470169562-26594-1-git-send-email-dev@kresin.me> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160802_132633_783399_1CFCBD99 X-CRM114-Status: UNSURE ( 8.01 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:243 listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [LEDE-DEV] [PATCH 1/5] lantiq: use ath, eep-flash/mac-offset for ath eep nodes X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org No functional change, just easier to get what's the purpose of the hex values. Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/ARV4518PWR01.dtsi | 6 +++--- target/linux/lantiq/dts/ARV4525PW.dts | 6 +++--- target/linux/lantiq/dts/ARV452CQW.dts | 6 +++--- target/linux/lantiq/dts/ARV7518PW.dts | 6 +++--- target/linux/lantiq/dts/ARV8539PW22.dts | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/target/linux/lantiq/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/dts/ARV4518PWR01.dtsi index 4a3eb05..4034b15 100644 --- a/target/linux/lantiq/dts/ARV4518PWR01.dtsi +++ b/target/linux/lantiq/dts/ARV4518PWR01.dtsi @@ -58,7 +58,7 @@ reg = <0x20000 0x3d0000>; }; - partition@400000 { + boardconfig: partition@400000 { label = "boardconfig"; reg = <0x3f0000 0x10000>; read-only; @@ -84,8 +84,8 @@ ath5k_eep { compatible = "ath5k,eeprom"; - reg = <0 0x3f0400 0x1000 - 0 0x3f0016 0x6>; + ath,eep-flash = <&boardconfig 0x400>; + ath,mac-offset = <0x16>; ath,mac-increment = <1>; ath,eep-swap; }; diff --git a/target/linux/lantiq/dts/ARV4525PW.dts b/target/linux/lantiq/dts/ARV4525PW.dts index 6a7ca62..9d27278 100644 --- a/target/linux/lantiq/dts/ARV4525PW.dts +++ b/target/linux/lantiq/dts/ARV4525PW.dts @@ -59,7 +59,7 @@ reg = <0x20000 0x3d0000>; }; - partition@400000 { + boardconfig: partition@400000 { label = "boardconfig"; reg = <0x3f0000 0x10000>; read-only; @@ -75,8 +75,8 @@ ath5k_eep { compatible = "ath5k,eeprom"; - reg = <0 0x3f0400 0x1000>; - ath,mac-offset = <0>; + ath,eep-flash = <&boardconfig 0x400>; + ath,mac-offset = <0x0>; ath,eep-swap; }; }; diff --git a/target/linux/lantiq/dts/ARV452CQW.dts b/target/linux/lantiq/dts/ARV452CQW.dts index 2bace94..bbddf2c 100644 --- a/target/linux/lantiq/dts/ARV452CQW.dts +++ b/target/linux/lantiq/dts/ARV452CQW.dts @@ -62,7 +62,7 @@ reg = <0x20000 0x3d0000>; }; - partition@3f0000 { + boardconfig: partition@3f0000 { label = "boardconfig"; reg = <0x3f0000 0x10000>; read-only; @@ -78,8 +78,8 @@ ath5k_eep { compatible = "ath5k,eeprom"; - reg = <0 0x3f0400 0x1000>; - ath,mac-offset = <0>; + ath,eep-flash = <&boardconfig 0x400>; + ath,mac-offset = <0x0>; ath,eep-swap; }; gpiomm: gpiomm@4000000 { diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts index 19a7442..380ba15 100644 --- a/target/linux/lantiq/dts/ARV7518PW.dts +++ b/target/linux/lantiq/dts/ARV7518PW.dts @@ -60,7 +60,7 @@ reg = <0x20000 0x7d0000>; }; - partition@400000 { + boardconfig: partition@400000 { label = "boardconfig"; reg = <0x7f0000 0x10000>; read-only; @@ -86,8 +86,8 @@ ath9k_eep { compatible = "ath9k,eeprom"; - reg = <0 0x7f0400 0x1000 - 0 0x7f0016 0x6>; + ath,eep-flash = <&boardconfig 0x400>; + ath,mac-offset = <0x16>; ath,mac-increment = <1>; ath,pci-slot = <14>; ath,eep-endian; diff --git a/target/linux/lantiq/dts/ARV8539PW22.dts b/target/linux/lantiq/dts/ARV8539PW22.dts index 9f9db82..6189b54 100644 --- a/target/linux/lantiq/dts/ARV8539PW22.dts +++ b/target/linux/lantiq/dts/ARV8539PW22.dts @@ -59,7 +59,7 @@ reg = <0x40000 0x7B0000>; /* 7872 KiB */ }; - partition@7F0000 { + art: partition@7F0000 { label = "art"; reg = <0x7F0000 0x10000>; /* 64 KiB*/ read-only; @@ -75,8 +75,8 @@ ath9k_eep { compatible = "ath9k,eeprom"; - reg = <0 0x7f0400 0x1000 - 0 0x7f0016 0x6>; + ath,eep-flash = <&art 0x400>; + ath,mac-offset = <0x16>; ath,mac-increment = <1>; ath,pci-slot = <14>; ath,eep-endian;