|
@@ -45,6 +45,23 @@ Optional properties:
|
|
|
- fck_parent : Should contain a valid clock name which will be used as parent
|
|
- fck_parent : Should contain a valid clock name which will be used as parent
|
|
|
for the McASP fck
|
|
for the McASP fck
|
|
|
|
|
|
|
|
|
|
+Optional GPIO support:
|
|
|
|
|
+If any McASP pin need to be used as GPIO then the McASP node must have:
|
|
|
|
|
+...
|
|
|
|
|
+ gpio-controller
|
|
|
|
|
+ #gpio-cells = <2>;
|
|
|
|
|
+...
|
|
|
|
|
+
|
|
|
|
|
+When requesting a GPIO, the first parameter is the PIN index in McASP_P*
|
|
|
|
|
+registers.
|
|
|
|
|
+For example to request the AXR2 pin of mcasp8:
|
|
|
|
|
+function-gpios = <&mcasp8 2 0>;
|
|
|
|
|
+
|
|
|
|
|
+Or to request the ACLKR pin of mcasp8:
|
|
|
|
|
+function-gpios = <&mcasp8 29 0>;
|
|
|
|
|
+
|
|
|
|
|
+For generic gpio information, please refer to bindings/gpio/gpio.txt
|
|
|
|
|
+
|
|
|
Example:
|
|
Example:
|
|
|
|
|
|
|
|
mcasp0: mcasp0@1d00000 {
|
|
mcasp0: mcasp0@1d00000 {
|