lkml.org 
[lkml]   [2015]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf
Date
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
.../devicetree/bindings/pinctrl/pinctrl-e3xx.txt | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-e3xx.txt

diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-e3xx.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-e3xx.txt
new file mode 100644
index 0000000..2bfbd21
--- /dev/null
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-e3xx.txt
@@ -0,0 +1,27 @@
+USRP E3xx Pincontrol bindings
+
+The pins of the NI Ettus Research USRP E3xx idle image can be configured for different
+daughterboard configurations. This pinmux is implemented in an FPGA as soft core.
+
+Required properties:
+- compatible: Must be one of the following:
+ - "ettus,pinctrl-e3xx-1.0"
+- clocks: The clock driving the pinmux
+
+Example:
+
+ e3xx_pinctrl: e3xx-pinctrl@40200a00 {
+ compatible = "ettus,e3xx-pinctrl-1.0";
+ reg = <0x40200a00 0x1000>;
+ clocks = <&clkc 15>;
+
+ foo_state: pinconf {
+ conf {
+ pins = E31X_LED_RX1_RX;
+ output-low;
+ };
+ };
+ };
+
+Note: Constants that facilitate creation of devicetree files are available in
+ include/dt-bindings/pinctrl/pinctrl-e3xx.h
--
2.4.3


\
 
 \ /
  Last update: 2015-11-06 01:01    [W:0.079 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site