devicetree: tree-wide: add nexus map properties for arduino headers
We need to be able to specify GPIO flags in devicetree without that preventing translation from the Arduino specifier to the host GPIO specifier. Set up to ignore the low 6 bits of the flags field when matching the child specifier, and to copy those bits to the parent specifier. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
485e22b4f0
commit
f8bfc7e175
31 changed files with 62 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioc 5 0>, /* A0 */
|
gpio-map = <0 0 &gpioc 5 0>, /* A0 */
|
||||||
<1 0 &gpioc 4 0>, /* A1 */
|
<1 0 &gpioc 4 0>, /* A1 */
|
||||||
<2 0 &gpioc 3 0>, /* A2 */
|
<2 0 &gpioc 3 0>, /* A2 */
|
||||||
|
|
|
@ -78,6 +78,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpiob 0 0>, /* A0 */
|
gpio-map = <0 0 &gpiob 0 0>, /* A0 */
|
||||||
<1 0 &gpiob 1 0>, /* A1 */
|
<1 0 &gpiob 1 0>, /* A1 */
|
||||||
<2 0 &gpioc 1 0>, /* A2 */
|
<2 0 &gpioc 1 0>, /* A2 */
|
||||||
|
|
|
@ -79,6 +79,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpiob 2 0>, /* A0 */
|
gpio-map = <0 0 &gpiob 2 0>, /* A0 */
|
||||||
<1 0 &gpiob 3 0>, /* A1 */
|
<1 0 &gpiob 3 0>, /* A1 */
|
||||||
<2 0 &gpiob 10 0>, /* A2 */
|
<2 0 &gpiob 10 0>, /* A2 */
|
||||||
|
|
|
@ -73,6 +73,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpio0 3 0>, /* A0 */
|
gpio-map = <0 0 &gpio0 3 0>, /* A0 */
|
||||||
<1 0 &gpio0 4 0>, /* A1 */
|
<1 0 &gpio0 4 0>, /* A1 */
|
||||||
<2 0 &gpio0 28 0>, /* A2 */
|
<2 0 &gpio0 28 0>, /* A2 */
|
||||||
|
|
|
@ -74,6 +74,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpio0 3 0>, /* A0 */
|
gpio-map = <0 0 &gpio0 3 0>, /* A0 */
|
||||||
<1 0 &gpio0 4 0>, /* A1 */
|
<1 0 &gpio0 4 0>, /* A1 */
|
||||||
<2 0 &gpio0 28 0>, /* A2 */
|
<2 0 &gpio0 28 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
||||||
<1 0 &gpioc 0 0>, /* A1 */
|
<1 0 &gpioc 0 0>, /* A1 */
|
||||||
<2 0 &gpioc 3 0>, /* A2 */
|
<2 0 &gpioc 3 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
||||||
<1 0 &gpioc 0 0>, /* A1 */
|
<1 0 &gpioc 0 0>, /* A1 */
|
||||||
<2 0 &gpioc 3 0>, /* A2 */
|
<2 0 &gpioc 3 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
||||||
<1 0 &gpioc 0 0>, /* A1 */
|
<1 0 &gpioc 0 0>, /* A1 */
|
||||||
<2 0 &gpioc 3 0>, /* A2 */
|
<2 0 &gpioc 3 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
||||||
<1 0 &gpioc 0 0>, /* A1 */
|
<1 0 &gpioc 0 0>, /* A1 */
|
||||||
<2 0 &gpioc 3 0>, /* A2 */
|
<2 0 &gpioc 3 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
||||||
<1 0 &gpioc 0 0>, /* A1 */
|
<1 0 &gpioc 0 0>, /* A1 */
|
||||||
<2 0 &gpioc 3 0>, /* A2 */
|
<2 0 &gpioc 3 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
||||||
<1 0 &gpioc 0 0>, /* A1 */
|
<1 0 &gpioc 0 0>, /* A1 */
|
||||||
<2 0 &gpioc 3 0>, /* A2 */
|
<2 0 &gpioc 3 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 0 0>, /* A0 */
|
||||||
<1 0 &gpioa 1 0>, /* A1 */
|
<1 0 &gpioa 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 4 0>, /* A2 */
|
<2 0 &gpioa 4 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
||||||
<1 0 &gpioc 0 0>, /* A1 */
|
<1 0 &gpioc 0 0>, /* A1 */
|
||||||
<2 0 &gpioc 3 0>, /* A2 */
|
<2 0 &gpioc 3 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
gpio-map = <0 0 &gpioa 3 0>, /* A0 */
|
||||||
<1 0 &gpioc 0 0>, /* A1 */
|
<1 0 &gpioc 0 0>, /* A1 */
|
||||||
<2 0 &gpioc 3 0>, /* A2 */
|
<2 0 &gpioc 3 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioc 0 0>, /* A0 */
|
gpio-map = <0 0 &gpioc 0 0>, /* A0 */
|
||||||
<1 0 &gpioc 1 0>, /* A1 */
|
<1 0 &gpioc 1 0>, /* A1 */
|
||||||
<2 0 &gpioa 1 0>, /* A2 */
|
<2 0 &gpioa 1 0>, /* A2 */
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpio0 3 0>, /* A0 */
|
gpio-map = <0 0 &gpio0 3 0>, /* A0 */
|
||||||
<1 0 &gpio0 4 0>, /* A1 */
|
<1 0 &gpio0 4 0>, /* A1 */
|
||||||
<2 0 &gpio0 28 0>, /* A2 */
|
<2 0 &gpio0 28 0>, /* A2 */
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpiof 14 0>, /* A0 */
|
gpio-map = <0 0 &gpiof 14 0>, /* A0 */
|
||||||
<1 0 &gpiof 13 0>, /* A1 */
|
<1 0 &gpiof 13 0>, /* A1 */
|
||||||
/* ANA0 is not a GPIO A2 */
|
/* ANA0 is not a GPIO A2 */
|
||||||
|
|
|
@ -58,6 +58,8 @@
|
||||||
arduino_header: connector {
|
arduino_header: connector {
|
||||||
compatible = "arduino-header-r3";
|
compatible = "arduino-header-r3";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
gpio-map = <0 0 &gpioc 11 0>, /* A0 */
|
gpio-map = <0 0 &gpioc 11 0>, /* A0 */
|
||||||
<1 0 &gpioc 12 0>, /* A1 */
|
<1 0 &gpioc 12 0>, /* A1 */
|
||||||
<2 0 &gpiob 9 0>, /* A2 */
|
<2 0 &gpiob 9 0>, /* A2 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue