summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-10-26 18:31:27 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-29 08:49:49 +0100
commite6d0ba8f6c3db368cf5294e17a0f539c76034b95 (patch)
tree53c950b7dd4fce782aafb6434e5379e1d705f58d
parent295007caf7798e38a5ec17f12222bff12fa326b1 (diff)
downloadbarebox-e6d0ba8f6c3db368cf5294e17a0f539c76034b95.tar.gz
barebox-e6d0ba8f6c3db368cf5294e17a0f539c76034b95.tar.xz
ARM: imx7d-zii-rpu2: Add switch EEPROM alias
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/dts/imx7d-zii-rpu2.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/imx7d-zii-rpu2.dts b/arch/arm/dts/imx7d-zii-rpu2.dts
index 6fba73f437..24a6d40f77 100644
--- a/arch/arm/dts/imx7d-zii-rpu2.dts
+++ b/arch/arm/dts/imx7d-zii-rpu2.dts
@@ -19,6 +19,15 @@
stdout-path = &uart2;
};
+ 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 = &switch0;
+ };
+
gpio-leds {
compatible = "gpio-leds";
pinctrl-0 = <&pinctrl_leds_debug>;