mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: barebox@lists.infradead.org
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Subject: [PATCH 6/7] ARM: dts: imx8mq-zii-ultra: Add switch EEPROM alias
Date: Sat,  7 Sep 2019 17:06:14 -0700	[thread overview]
Message-ID: <20190908000615.28868-6-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20190908000615.28868-1-andrew.smirnov@gmail.com>

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 arch/arm/dts/imx8mq-zii-ultra.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/dts/imx8mq-zii-ultra.dtsi b/arch/arm/dts/imx8mq-zii-ultra.dtsi
index 53679b0d3c..6e41e820b8 100644
--- a/arch/arm/dts/imx8mq-zii-ultra.dtsi
+++ b/arch/arm/dts/imx8mq-zii-ultra.dtsi
@@ -23,6 +23,15 @@
 		};
 	};
 
+	aliases {
+		/*
+		 * NVMEM device corresponding to EEPROM attached to
+		 * the switch shared DT node with it, so we use that
+		 * fact to create a desirable naming
+		 */
+		switch-eeprom = &switch;
+	};
+
 	mdio0: bitbang-mdio {
 		compatible = "virtual,mdio-gpio";
 		pinctrl-names = "default";
-- 
2.21.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2019-09-08  0:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-08  0:06 [PATCH 1/7] ARM: dts: vf610-zii-dev-rev-b: Fix SPI flash node name Andrey Smirnov
2019-09-08  0:06 ` [PATCH 2/7] ARM: dts: vf610-zii-dev-rev-c: Fix DSPI " Andrey Smirnov
2019-09-08  0:06 ` [PATCH 3/7] ARM: dts: vf610-zii-cfu1: Configure "STATUS" LED as heartbeat Andrey Smirnov
2019-09-08  0:06 ` [PATCH 4/7] ARM: dts: vf610-zii-cfu1: Expose fiber optic module EEPROM Andrey Smirnov
2019-09-08  0:06 ` [PATCH 5/7] ARM: dts: vf610-zii-scu4-aib: Expose fiber EEPROM modules Andrey Smirnov
2019-09-08  0:06 ` Andrey Smirnov [this message]
2019-09-08  0:06 ` [PATCH 7/7] ARM: zii-vf610-dev: Re-align SCU4's hostname with upstream kernel Andrey Smirnov
2019-09-09  8:53 ` [PATCH 1/7] ARM: dts: vf610-zii-dev-rev-b: Fix SPI flash node name Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190908000615.28868-6-andrew.smirnov@gmail.com \
    --to=andrew.smirnov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox