summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-07-22 15:37:47 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-22 16:17:19 +0200
commit8cd342fb77cb7442bc6f26ff07fb1ff862250cfa (patch)
tree9b30a843805ad5db384ab400928ab0e62a1bd417 /Documentation/devicetree
parentf588069cefadf73fb082d547f04dceb009b7b916 (diff)
downloadbarebox-8cd342fb77cb7442bc6f26ff07fb1ff862250cfa.tar.gz
barebox-8cd342fb77cb7442bc6f26ff07fb1ff862250cfa.tar.xz
ARM: i.MX6: Add ocotp driver
The only functionality at the moment is to register a MAC Address for an ethernet device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/misc/fsl,imx-ocotp.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/misc/fsl,imx-ocotp.txt b/Documentation/devicetree/bindings/misc/fsl,imx-ocotp.txt
new file mode 100644
index 0000000000..b7a3ee5b15
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/fsl,imx-ocotp.txt
@@ -0,0 +1,20 @@
+Freescale i.MX OCOTP (On-Chip OTP)
+
+Required properties:
+
+- compatible: fsl,imx6q-ocotp
+- reg: physical register base and size
+
+Optional properties:
+
+- barebox,provide-mac-address: Provide MAC addresses for ethernet devices. This
+ can be multiple entries in the form <&phandle regofs> to specify a MAC
+ address to a ethernet device.
+
+Example:
+
+ocotp1: ocotp@021bc000 {
+ compatible = "fsl,imx6q-ocotp";
+ reg = <0x021bc000 0x4000>;
+ barebox,provide-mac-address = <&fec 0x620>;
+};