diff mbox series

arm64: zynqmp: Remove gpio from aliases list

Message ID d8b1ca465ab32fda5e8ee4f637ec34c562b43893.1623657603.git.michal.simek@xilinx.com
State New
Delegated to: Michal Simek
Headers show
Series arm64: zynqmp: Remove gpio from aliases list | expand

Commit Message

Michal Simek June 14, 2021, 8 a.m. UTC
It is not recommended to have aliases for gpio. In past it was used in
Linux for assigning numbers via sysfs which is deprecated and libgpiod
should be used instead.
In U-Boot this number is used for seq number but gpio offset are not
counted from this number. That's why having these aliases only for seq
number is not needed. As is done in Linux it is the best to use full gpio
name instead of sequence number which depends on sequence in binding.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---


ZynqMP> gpio status -a
Bank gpio@ff0a0000:
gpio@ff0a00000: input: 0 [ ]
gpio@ff0a00001: input: 0 [ ]
gpio@ff0a00002: input: 0 [ ]
gpio@ff0a00003: input: 0 [ ]
gpio@ff0a00004: input: 0 [ ]
gpio@ff0a00005: input: 0 [ ]
gpio@ff0a00006: input: 0 [ ]
gpio@ff0a00007: input: 0 [ ]
gpio@ff0a00008: input: 0 [ ]
gpio@ff0a00009: input: 0 [ ]
gpio@ff0a000010: input: 0 [ ]
gpio@ff0a000011: input: 0 [ ]
gpio@ff0a000012: input: 0 [ ]
gpio@ff0a000013: input: 1 [ ]
gpio@ff0a000014: input: 0 [ ]
gpio@ff0a000015: input: 0 [ ]
gpio@ff0a000016: input: 0 [ ]
gpio@ff0a000017: input: 0 [ ]
gpio@ff0a000018: input: 0 [ ]
gpio@ff0a000019: input: 0 [ ]
gpio@ff0a000020: input: 0 [ ]
gpio@ff0a000021: input: 0 [ ]
gpio@ff0a000022: input: 0 [ ]
gpio@ff0a000023: input: 1 [ ]
gpio@ff0a000024: input: 0 [ ]
gpio@ff0a000025: input: 0 [ ]
gpio@ff0a000026: input: 1 [ ]
gpio@ff0a000027: input: 0 [ ]
gpio@ff0a000028: input: 0 [ ]
gpio@ff0a000029: input: 0 [ ]
gpio@ff0a000030: input: 0 [ ]
gpio@ff0a000031: output: 1 [ ]
gpio@ff0a000032: input: 0 [ ]
gpio@ff0a000033: input: 0 [ ]
gpio@ff0a000034: input: 0 [ ]
gpio@ff0a000035: input: 0 [ ]
gpio@ff0a000036: input: 0 [ ]
gpio@ff0a000037: input: 0 [ ]
gpio@ff0a000038: input: 0 [ ]
gpio@ff0a000039: input: 0 [ ]
gpio@ff0a000040: input: 0 [ ]
gpio@ff0a000041: input: 0 [ ]
gpio@ff0a000042: input: 0 [ ]
gpio@ff0a000043: input: 0 [ ]
gpio@ff0a000044: input: 0 [ ]
gpio@ff0a000045: input: 0 [ ]
gpio@ff0a000046: input: 0 [ ]
gpio@ff0a000047: input: 0 [ ]
gpio@ff0a000048: input: 0 [ ]
gpio@ff0a000049: input: 0 [ ]
gpio@ff0a000050: input: 0 [ ]
gpio@ff0a000051: input: 0 [ ]
gpio@ff0a000052: input: 0 [ ]
gpio@ff0a000053: input: 0 [ ]
gpio@ff0a000054: input: 0 [ ]
gpio@ff0a000055: input: 0 [ ]
gpio@ff0a000056: input: 0 [ ]
gpio@ff0a000057: input: 0 [ ]
gpio@ff0a000058: input: 0 [ ]
gpio@ff0a000059: input: 0 [ ]
gpio@ff0a000060: input: 0 [ ]
gpio@ff0a000061: input: 0 [ ]
gpio@ff0a000062: input: 0 [ ]
gpio@ff0a000063: input: 0 [ ]
gpio@ff0a000064: input: 0 [ ]
gpio@ff0a000065: input: 0 [ ]
gpio@ff0a000066: input: 0 [ ]
gpio@ff0a000067: input: 0 [ ]
gpio@ff0a000068: input: 0 [ ]
gpio@ff0a000069: input: 0 [ ]
gpio@ff0a000070: input: 0 [ ]
gpio@ff0a000071: input: 0 [ ]
gpio@ff0a000072: input: 0 [ ]
gpio@ff0a000073: input: 0 [ ]
gpio@ff0a000074: input: 0 [ ]
gpio@ff0a000075: input: 0 [ ]
gpio@ff0a000076: input: 0 [ ]
gpio@ff0a000077: input: 0 [ ]
gpio@ff0a000078: input: 0 [ ]
gpio@ff0a000079: input: 0 [ ]
gpio@ff0a000080: input: 0 [ ]
gpio@ff0a000081: input: 0 [ ]
gpio@ff0a000082: input: 0 [ ]
gpio@ff0a000083: input: 0 [ ]
gpio@ff0a000084: input: 0 [ ]
gpio@ff0a000085: input: 0 [ ]
gpio@ff0a000086: input: 0 [ ]
gpio@ff0a000087: input: 0 [ ]
gpio@ff0a000088: input: 0 [ ]
gpio@ff0a000089: input: 0 [ ]
gpio@ff0a000090: input: 0 [ ]
gpio@ff0a000091: input: 0 [ ]
gpio@ff0a000092: input: 0 [ ]
gpio@ff0a000093: input: 0 [ ]
gpio@ff0a000094: input: 0 [ ]
gpio@ff0a000095: input: 0 [ ]
gpio@ff0a000096: input: 0 [ ]
gpio@ff0a000097: input: 0 [ ]
gpio@ff0a000098: input: 0 [ ]
gpio@ff0a000099: input: 0 [ ]
gpio@ff0a0000100: input: 0 [ ]
gpio@ff0a0000101: input: 0 [ ]
gpio@ff0a0000102: input: 0 [ ]
gpio@ff0a0000103: input: 0 [ ]
gpio@ff0a0000104: input: 0 [ ]
gpio@ff0a0000105: input: 0 [ ]
gpio@ff0a0000106: input: 0 [ ]
gpio@ff0a0000107: input: 0 [ ]
gpio@ff0a0000108: input: 0 [ ]
gpio@ff0a0000109: input: 0 [ ]
gpio@ff0a0000110: input: 0 [ ]
gpio@ff0a0000111: input: 0 [ ]
gpio@ff0a0000112: input: 0 [ ]
gpio@ff0a0000113: input: 0 [ ]
gpio@ff0a0000114: input: 0 [ ]
gpio@ff0a0000115: input: 0 [ ]
gpio@ff0a0000116: input: 0 [ ]
gpio@ff0a0000117: input: 0 [ ]
gpio@ff0a0000118: input: 0 [ ]
gpio@ff0a0000119: input: 0 [ ]
gpio@ff0a0000120: input: 0 [ ]
gpio@ff0a0000121: input: 0 [ ]
gpio@ff0a0000122: input: 0 [ ]
gpio@ff0a0000123: input: 0 [ ]
gpio@ff0a0000124: input: 0 [ ]
gpio@ff0a0000125: input: 0 [ ]
gpio@ff0a0000126: input: 0 [ ]
gpio@ff0a0000127: input: 0 [ ]
gpio@ff0a0000128: input: 0 [ ]
gpio@ff0a0000129: input: 0 [ ]
gpio@ff0a0000130: input: 0 [ ]
gpio@ff0a0000131: input: 0 [ ]
gpio@ff0a0000132: input: 0 [ ]
gpio@ff0a0000133: input: 0 [ ]
gpio@ff0a0000134: input: 0 [ ]
gpio@ff0a0000135: input: 0 [ ]
gpio@ff0a0000136: input: 0 [ ]
gpio@ff0a0000137: input: 0 [ ]
gpio@ff0a0000138: input: 0 [ ]
gpio@ff0a0000139: input: 0 [ ]
gpio@ff0a0000140: input: 0 [ ]
gpio@ff0a0000141: input: 0 [ ]
gpio@ff0a0000142: input: 0 [ ]
gpio@ff0a0000143: input: 0 [ ]
gpio@ff0a0000144: input: 0 [ ]
gpio@ff0a0000145: input: 0 [ ]
gpio@ff0a0000146: input: 0 [ ]
gpio@ff0a0000147: input: 0 [ ]
gpio@ff0a0000148: input: 0 [ ]
gpio@ff0a0000149: input: 0 [ ]
gpio@ff0a0000150: input: 0 [ ]
gpio@ff0a0000151: input: 0 [ ]
gpio@ff0a0000152: input: 0 [ ]
gpio@ff0a0000153: input: 0 [ ]
gpio@ff0a0000154: input: 0 [ ]
gpio@ff0a0000155: input: 0 [ ]
gpio@ff0a0000156: input: 0 [ ]
gpio@ff0a0000157: input: 0 [ ]
gpio@ff0a0000158: input: 0 [ ]
gpio@ff0a0000159: input: 0 [ ]
gpio@ff0a0000160: input: 0 [ ]
gpio@ff0a0000161: input: 0 [ ]
gpio@ff0a0000162: input: 0 [ ]
gpio@ff0a0000163: input: 0 [ ]
gpio@ff0a0000164: input: 0 [ ]
gpio@ff0a0000165: input: 0 [ ]
gpio@ff0a0000166: input: 0 [ ]
gpio@ff0a0000167: input: 0 [ ]
gpio@ff0a0000168: input: 0 [ ]
gpio@ff0a0000169: input: 0 [ ]
gpio@ff0a0000170: input: 0 [ ]
gpio@ff0a0000171: input: 0 [ ]
gpio@ff0a0000172: input: 0 [ ]
gpio@ff0a0000173: input: 0 [ ]

Bank gpio@20_:
gpio@20_0: output: 0 [x] sel0.gpio-hog
gpio@20_1: output: 1 [x] sel1.gpio-hog
gpio@20_2: output: 1 [x] sel2.gpio-hog
gpio@20_3: output: 1 [x] sel3.gpio-hog
gpio@20_4: output: 1 [ ]
gpio@20_5: output: 1 [ ]
gpio@20_6: output: 1 [ ]
gpio@20_7: output: 1 [ ]
gpio@20_8: output: 1 [ ]
gpio@20_9: output: 1 [ ]
gpio@20_10: output: 1 [ ]
gpio@20_11: output: 1 [ ]
gpio@20_12: output: 1 [ ]
gpio@20_13: output: 1 [ ]
gpio@20_14: output: 1 [ ]
gpio@20_15: output: 1 [ ]

Bank gpio@21_:
gpio@21_0: output: 1 [ ]
gpio@21_1: output: 1 [ ]
gpio@21_2: output: 1 [ ]
gpio@21_3: output: 1 [ ]
gpio@21_4: output: 1 [ ]
gpio@21_5: input: 1 [ ]
gpio@21_6: input: 1 [ ]
gpio@21_7: input: 1 [ ]
gpio@21_8: output: 1 [ ]
gpio@21_9: output: 1 [ ]
gpio@21_10: output: 1 [ ]
gpio@21_11: output: 1 [ ]
gpio@21_12: output: 1 [ ]
gpio@21_13: output: 1 [ ]
gpio@21_14: output: 1 [ ]
gpio@21_15: output: 1 [ ]
ZynqMP> gpio set 23
gpio: pin 23 (gpio 23) value is 1
ZynqMP> gpio status -a
Bank gpio@ff0a0000:
gpio@ff0a00000: input: 0 [ ]
gpio@ff0a00001: input: 0 [ ]
gpio@ff0a00002: input: 0 [ ]
gpio@ff0a00003: input: 0 [ ]
gpio@ff0a00004: input: 0 [ ]
gpio@ff0a00005: input: 0 [ ]
gpio@ff0a00006: input: 0 [ ]
gpio@ff0a00007: input: 0 [ ]
gpio@ff0a00008: input: 0 [ ]
gpio@ff0a00009: input: 0 [ ]
gpio@ff0a000010: input: 0 [ ]
gpio@ff0a000011: input: 0 [ ]
gpio@ff0a000012: input: 0 [ ]
gpio@ff0a000013: input: 1 [ ]
gpio@ff0a000014: input: 0 [ ]
gpio@ff0a000015: input: 0 [ ]
gpio@ff0a000016: input: 0 [ ]
gpio@ff0a000017: input: 0 [ ]
gpio@ff0a000018: input: 0 [ ]
gpio@ff0a000019: input: 0 [ ]
gpio@ff0a000020: input: 0 [ ]
gpio@ff0a000021: input: 0 [ ]
gpio@ff0a000022: input: 0 [ ]
gpio@ff0a000023: output: 1 [ ]
gpio@ff0a000024: input: 0 [ ]
gpio@ff0a000025: input: 0 [ ]
gpio@ff0a000026: input: 1 [ ]
gpio@ff0a000027: input: 0 [ ]
gpio@ff0a000028: input: 0 [ ]
gpio@ff0a000029: input: 0 [ ]
gpio@ff0a000030: input: 0 [ ]
gpio@ff0a000031: output: 1 [ ]
gpio@ff0a000032: input: 0 [ ]
gpio@ff0a000033: input: 0 [ ]
gpio@ff0a000034: input: 0 [ ]
gpio@ff0a000035: input: 0 [ ]
gpio@ff0a000036: input: 0 [ ]
gpio@ff0a000037: input: 0 [ ]
gpio@ff0a000038: input: 0 [ ]
gpio@ff0a000039: input: 0 [ ]
gpio@ff0a000040: input: 0 [ ]
gpio@ff0a000041: input: 0 [ ]
gpio@ff0a000042: input: 0 [ ]
gpio@ff0a000043: input: 0 [ ]
gpio@ff0a000044: input: 0 [ ]
gpio@ff0a000045: input: 0 [ ]
gpio@ff0a000046: input: 0 [ ]
gpio@ff0a000047: input: 0 [ ]
gpio@ff0a000048: input: 0 [ ]
gpio@ff0a000049: input: 0 [ ]
gpio@ff0a000050: input: 0 [ ]
gpio@ff0a000051: input: 0 [ ]
gpio@ff0a000052: input: 0 [ ]
gpio@ff0a000053: input: 0 [ ]
gpio@ff0a000054: input: 0 [ ]
gpio@ff0a000055: input: 0 [ ]
gpio@ff0a000056: input: 0 [ ]
gpio@ff0a000057: input: 0 [ ]
gpio@ff0a000058: input: 0 [ ]
gpio@ff0a000059: input: 0 [ ]
gpio@ff0a000060: input: 0 [ ]
gpio@ff0a000061: input: 0 [ ]
gpio@ff0a000062: input: 0 [ ]
gpio@ff0a000063: input: 0 [ ]
gpio@ff0a000064: input: 0 [ ]
gpio@ff0a000065: input: 0 [ ]
gpio@ff0a000066: input: 0 [ ]
gpio@ff0a000067: input: 0 [ ]
gpio@ff0a000068: input: 0 [ ]
gpio@ff0a000069: input: 0 [ ]
gpio@ff0a000070: input: 0 [ ]
gpio@ff0a000071: input: 0 [ ]
gpio@ff0a000072: input: 0 [ ]
gpio@ff0a000073: input: 0 [ ]
gpio@ff0a000074: input: 0 [ ]
gpio@ff0a000075: input: 0 [ ]
gpio@ff0a000076: input: 0 [ ]
gpio@ff0a000077: input: 0 [ ]
gpio@ff0a000078: input: 0 [ ]
gpio@ff0a000079: input: 0 [ ]
gpio@ff0a000080: input: 0 [ ]
gpio@ff0a000081: input: 0 [ ]
gpio@ff0a000082: input: 0 [ ]
gpio@ff0a000083: input: 0 [ ]
gpio@ff0a000084: input: 0 [ ]
gpio@ff0a000085: input: 0 [ ]
gpio@ff0a000086: input: 0 [ ]
gpio@ff0a000087: input: 0 [ ]
gpio@ff0a000088: input: 0 [ ]
gpio@ff0a000089: input: 0 [ ]
gpio@ff0a000090: input: 0 [ ]
gpio@ff0a000091: input: 0 [ ]
gpio@ff0a000092: input: 0 [ ]
gpio@ff0a000093: input: 0 [ ]
gpio@ff0a000094: input: 0 [ ]
gpio@ff0a000095: input: 0 [ ]
gpio@ff0a000096: input: 0 [ ]
gpio@ff0a000097: input: 0 [ ]
gpio@ff0a000098: input: 0 [ ]
gpio@ff0a000099: input: 0 [ ]
gpio@ff0a0000100: input: 0 [ ]
gpio@ff0a0000101: input: 0 [ ]
gpio@ff0a0000102: input: 0 [ ]
gpio@ff0a0000103: input: 0 [ ]
gpio@ff0a0000104: input: 0 [ ]
gpio@ff0a0000105: input: 0 [ ]
gpio@ff0a0000106: input: 0 [ ]
gpio@ff0a0000107: input: 0 [ ]
gpio@ff0a0000108: input: 0 [ ]
gpio@ff0a0000109: input: 0 [ ]
gpio@ff0a0000110: input: 0 [ ]
gpio@ff0a0000111: input: 0 [ ]
gpio@ff0a0000112: input: 0 [ ]
gpio@ff0a0000113: input: 0 [ ]
gpio@ff0a0000114: input: 0 [ ]
gpio@ff0a0000115: input: 0 [ ]
gpio@ff0a0000116: input: 0 [ ]
gpio@ff0a0000117: input: 0 [ ]
gpio@ff0a0000118: input: 0 [ ]
gpio@ff0a0000119: input: 0 [ ]
gpio@ff0a0000120: input: 0 [ ]
gpio@ff0a0000121: input: 0 [ ]
gpio@ff0a0000122: input: 0 [ ]
gpio@ff0a0000123: input: 0 [ ]
gpio@ff0a0000124: input: 0 [ ]
gpio@ff0a0000125: input: 0 [ ]
gpio@ff0a0000126: input: 0 [ ]
gpio@ff0a0000127: input: 0 [ ]
gpio@ff0a0000128: input: 0 [ ]
gpio@ff0a0000129: input: 0 [ ]
gpio@ff0a0000130: input: 0 [ ]
gpio@ff0a0000131: input: 0 [ ]
gpio@ff0a0000132: input: 0 [ ]
gpio@ff0a0000133: input: 0 [ ]
gpio@ff0a0000134: input: 0 [ ]
gpio@ff0a0000135: input: 0 [ ]
gpio@ff0a0000136: input: 0 [ ]
gpio@ff0a0000137: input: 0 [ ]
gpio@ff0a0000138: input: 0 [ ]
gpio@ff0a0000139: input: 0 [ ]
gpio@ff0a0000140: input: 0 [ ]
gpio@ff0a0000141: input: 0 [ ]
gpio@ff0a0000142: input: 0 [ ]
gpio@ff0a0000143: input: 0 [ ]
gpio@ff0a0000144: input: 0 [ ]
gpio@ff0a0000145: input: 0 [ ]
gpio@ff0a0000146: input: 0 [ ]
gpio@ff0a0000147: input: 0 [ ]
gpio@ff0a0000148: input: 0 [ ]
gpio@ff0a0000149: input: 0 [ ]
gpio@ff0a0000150: input: 0 [ ]
gpio@ff0a0000151: input: 0 [ ]
gpio@ff0a0000152: input: 0 [ ]
gpio@ff0a0000153: input: 0 [ ]
gpio@ff0a0000154: input: 0 [ ]
gpio@ff0a0000155: input: 0 [ ]
gpio@ff0a0000156: input: 0 [ ]
gpio@ff0a0000157: input: 0 [ ]
gpio@ff0a0000158: input: 0 [ ]
gpio@ff0a0000159: input: 0 [ ]
gpio@ff0a0000160: input: 0 [ ]
gpio@ff0a0000161: input: 0 [ ]
gpio@ff0a0000162: input: 0 [ ]
gpio@ff0a0000163: input: 0 [ ]
gpio@ff0a0000164: input: 0 [ ]
gpio@ff0a0000165: input: 0 [ ]
gpio@ff0a0000166: input: 0 [ ]
gpio@ff0a0000167: input: 0 [ ]
gpio@ff0a0000168: input: 0 [ ]
gpio@ff0a0000169: input: 0 [ ]
gpio@ff0a0000170: input: 0 [ ]
gpio@ff0a0000171: input: 0 [ ]
gpio@ff0a0000172: input: 0 [ ]
gpio@ff0a0000173: input: 0 [ ]

Bank gpio@20_:
gpio@20_0: output: 0 [x] sel0.gpio-hog
gpio@20_1: output: 1 [x] sel1.gpio-hog
gpio@20_2: output: 1 [x] sel2.gpio-hog
gpio@20_3: output: 1 [x] sel3.gpio-hog
gpio@20_4: output: 1 [ ]
gpio@20_5: output: 1 [ ]
gpio@20_6: output: 1 [ ]
gpio@20_7: output: 1 [ ]
gpio@20_8: output: 1 [ ]
gpio@20_9: output: 1 [ ]
gpio@20_10: output: 1 [ ]
gpio@20_11: output: 1 [ ]
gpio@20_12: output: 1 [ ]
gpio@20_13: output: 1 [ ]
gpio@20_14: output: 1 [ ]
gpio@20_15: output: 1 [ ]

Bank gpio@21_:
gpio@21_0: output: 1 [ ]
gpio@21_1: output: 1 [ ]
gpio@21_2: output: 1 [ ]
gpio@21_3: output: 1 [ ]
gpio@21_4: output: 1 [ ]
gpio@21_5: input: 1 [ ]
gpio@21_6: input: 1 [ ]
gpio@21_7: input: 1 [ ]
gpio@21_8: output: 1 [ ]
gpio@21_9: output: 1 [ ]
gpio@21_10: output: 1 [ ]
gpio@21_11: output: 1 [ ]
gpio@21_12: output: 1 [ ]
gpio@21_13: output: 1 [ ]
gpio@21_14: output: 1 [ ]
gpio@21_15: output: 1 [ ]
ZynqMP>
ZynqMP> gpio clear gpio@ff0a000023
gpio: pin gpio@ff0a000023 (gpio 23) value is 0
ZynqMP> gpio status -a
Bank gpio@ff0a0000:
gpio@ff0a00000: input: 0 [ ]
gpio@ff0a00001: input: 0 [ ]
gpio@ff0a00002: input: 0 [ ]
gpio@ff0a00003: input: 0 [ ]
gpio@ff0a00004: input: 0 [ ]
gpio@ff0a00005: input: 0 [ ]
gpio@ff0a00006: input: 0 [ ]
gpio@ff0a00007: input: 0 [ ]
gpio@ff0a00008: input: 0 [ ]
gpio@ff0a00009: input: 0 [ ]
gpio@ff0a000010: input: 0 [ ]
gpio@ff0a000011: input: 0 [ ]
gpio@ff0a000012: input: 0 [ ]
gpio@ff0a000013: input: 1 [ ]
gpio@ff0a000014: input: 0 [ ]
gpio@ff0a000015: input: 0 [ ]
gpio@ff0a000016: input: 0 [ ]
gpio@ff0a000017: input: 0 [ ]
gpio@ff0a000018: input: 0 [ ]
gpio@ff0a000019: input: 0 [ ]
gpio@ff0a000020: input: 0 [ ]
gpio@ff0a000021: input: 0 [ ]
gpio@ff0a000022: input: 0 [ ]
gpio@ff0a000023: output: 0 [ ]
gpio@ff0a000024: input: 0 [ ]
gpio@ff0a000025: input: 0 [ ]
gpio@ff0a000026: input: 1 [ ]
gpio@ff0a000027: input: 0 [ ]
gpio@ff0a000028: input: 0 [ ]
gpio@ff0a000029: input: 0 [ ]
gpio@ff0a000030: input: 0 [ ]
gpio@ff0a000031: output: 1 [ ]
gpio@ff0a000032: input: 0 [ ]
gpio@ff0a000033: input: 0 [ ]
gpio@ff0a000034: input: 0 [ ]
gpio@ff0a000035: input: 0 [ ]
gpio@ff0a000036: input: 0 [ ]
gpio@ff0a000037: input: 0 [ ]
gpio@ff0a000038: input: 0 [ ]
gpio@ff0a000039: input: 0 [ ]
gpio@ff0a000040: input: 0 [ ]
gpio@ff0a000041: input: 0 [ ]
gpio@ff0a000042: input: 0 [ ]
gpio@ff0a000043: input: 0 [ ]
gpio@ff0a000044: input: 0 [ ]
gpio@ff0a000045: input: 0 [ ]
gpio@ff0a000046: input: 0 [ ]
gpio@ff0a000047: input: 0 [ ]
gpio@ff0a000048: input: 0 [ ]
gpio@ff0a000049: input: 0 [ ]
gpio@ff0a000050: input: 0 [ ]
gpio@ff0a000051: input: 0 [ ]
gpio@ff0a000052: input: 0 [ ]
gpio@ff0a000053: input: 0 [ ]
gpio@ff0a000054: input: 0 [ ]
gpio@ff0a000055: input: 0 [ ]
gpio@ff0a000056: input: 0 [ ]
gpio@ff0a000057: input: 0 [ ]
gpio@ff0a000058: input: 0 [ ]
gpio@ff0a000059: input: 0 [ ]
gpio@ff0a000060: input: 0 [ ]
gpio@ff0a000061: input: 0 [ ]
gpio@ff0a000062: input: 0 [ ]
gpio@ff0a000063: input: 0 [ ]
gpio@ff0a000064: input: 0 [ ]
gpio@ff0a000065: input: 0 [ ]
gpio@ff0a000066: input: 0 [ ]
gpio@ff0a000067: input: 0 [ ]
gpio@ff0a000068: input: 0 [ ]
gpio@ff0a000069: input: 0 [ ]
gpio@ff0a000070: input: 0 [ ]
gpio@ff0a000071: input: 0 [ ]
gpio@ff0a000072: input: 0 [ ]
gpio@ff0a000073: input: 0 [ ]
gpio@ff0a000074: input: 0 [ ]
gpio@ff0a000075: input: 0 [ ]
gpio@ff0a000076: input: 0 [ ]
gpio@ff0a000077: input: 0 [ ]
gpio@ff0a000078: input: 0 [ ]
gpio@ff0a000079: input: 0 [ ]
gpio@ff0a000080: input: 0 [ ]
gpio@ff0a000081: input: 0 [ ]
gpio@ff0a000082: input: 0 [ ]
gpio@ff0a000083: input: 0 [ ]
gpio@ff0a000084: input: 0 [ ]
gpio@ff0a000085: input: 0 [ ]
gpio@ff0a000086: input: 0 [ ]
gpio@ff0a000087: input: 0 [ ]
gpio@ff0a000088: input: 0 [ ]
gpio@ff0a000089: input: 0 [ ]
gpio@ff0a000090: input: 0 [ ]
gpio@ff0a000091: input: 0 [ ]
gpio@ff0a000092: input: 0 [ ]
gpio@ff0a000093: input: 0 [ ]
gpio@ff0a000094: input: 0 [ ]
gpio@ff0a000095: input: 0 [ ]
gpio@ff0a000096: input: 0 [ ]
gpio@ff0a000097: input: 0 [ ]
gpio@ff0a000098: input: 0 [ ]
gpio@ff0a000099: input: 0 [ ]
gpio@ff0a0000100: input: 0 [ ]
gpio@ff0a0000101: input: 0 [ ]
gpio@ff0a0000102: input: 0 [ ]
gpio@ff0a0000103: input: 0 [ ]
gpio@ff0a0000104: input: 0 [ ]
gpio@ff0a0000105: input: 0 [ ]
gpio@ff0a0000106: input: 0 [ ]
gpio@ff0a0000107: input: 0 [ ]
gpio@ff0a0000108: input: 0 [ ]
gpio@ff0a0000109: input: 0 [ ]
gpio@ff0a0000110: input: 0 [ ]
gpio@ff0a0000111: input: 0 [ ]
gpio@ff0a0000112: input: 0 [ ]
gpio@ff0a0000113: input: 0 [ ]
gpio@ff0a0000114: input: 0 [ ]
gpio@ff0a0000115: input: 0 [ ]
gpio@ff0a0000116: input: 0 [ ]
gpio@ff0a0000117: input: 0 [ ]
gpio@ff0a0000118: input: 0 [ ]
gpio@ff0a0000119: input: 0 [ ]
gpio@ff0a0000120: input: 0 [ ]
gpio@ff0a0000121: input: 0 [ ]
gpio@ff0a0000122: input: 0 [ ]
gpio@ff0a0000123: input: 0 [ ]
gpio@ff0a0000124: input: 0 [ ]
gpio@ff0a0000125: input: 0 [ ]
gpio@ff0a0000126: input: 0 [ ]
gpio@ff0a0000127: input: 0 [ ]
gpio@ff0a0000128: input: 0 [ ]
gpio@ff0a0000129: input: 0 [ ]
gpio@ff0a0000130: input: 0 [ ]
gpio@ff0a0000131: input: 0 [ ]
gpio@ff0a0000132: input: 0 [ ]
gpio@ff0a0000133: input: 0 [ ]
gpio@ff0a0000134: input: 0 [ ]
gpio@ff0a0000135: input: 0 [ ]
gpio@ff0a0000136: input: 0 [ ]
gpio@ff0a0000137: input: 0 [ ]
gpio@ff0a0000138: input: 0 [ ]
gpio@ff0a0000139: input: 0 [ ]
gpio@ff0a0000140: input: 0 [ ]
gpio@ff0a0000141: input: 0 [ ]
gpio@ff0a0000142: input: 0 [ ]
gpio@ff0a0000143: input: 0 [ ]
gpio@ff0a0000144: input: 0 [ ]
gpio@ff0a0000145: input: 0 [ ]
gpio@ff0a0000146: input: 0 [ ]
gpio@ff0a0000147: input: 0 [ ]
gpio@ff0a0000148: input: 0 [ ]
gpio@ff0a0000149: input: 0 [ ]
gpio@ff0a0000150: input: 0 [ ]
gpio@ff0a0000151: input: 0 [ ]
gpio@ff0a0000152: input: 0 [ ]
gpio@ff0a0000153: input: 0 [ ]
gpio@ff0a0000154: input: 0 [ ]
gpio@ff0a0000155: input: 0 [ ]
gpio@ff0a0000156: input: 0 [ ]
gpio@ff0a0000157: input: 0 [ ]
gpio@ff0a0000158: input: 0 [ ]
gpio@ff0a0000159: input: 0 [ ]
gpio@ff0a0000160: input: 0 [ ]
gpio@ff0a0000161: input: 0 [ ]
gpio@ff0a0000162: input: 0 [ ]
gpio@ff0a0000163: input: 0 [ ]
gpio@ff0a0000164: input: 0 [ ]
gpio@ff0a0000165: input: 0 [ ]
gpio@ff0a0000166: input: 0 [ ]
gpio@ff0a0000167: input: 0 [ ]
gpio@ff0a0000168: input: 0 [ ]
gpio@ff0a0000169: input: 0 [ ]
gpio@ff0a0000170: input: 0 [ ]
gpio@ff0a0000171: input: 0 [ ]
gpio@ff0a0000172: input: 0 [ ]
gpio@ff0a0000173: input: 0 [ ]

Bank gpio@20_:
gpio@20_0: output: 0 [x] sel0.gpio-hog
gpio@20_1: output: 1 [x] sel1.gpio-hog
gpio@20_2: output: 1 [x] sel2.gpio-hog
gpio@20_3: output: 1 [x] sel3.gpio-hog
gpio@20_4: output: 1 [ ]
gpio@20_5: output: 1 [ ]
gpio@20_6: output: 1 [ ]
gpio@20_7: output: 1 [ ]
gpio@20_8: output: 1 [ ]
gpio@20_9: output: 1 [ ]
gpio@20_10: output: 1 [ ]
gpio@20_11: output: 1 [ ]
gpio@20_12: output: 1 [ ]
gpio@20_13: output: 1 [ ]
gpio@20_14: output: 1 [ ]
gpio@20_15: output: 1 [ ]

Bank gpio@21_:
gpio@21_0: output: 1 [ ]
gpio@21_1: output: 1 [ ]
gpio@21_2: output: 1 [ ]
gpio@21_3: output: 1 [ ]
gpio@21_4: output: 1 [ ]
gpio@21_5: input: 1 [ ]
gpio@21_6: input: 1 [ ]
gpio@21_7: input: 1 [ ]
gpio@21_8: output: 1 [ ]
gpio@21_9: output: 1 [ ]
gpio@21_10: output: 1 [ ]
gpio@21_11: output: 1 [ ]
gpio@21_12: output: 1 [ ]
gpio@21_13: output: 1 [ ]
gpio@21_14: output: 1 [ ]
gpio@21_15: output: 1 [ ]
ZynqMP>

---
 arch/arm/dts/zynqmp-e-a2197-00-revA.dts               | 1 -
 arch/arm/dts/zynqmp-g-a2197-00-revA.dts               | 1 -
 arch/arm/dts/zynqmp-m-a2197-01-revA.dts               | 1 -
 arch/arm/dts/zynqmp-m-a2197-02-revA.dts               | 1 -
 arch/arm/dts/zynqmp-m-a2197-03-revA.dts               | 1 -
 arch/arm/dts/zynqmp-p-a2197-00-revA.dts               | 1 -
 arch/arm/dts/zynqmp-sm-k26-revA.dts                   | 1 -
 arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts | 1 -
 arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts              | 1 -
 arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts              | 1 -
 arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts              | 3 +--
 arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts              | 1 -
 arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts              | 1 -
 arch/arm/dts/zynqmp-zcu100-revC.dts                   | 1 -
 arch/arm/dts/zynqmp-zcu102-revA.dts                   | 1 -
 arch/arm/dts/zynqmp-zcu104-revA.dts                   | 1 -
 arch/arm/dts/zynqmp-zcu104-revC.dts                   | 1 -
 arch/arm/dts/zynqmp-zcu106-revA.dts                   | 1 -
 arch/arm/dts/zynqmp-zcu111-revA.dts                   | 1 -
 arch/arm/dts/zynqmp-zcu208-revA.dts                   | 1 -
 arch/arm/dts/zynqmp-zcu216-revA.dts                   | 1 -
 21 files changed, 1 insertion(+), 22 deletions(-)

Comments

Michal Simek June 21, 2021, 7:50 a.m. UTC | #1
po 14. 6. 2021 v 10:00 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> It is not recommended to have aliases for gpio. In past it was used in
> Linux for assigning numbers via sysfs which is deprecated and libgpiod
> should be used instead.
> In U-Boot this number is used for seq number but gpio offset are not
> counted from this number. That's why having these aliases only for seq
> number is not needed. As is done in Linux it is the best to use full gpio
> name instead of sequence number which depends on sequence in binding.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>
> ZynqMP> gpio status -a
> Bank gpio@ff0a0000:
> gpio@ff0a00000: input: 0 [ ]
> gpio@ff0a00001: input: 0 [ ]
> gpio@ff0a00002: input: 0 [ ]
> gpio@ff0a00003: input: 0 [ ]
> gpio@ff0a00004: input: 0 [ ]
> gpio@ff0a00005: input: 0 [ ]
> gpio@ff0a00006: input: 0 [ ]
> gpio@ff0a00007: input: 0 [ ]
> gpio@ff0a00008: input: 0 [ ]
> gpio@ff0a00009: input: 0 [ ]
> gpio@ff0a000010: input: 0 [ ]
> gpio@ff0a000011: input: 0 [ ]
> gpio@ff0a000012: input: 0 [ ]
> gpio@ff0a000013: input: 1 [ ]
> gpio@ff0a000014: input: 0 [ ]
> gpio@ff0a000015: input: 0 [ ]
> gpio@ff0a000016: input: 0 [ ]
> gpio@ff0a000017: input: 0 [ ]
> gpio@ff0a000018: input: 0 [ ]
> gpio@ff0a000019: input: 0 [ ]
> gpio@ff0a000020: input: 0 [ ]
> gpio@ff0a000021: input: 0 [ ]
> gpio@ff0a000022: input: 0 [ ]
> gpio@ff0a000023: input: 1 [ ]
> gpio@ff0a000024: input: 0 [ ]
> gpio@ff0a000025: input: 0 [ ]
> gpio@ff0a000026: input: 1 [ ]
> gpio@ff0a000027: input: 0 [ ]
> gpio@ff0a000028: input: 0 [ ]
> gpio@ff0a000029: input: 0 [ ]
> gpio@ff0a000030: input: 0 [ ]
> gpio@ff0a000031: output: 1 [ ]
> gpio@ff0a000032: input: 0 [ ]
> gpio@ff0a000033: input: 0 [ ]
> gpio@ff0a000034: input: 0 [ ]
> gpio@ff0a000035: input: 0 [ ]
> gpio@ff0a000036: input: 0 [ ]
> gpio@ff0a000037: input: 0 [ ]
> gpio@ff0a000038: input: 0 [ ]
> gpio@ff0a000039: input: 0 [ ]
> gpio@ff0a000040: input: 0 [ ]
> gpio@ff0a000041: input: 0 [ ]
> gpio@ff0a000042: input: 0 [ ]
> gpio@ff0a000043: input: 0 [ ]
> gpio@ff0a000044: input: 0 [ ]
> gpio@ff0a000045: input: 0 [ ]
> gpio@ff0a000046: input: 0 [ ]
> gpio@ff0a000047: input: 0 [ ]
> gpio@ff0a000048: input: 0 [ ]
> gpio@ff0a000049: input: 0 [ ]
> gpio@ff0a000050: input: 0 [ ]
> gpio@ff0a000051: input: 0 [ ]
> gpio@ff0a000052: input: 0 [ ]
> gpio@ff0a000053: input: 0 [ ]
> gpio@ff0a000054: input: 0 [ ]
> gpio@ff0a000055: input: 0 [ ]
> gpio@ff0a000056: input: 0 [ ]
> gpio@ff0a000057: input: 0 [ ]
> gpio@ff0a000058: input: 0 [ ]
> gpio@ff0a000059: input: 0 [ ]
> gpio@ff0a000060: input: 0 [ ]
> gpio@ff0a000061: input: 0 [ ]
> gpio@ff0a000062: input: 0 [ ]
> gpio@ff0a000063: input: 0 [ ]
> gpio@ff0a000064: input: 0 [ ]
> gpio@ff0a000065: input: 0 [ ]
> gpio@ff0a000066: input: 0 [ ]
> gpio@ff0a000067: input: 0 [ ]
> gpio@ff0a000068: input: 0 [ ]
> gpio@ff0a000069: input: 0 [ ]
> gpio@ff0a000070: input: 0 [ ]
> gpio@ff0a000071: input: 0 [ ]
> gpio@ff0a000072: input: 0 [ ]
> gpio@ff0a000073: input: 0 [ ]
> gpio@ff0a000074: input: 0 [ ]
> gpio@ff0a000075: input: 0 [ ]
> gpio@ff0a000076: input: 0 [ ]
> gpio@ff0a000077: input: 0 [ ]
> gpio@ff0a000078: input: 0 [ ]
> gpio@ff0a000079: input: 0 [ ]
> gpio@ff0a000080: input: 0 [ ]
> gpio@ff0a000081: input: 0 [ ]
> gpio@ff0a000082: input: 0 [ ]
> gpio@ff0a000083: input: 0 [ ]
> gpio@ff0a000084: input: 0 [ ]
> gpio@ff0a000085: input: 0 [ ]
> gpio@ff0a000086: input: 0 [ ]
> gpio@ff0a000087: input: 0 [ ]
> gpio@ff0a000088: input: 0 [ ]
> gpio@ff0a000089: input: 0 [ ]
> gpio@ff0a000090: input: 0 [ ]
> gpio@ff0a000091: input: 0 [ ]
> gpio@ff0a000092: input: 0 [ ]
> gpio@ff0a000093: input: 0 [ ]
> gpio@ff0a000094: input: 0 [ ]
> gpio@ff0a000095: input: 0 [ ]
> gpio@ff0a000096: input: 0 [ ]
> gpio@ff0a000097: input: 0 [ ]
> gpio@ff0a000098: input: 0 [ ]
> gpio@ff0a000099: input: 0 [ ]
> gpio@ff0a0000100: input: 0 [ ]
> gpio@ff0a0000101: input: 0 [ ]
> gpio@ff0a0000102: input: 0 [ ]
> gpio@ff0a0000103: input: 0 [ ]
> gpio@ff0a0000104: input: 0 [ ]
> gpio@ff0a0000105: input: 0 [ ]
> gpio@ff0a0000106: input: 0 [ ]
> gpio@ff0a0000107: input: 0 [ ]
> gpio@ff0a0000108: input: 0 [ ]
> gpio@ff0a0000109: input: 0 [ ]
> gpio@ff0a0000110: input: 0 [ ]
> gpio@ff0a0000111: input: 0 [ ]
> gpio@ff0a0000112: input: 0 [ ]
> gpio@ff0a0000113: input: 0 [ ]
> gpio@ff0a0000114: input: 0 [ ]
> gpio@ff0a0000115: input: 0 [ ]
> gpio@ff0a0000116: input: 0 [ ]
> gpio@ff0a0000117: input: 0 [ ]
> gpio@ff0a0000118: input: 0 [ ]
> gpio@ff0a0000119: input: 0 [ ]
> gpio@ff0a0000120: input: 0 [ ]
> gpio@ff0a0000121: input: 0 [ ]
> gpio@ff0a0000122: input: 0 [ ]
> gpio@ff0a0000123: input: 0 [ ]
> gpio@ff0a0000124: input: 0 [ ]
> gpio@ff0a0000125: input: 0 [ ]
> gpio@ff0a0000126: input: 0 [ ]
> gpio@ff0a0000127: input: 0 [ ]
> gpio@ff0a0000128: input: 0 [ ]
> gpio@ff0a0000129: input: 0 [ ]
> gpio@ff0a0000130: input: 0 [ ]
> gpio@ff0a0000131: input: 0 [ ]
> gpio@ff0a0000132: input: 0 [ ]
> gpio@ff0a0000133: input: 0 [ ]
> gpio@ff0a0000134: input: 0 [ ]
> gpio@ff0a0000135: input: 0 [ ]
> gpio@ff0a0000136: input: 0 [ ]
> gpio@ff0a0000137: input: 0 [ ]
> gpio@ff0a0000138: input: 0 [ ]
> gpio@ff0a0000139: input: 0 [ ]
> gpio@ff0a0000140: input: 0 [ ]
> gpio@ff0a0000141: input: 0 [ ]
> gpio@ff0a0000142: input: 0 [ ]
> gpio@ff0a0000143: input: 0 [ ]
> gpio@ff0a0000144: input: 0 [ ]
> gpio@ff0a0000145: input: 0 [ ]
> gpio@ff0a0000146: input: 0 [ ]
> gpio@ff0a0000147: input: 0 [ ]
> gpio@ff0a0000148: input: 0 [ ]
> gpio@ff0a0000149: input: 0 [ ]
> gpio@ff0a0000150: input: 0 [ ]
> gpio@ff0a0000151: input: 0 [ ]
> gpio@ff0a0000152: input: 0 [ ]
> gpio@ff0a0000153: input: 0 [ ]
> gpio@ff0a0000154: input: 0 [ ]
> gpio@ff0a0000155: input: 0 [ ]
> gpio@ff0a0000156: input: 0 [ ]
> gpio@ff0a0000157: input: 0 [ ]
> gpio@ff0a0000158: input: 0 [ ]
> gpio@ff0a0000159: input: 0 [ ]
> gpio@ff0a0000160: input: 0 [ ]
> gpio@ff0a0000161: input: 0 [ ]
> gpio@ff0a0000162: input: 0 [ ]
> gpio@ff0a0000163: input: 0 [ ]
> gpio@ff0a0000164: input: 0 [ ]
> gpio@ff0a0000165: input: 0 [ ]
> gpio@ff0a0000166: input: 0 [ ]
> gpio@ff0a0000167: input: 0 [ ]
> gpio@ff0a0000168: input: 0 [ ]
> gpio@ff0a0000169: input: 0 [ ]
> gpio@ff0a0000170: input: 0 [ ]
> gpio@ff0a0000171: input: 0 [ ]
> gpio@ff0a0000172: input: 0 [ ]
> gpio@ff0a0000173: input: 0 [ ]
>
> Bank gpio@20_:
> gpio@20_0: output: 0 [x] sel0.gpio-hog
> gpio@20_1: output: 1 [x] sel1.gpio-hog
> gpio@20_2: output: 1 [x] sel2.gpio-hog
> gpio@20_3: output: 1 [x] sel3.gpio-hog
> gpio@20_4: output: 1 [ ]
> gpio@20_5: output: 1 [ ]
> gpio@20_6: output: 1 [ ]
> gpio@20_7: output: 1 [ ]
> gpio@20_8: output: 1 [ ]
> gpio@20_9: output: 1 [ ]
> gpio@20_10: output: 1 [ ]
> gpio@20_11: output: 1 [ ]
> gpio@20_12: output: 1 [ ]
> gpio@20_13: output: 1 [ ]
> gpio@20_14: output: 1 [ ]
> gpio@20_15: output: 1 [ ]
>
> Bank gpio@21_:
> gpio@21_0: output: 1 [ ]
> gpio@21_1: output: 1 [ ]
> gpio@21_2: output: 1 [ ]
> gpio@21_3: output: 1 [ ]
> gpio@21_4: output: 1 [ ]
> gpio@21_5: input: 1 [ ]
> gpio@21_6: input: 1 [ ]
> gpio@21_7: input: 1 [ ]
> gpio@21_8: output: 1 [ ]
> gpio@21_9: output: 1 [ ]
> gpio@21_10: output: 1 [ ]
> gpio@21_11: output: 1 [ ]
> gpio@21_12: output: 1 [ ]
> gpio@21_13: output: 1 [ ]
> gpio@21_14: output: 1 [ ]
> gpio@21_15: output: 1 [ ]
> ZynqMP> gpio set 23
> gpio: pin 23 (gpio 23) value is 1
> ZynqMP> gpio status -a
> Bank gpio@ff0a0000:
> gpio@ff0a00000: input: 0 [ ]
> gpio@ff0a00001: input: 0 [ ]
> gpio@ff0a00002: input: 0 [ ]
> gpio@ff0a00003: input: 0 [ ]
> gpio@ff0a00004: input: 0 [ ]
> gpio@ff0a00005: input: 0 [ ]
> gpio@ff0a00006: input: 0 [ ]
> gpio@ff0a00007: input: 0 [ ]
> gpio@ff0a00008: input: 0 [ ]
> gpio@ff0a00009: input: 0 [ ]
> gpio@ff0a000010: input: 0 [ ]
> gpio@ff0a000011: input: 0 [ ]
> gpio@ff0a000012: input: 0 [ ]
> gpio@ff0a000013: input: 1 [ ]
> gpio@ff0a000014: input: 0 [ ]
> gpio@ff0a000015: input: 0 [ ]
> gpio@ff0a000016: input: 0 [ ]
> gpio@ff0a000017: input: 0 [ ]
> gpio@ff0a000018: input: 0 [ ]
> gpio@ff0a000019: input: 0 [ ]
> gpio@ff0a000020: input: 0 [ ]
> gpio@ff0a000021: input: 0 [ ]
> gpio@ff0a000022: input: 0 [ ]
> gpio@ff0a000023: output: 1 [ ]
> gpio@ff0a000024: input: 0 [ ]
> gpio@ff0a000025: input: 0 [ ]
> gpio@ff0a000026: input: 1 [ ]
> gpio@ff0a000027: input: 0 [ ]
> gpio@ff0a000028: input: 0 [ ]
> gpio@ff0a000029: input: 0 [ ]
> gpio@ff0a000030: input: 0 [ ]
> gpio@ff0a000031: output: 1 [ ]
> gpio@ff0a000032: input: 0 [ ]
> gpio@ff0a000033: input: 0 [ ]
> gpio@ff0a000034: input: 0 [ ]
> gpio@ff0a000035: input: 0 [ ]
> gpio@ff0a000036: input: 0 [ ]
> gpio@ff0a000037: input: 0 [ ]
> gpio@ff0a000038: input: 0 [ ]
> gpio@ff0a000039: input: 0 [ ]
> gpio@ff0a000040: input: 0 [ ]
> gpio@ff0a000041: input: 0 [ ]
> gpio@ff0a000042: input: 0 [ ]
> gpio@ff0a000043: input: 0 [ ]
> gpio@ff0a000044: input: 0 [ ]
> gpio@ff0a000045: input: 0 [ ]
> gpio@ff0a000046: input: 0 [ ]
> gpio@ff0a000047: input: 0 [ ]
> gpio@ff0a000048: input: 0 [ ]
> gpio@ff0a000049: input: 0 [ ]
> gpio@ff0a000050: input: 0 [ ]
> gpio@ff0a000051: input: 0 [ ]
> gpio@ff0a000052: input: 0 [ ]
> gpio@ff0a000053: input: 0 [ ]
> gpio@ff0a000054: input: 0 [ ]
> gpio@ff0a000055: input: 0 [ ]
> gpio@ff0a000056: input: 0 [ ]
> gpio@ff0a000057: input: 0 [ ]
> gpio@ff0a000058: input: 0 [ ]
> gpio@ff0a000059: input: 0 [ ]
> gpio@ff0a000060: input: 0 [ ]
> gpio@ff0a000061: input: 0 [ ]
> gpio@ff0a000062: input: 0 [ ]
> gpio@ff0a000063: input: 0 [ ]
> gpio@ff0a000064: input: 0 [ ]
> gpio@ff0a000065: input: 0 [ ]
> gpio@ff0a000066: input: 0 [ ]
> gpio@ff0a000067: input: 0 [ ]
> gpio@ff0a000068: input: 0 [ ]
> gpio@ff0a000069: input: 0 [ ]
> gpio@ff0a000070: input: 0 [ ]
> gpio@ff0a000071: input: 0 [ ]
> gpio@ff0a000072: input: 0 [ ]
> gpio@ff0a000073: input: 0 [ ]
> gpio@ff0a000074: input: 0 [ ]
> gpio@ff0a000075: input: 0 [ ]
> gpio@ff0a000076: input: 0 [ ]
> gpio@ff0a000077: input: 0 [ ]
> gpio@ff0a000078: input: 0 [ ]
> gpio@ff0a000079: input: 0 [ ]
> gpio@ff0a000080: input: 0 [ ]
> gpio@ff0a000081: input: 0 [ ]
> gpio@ff0a000082: input: 0 [ ]
> gpio@ff0a000083: input: 0 [ ]
> gpio@ff0a000084: input: 0 [ ]
> gpio@ff0a000085: input: 0 [ ]
> gpio@ff0a000086: input: 0 [ ]
> gpio@ff0a000087: input: 0 [ ]
> gpio@ff0a000088: input: 0 [ ]
> gpio@ff0a000089: input: 0 [ ]
> gpio@ff0a000090: input: 0 [ ]
> gpio@ff0a000091: input: 0 [ ]
> gpio@ff0a000092: input: 0 [ ]
> gpio@ff0a000093: input: 0 [ ]
> gpio@ff0a000094: input: 0 [ ]
> gpio@ff0a000095: input: 0 [ ]
> gpio@ff0a000096: input: 0 [ ]
> gpio@ff0a000097: input: 0 [ ]
> gpio@ff0a000098: input: 0 [ ]
> gpio@ff0a000099: input: 0 [ ]
> gpio@ff0a0000100: input: 0 [ ]
> gpio@ff0a0000101: input: 0 [ ]
> gpio@ff0a0000102: input: 0 [ ]
> gpio@ff0a0000103: input: 0 [ ]
> gpio@ff0a0000104: input: 0 [ ]
> gpio@ff0a0000105: input: 0 [ ]
> gpio@ff0a0000106: input: 0 [ ]
> gpio@ff0a0000107: input: 0 [ ]
> gpio@ff0a0000108: input: 0 [ ]
> gpio@ff0a0000109: input: 0 [ ]
> gpio@ff0a0000110: input: 0 [ ]
> gpio@ff0a0000111: input: 0 [ ]
> gpio@ff0a0000112: input: 0 [ ]
> gpio@ff0a0000113: input: 0 [ ]
> gpio@ff0a0000114: input: 0 [ ]
> gpio@ff0a0000115: input: 0 [ ]
> gpio@ff0a0000116: input: 0 [ ]
> gpio@ff0a0000117: input: 0 [ ]
> gpio@ff0a0000118: input: 0 [ ]
> gpio@ff0a0000119: input: 0 [ ]
> gpio@ff0a0000120: input: 0 [ ]
> gpio@ff0a0000121: input: 0 [ ]
> gpio@ff0a0000122: input: 0 [ ]
> gpio@ff0a0000123: input: 0 [ ]
> gpio@ff0a0000124: input: 0 [ ]
> gpio@ff0a0000125: input: 0 [ ]
> gpio@ff0a0000126: input: 0 [ ]
> gpio@ff0a0000127: input: 0 [ ]
> gpio@ff0a0000128: input: 0 [ ]
> gpio@ff0a0000129: input: 0 [ ]
> gpio@ff0a0000130: input: 0 [ ]
> gpio@ff0a0000131: input: 0 [ ]
> gpio@ff0a0000132: input: 0 [ ]
> gpio@ff0a0000133: input: 0 [ ]
> gpio@ff0a0000134: input: 0 [ ]
> gpio@ff0a0000135: input: 0 [ ]
> gpio@ff0a0000136: input: 0 [ ]
> gpio@ff0a0000137: input: 0 [ ]
> gpio@ff0a0000138: input: 0 [ ]
> gpio@ff0a0000139: input: 0 [ ]
> gpio@ff0a0000140: input: 0 [ ]
> gpio@ff0a0000141: input: 0 [ ]
> gpio@ff0a0000142: input: 0 [ ]
> gpio@ff0a0000143: input: 0 [ ]
> gpio@ff0a0000144: input: 0 [ ]
> gpio@ff0a0000145: input: 0 [ ]
> gpio@ff0a0000146: input: 0 [ ]
> gpio@ff0a0000147: input: 0 [ ]
> gpio@ff0a0000148: input: 0 [ ]
> gpio@ff0a0000149: input: 0 [ ]
> gpio@ff0a0000150: input: 0 [ ]
> gpio@ff0a0000151: input: 0 [ ]
> gpio@ff0a0000152: input: 0 [ ]
> gpio@ff0a0000153: input: 0 [ ]
> gpio@ff0a0000154: input: 0 [ ]
> gpio@ff0a0000155: input: 0 [ ]
> gpio@ff0a0000156: input: 0 [ ]
> gpio@ff0a0000157: input: 0 [ ]
> gpio@ff0a0000158: input: 0 [ ]
> gpio@ff0a0000159: input: 0 [ ]
> gpio@ff0a0000160: input: 0 [ ]
> gpio@ff0a0000161: input: 0 [ ]
> gpio@ff0a0000162: input: 0 [ ]
> gpio@ff0a0000163: input: 0 [ ]
> gpio@ff0a0000164: input: 0 [ ]
> gpio@ff0a0000165: input: 0 [ ]
> gpio@ff0a0000166: input: 0 [ ]
> gpio@ff0a0000167: input: 0 [ ]
> gpio@ff0a0000168: input: 0 [ ]
> gpio@ff0a0000169: input: 0 [ ]
> gpio@ff0a0000170: input: 0 [ ]
> gpio@ff0a0000171: input: 0 [ ]
> gpio@ff0a0000172: input: 0 [ ]
> gpio@ff0a0000173: input: 0 [ ]
>
> Bank gpio@20_:
> gpio@20_0: output: 0 [x] sel0.gpio-hog
> gpio@20_1: output: 1 [x] sel1.gpio-hog
> gpio@20_2: output: 1 [x] sel2.gpio-hog
> gpio@20_3: output: 1 [x] sel3.gpio-hog
> gpio@20_4: output: 1 [ ]
> gpio@20_5: output: 1 [ ]
> gpio@20_6: output: 1 [ ]
> gpio@20_7: output: 1 [ ]
> gpio@20_8: output: 1 [ ]
> gpio@20_9: output: 1 [ ]
> gpio@20_10: output: 1 [ ]
> gpio@20_11: output: 1 [ ]
> gpio@20_12: output: 1 [ ]
> gpio@20_13: output: 1 [ ]
> gpio@20_14: output: 1 [ ]
> gpio@20_15: output: 1 [ ]
>
> Bank gpio@21_:
> gpio@21_0: output: 1 [ ]
> gpio@21_1: output: 1 [ ]
> gpio@21_2: output: 1 [ ]
> gpio@21_3: output: 1 [ ]
> gpio@21_4: output: 1 [ ]
> gpio@21_5: input: 1 [ ]
> gpio@21_6: input: 1 [ ]
> gpio@21_7: input: 1 [ ]
> gpio@21_8: output: 1 [ ]
> gpio@21_9: output: 1 [ ]
> gpio@21_10: output: 1 [ ]
> gpio@21_11: output: 1 [ ]
> gpio@21_12: output: 1 [ ]
> gpio@21_13: output: 1 [ ]
> gpio@21_14: output: 1 [ ]
> gpio@21_15: output: 1 [ ]
> ZynqMP>
> ZynqMP> gpio clear gpio@ff0a000023
> gpio: pin gpio@ff0a000023 (gpio 23) value is 0
> ZynqMP> gpio status -a
> Bank gpio@ff0a0000:
> gpio@ff0a00000: input: 0 [ ]
> gpio@ff0a00001: input: 0 [ ]
> gpio@ff0a00002: input: 0 [ ]
> gpio@ff0a00003: input: 0 [ ]
> gpio@ff0a00004: input: 0 [ ]
> gpio@ff0a00005: input: 0 [ ]
> gpio@ff0a00006: input: 0 [ ]
> gpio@ff0a00007: input: 0 [ ]
> gpio@ff0a00008: input: 0 [ ]
> gpio@ff0a00009: input: 0 [ ]
> gpio@ff0a000010: input: 0 [ ]
> gpio@ff0a000011: input: 0 [ ]
> gpio@ff0a000012: input: 0 [ ]
> gpio@ff0a000013: input: 1 [ ]
> gpio@ff0a000014: input: 0 [ ]
> gpio@ff0a000015: input: 0 [ ]
> gpio@ff0a000016: input: 0 [ ]
> gpio@ff0a000017: input: 0 [ ]
> gpio@ff0a000018: input: 0 [ ]
> gpio@ff0a000019: input: 0 [ ]
> gpio@ff0a000020: input: 0 [ ]
> gpio@ff0a000021: input: 0 [ ]
> gpio@ff0a000022: input: 0 [ ]
> gpio@ff0a000023: output: 0 [ ]
> gpio@ff0a000024: input: 0 [ ]
> gpio@ff0a000025: input: 0 [ ]
> gpio@ff0a000026: input: 1 [ ]
> gpio@ff0a000027: input: 0 [ ]
> gpio@ff0a000028: input: 0 [ ]
> gpio@ff0a000029: input: 0 [ ]
> gpio@ff0a000030: input: 0 [ ]
> gpio@ff0a000031: output: 1 [ ]
> gpio@ff0a000032: input: 0 [ ]
> gpio@ff0a000033: input: 0 [ ]
> gpio@ff0a000034: input: 0 [ ]
> gpio@ff0a000035: input: 0 [ ]
> gpio@ff0a000036: input: 0 [ ]
> gpio@ff0a000037: input: 0 [ ]
> gpio@ff0a000038: input: 0 [ ]
> gpio@ff0a000039: input: 0 [ ]
> gpio@ff0a000040: input: 0 [ ]
> gpio@ff0a000041: input: 0 [ ]
> gpio@ff0a000042: input: 0 [ ]
> gpio@ff0a000043: input: 0 [ ]
> gpio@ff0a000044: input: 0 [ ]
> gpio@ff0a000045: input: 0 [ ]
> gpio@ff0a000046: input: 0 [ ]
> gpio@ff0a000047: input: 0 [ ]
> gpio@ff0a000048: input: 0 [ ]
> gpio@ff0a000049: input: 0 [ ]
> gpio@ff0a000050: input: 0 [ ]
> gpio@ff0a000051: input: 0 [ ]
> gpio@ff0a000052: input: 0 [ ]
> gpio@ff0a000053: input: 0 [ ]
> gpio@ff0a000054: input: 0 [ ]
> gpio@ff0a000055: input: 0 [ ]
> gpio@ff0a000056: input: 0 [ ]
> gpio@ff0a000057: input: 0 [ ]
> gpio@ff0a000058: input: 0 [ ]
> gpio@ff0a000059: input: 0 [ ]
> gpio@ff0a000060: input: 0 [ ]
> gpio@ff0a000061: input: 0 [ ]
> gpio@ff0a000062: input: 0 [ ]
> gpio@ff0a000063: input: 0 [ ]
> gpio@ff0a000064: input: 0 [ ]
> gpio@ff0a000065: input: 0 [ ]
> gpio@ff0a000066: input: 0 [ ]
> gpio@ff0a000067: input: 0 [ ]
> gpio@ff0a000068: input: 0 [ ]
> gpio@ff0a000069: input: 0 [ ]
> gpio@ff0a000070: input: 0 [ ]
> gpio@ff0a000071: input: 0 [ ]
> gpio@ff0a000072: input: 0 [ ]
> gpio@ff0a000073: input: 0 [ ]
> gpio@ff0a000074: input: 0 [ ]
> gpio@ff0a000075: input: 0 [ ]
> gpio@ff0a000076: input: 0 [ ]
> gpio@ff0a000077: input: 0 [ ]
> gpio@ff0a000078: input: 0 [ ]
> gpio@ff0a000079: input: 0 [ ]
> gpio@ff0a000080: input: 0 [ ]
> gpio@ff0a000081: input: 0 [ ]
> gpio@ff0a000082: input: 0 [ ]
> gpio@ff0a000083: input: 0 [ ]
> gpio@ff0a000084: input: 0 [ ]
> gpio@ff0a000085: input: 0 [ ]
> gpio@ff0a000086: input: 0 [ ]
> gpio@ff0a000087: input: 0 [ ]
> gpio@ff0a000088: input: 0 [ ]
> gpio@ff0a000089: input: 0 [ ]
> gpio@ff0a000090: input: 0 [ ]
> gpio@ff0a000091: input: 0 [ ]
> gpio@ff0a000092: input: 0 [ ]
> gpio@ff0a000093: input: 0 [ ]
> gpio@ff0a000094: input: 0 [ ]
> gpio@ff0a000095: input: 0 [ ]
> gpio@ff0a000096: input: 0 [ ]
> gpio@ff0a000097: input: 0 [ ]
> gpio@ff0a000098: input: 0 [ ]
> gpio@ff0a000099: input: 0 [ ]
> gpio@ff0a0000100: input: 0 [ ]
> gpio@ff0a0000101: input: 0 [ ]
> gpio@ff0a0000102: input: 0 [ ]
> gpio@ff0a0000103: input: 0 [ ]
> gpio@ff0a0000104: input: 0 [ ]
> gpio@ff0a0000105: input: 0 [ ]
> gpio@ff0a0000106: input: 0 [ ]
> gpio@ff0a0000107: input: 0 [ ]
> gpio@ff0a0000108: input: 0 [ ]
> gpio@ff0a0000109: input: 0 [ ]
> gpio@ff0a0000110: input: 0 [ ]
> gpio@ff0a0000111: input: 0 [ ]
> gpio@ff0a0000112: input: 0 [ ]
> gpio@ff0a0000113: input: 0 [ ]
> gpio@ff0a0000114: input: 0 [ ]
> gpio@ff0a0000115: input: 0 [ ]
> gpio@ff0a0000116: input: 0 [ ]
> gpio@ff0a0000117: input: 0 [ ]
> gpio@ff0a0000118: input: 0 [ ]
> gpio@ff0a0000119: input: 0 [ ]
> gpio@ff0a0000120: input: 0 [ ]
> gpio@ff0a0000121: input: 0 [ ]
> gpio@ff0a0000122: input: 0 [ ]
> gpio@ff0a0000123: input: 0 [ ]
> gpio@ff0a0000124: input: 0 [ ]
> gpio@ff0a0000125: input: 0 [ ]
> gpio@ff0a0000126: input: 0 [ ]
> gpio@ff0a0000127: input: 0 [ ]
> gpio@ff0a0000128: input: 0 [ ]
> gpio@ff0a0000129: input: 0 [ ]
> gpio@ff0a0000130: input: 0 [ ]
> gpio@ff0a0000131: input: 0 [ ]
> gpio@ff0a0000132: input: 0 [ ]
> gpio@ff0a0000133: input: 0 [ ]
> gpio@ff0a0000134: input: 0 [ ]
> gpio@ff0a0000135: input: 0 [ ]
> gpio@ff0a0000136: input: 0 [ ]
> gpio@ff0a0000137: input: 0 [ ]
> gpio@ff0a0000138: input: 0 [ ]
> gpio@ff0a0000139: input: 0 [ ]
> gpio@ff0a0000140: input: 0 [ ]
> gpio@ff0a0000141: input: 0 [ ]
> gpio@ff0a0000142: input: 0 [ ]
> gpio@ff0a0000143: input: 0 [ ]
> gpio@ff0a0000144: input: 0 [ ]
> gpio@ff0a0000145: input: 0 [ ]
> gpio@ff0a0000146: input: 0 [ ]
> gpio@ff0a0000147: input: 0 [ ]
> gpio@ff0a0000148: input: 0 [ ]
> gpio@ff0a0000149: input: 0 [ ]
> gpio@ff0a0000150: input: 0 [ ]
> gpio@ff0a0000151: input: 0 [ ]
> gpio@ff0a0000152: input: 0 [ ]
> gpio@ff0a0000153: input: 0 [ ]
> gpio@ff0a0000154: input: 0 [ ]
> gpio@ff0a0000155: input: 0 [ ]
> gpio@ff0a0000156: input: 0 [ ]
> gpio@ff0a0000157: input: 0 [ ]
> gpio@ff0a0000158: input: 0 [ ]
> gpio@ff0a0000159: input: 0 [ ]
> gpio@ff0a0000160: input: 0 [ ]
> gpio@ff0a0000161: input: 0 [ ]
> gpio@ff0a0000162: input: 0 [ ]
> gpio@ff0a0000163: input: 0 [ ]
> gpio@ff0a0000164: input: 0 [ ]
> gpio@ff0a0000165: input: 0 [ ]
> gpio@ff0a0000166: input: 0 [ ]
> gpio@ff0a0000167: input: 0 [ ]
> gpio@ff0a0000168: input: 0 [ ]
> gpio@ff0a0000169: input: 0 [ ]
> gpio@ff0a0000170: input: 0 [ ]
> gpio@ff0a0000171: input: 0 [ ]
> gpio@ff0a0000172: input: 0 [ ]
> gpio@ff0a0000173: input: 0 [ ]
>
> Bank gpio@20_:
> gpio@20_0: output: 0 [x] sel0.gpio-hog
> gpio@20_1: output: 1 [x] sel1.gpio-hog
> gpio@20_2: output: 1 [x] sel2.gpio-hog
> gpio@20_3: output: 1 [x] sel3.gpio-hog
> gpio@20_4: output: 1 [ ]
> gpio@20_5: output: 1 [ ]
> gpio@20_6: output: 1 [ ]
> gpio@20_7: output: 1 [ ]
> gpio@20_8: output: 1 [ ]
> gpio@20_9: output: 1 [ ]
> gpio@20_10: output: 1 [ ]
> gpio@20_11: output: 1 [ ]
> gpio@20_12: output: 1 [ ]
> gpio@20_13: output: 1 [ ]
> gpio@20_14: output: 1 [ ]
> gpio@20_15: output: 1 [ ]
>
> Bank gpio@21_:
> gpio@21_0: output: 1 [ ]
> gpio@21_1: output: 1 [ ]
> gpio@21_2: output: 1 [ ]
> gpio@21_3: output: 1 [ ]
> gpio@21_4: output: 1 [ ]
> gpio@21_5: input: 1 [ ]
> gpio@21_6: input: 1 [ ]
> gpio@21_7: input: 1 [ ]
> gpio@21_8: output: 1 [ ]
> gpio@21_9: output: 1 [ ]
> gpio@21_10: output: 1 [ ]
> gpio@21_11: output: 1 [ ]
> gpio@21_12: output: 1 [ ]
> gpio@21_13: output: 1 [ ]
> gpio@21_14: output: 1 [ ]
> gpio@21_15: output: 1 [ ]
> ZynqMP>
>
> ---
>  arch/arm/dts/zynqmp-e-a2197-00-revA.dts               | 1 -
>  arch/arm/dts/zynqmp-g-a2197-00-revA.dts               | 1 -
>  arch/arm/dts/zynqmp-m-a2197-01-revA.dts               | 1 -
>  arch/arm/dts/zynqmp-m-a2197-02-revA.dts               | 1 -
>  arch/arm/dts/zynqmp-m-a2197-03-revA.dts               | 1 -
>  arch/arm/dts/zynqmp-p-a2197-00-revA.dts               | 1 -
>  arch/arm/dts/zynqmp-sm-k26-revA.dts                   | 1 -
>  arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts | 1 -
>  arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts              | 1 -
>  arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts              | 1 -
>  arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts              | 3 +--
>  arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts              | 1 -
>  arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts              | 1 -
>  arch/arm/dts/zynqmp-zcu100-revC.dts                   | 1 -
>  arch/arm/dts/zynqmp-zcu102-revA.dts                   | 1 -
>  arch/arm/dts/zynqmp-zcu104-revA.dts                   | 1 -
>  arch/arm/dts/zynqmp-zcu104-revC.dts                   | 1 -
>  arch/arm/dts/zynqmp-zcu106-revA.dts                   | 1 -
>  arch/arm/dts/zynqmp-zcu111-revA.dts                   | 1 -
>  arch/arm/dts/zynqmp-zcu208-revA.dts                   | 1 -
>  arch/arm/dts/zynqmp-zcu216-revA.dts                   | 1 -
>  21 files changed, 1 insertion(+), 22 deletions(-)
>
> diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> index 7bcdbdfdbb06..32982020ff48 100644
> --- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> @@ -20,7 +20,6 @@
>
>         aliases {
>                 ethernet0 = &gem0;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci1;
> diff --git a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
> index 69a3901ccf6c..004c4cb784d9 100644
> --- a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
> @@ -19,7 +19,6 @@
>
>         aliases {
>                 ethernet0 = &gem0;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 mmc0 = &sdhci0;
>                 rtc0 = &rtc;
> diff --git a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
> index a5db599c9497..0645ce931a23 100644
> --- a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
> +++ b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
> @@ -19,7 +19,6 @@
>
>         aliases {
>                 ethernet0 = &gem0;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci0;
> diff --git a/arch/arm/dts/zynqmp-m-a2197-02-revA.dts b/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
> index 58df328c987f..93bda86636bc 100644
> --- a/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
> +++ b/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
> @@ -19,7 +19,6 @@
>
>         aliases {
>                 ethernet0 = &gem0;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci0;
> diff --git a/arch/arm/dts/zynqmp-m-a2197-03-revA.dts b/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
> index 25d87532be77..39962eb0cdcb 100644
> --- a/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
> +++ b/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
> @@ -19,7 +19,6 @@
>
>         aliases {
>                 ethernet0 = &gem0;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci0;
> diff --git a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
> index 82d5ef83f764..244662dab62c 100644
> --- a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
> @@ -20,7 +20,6 @@
>
>         aliases {
>                 ethernet0 = &gem0;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci0;
> diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.dts b/arch/arm/dts/zynqmp-sm-k26-revA.dts
> index e4cf382a4975..ec0569452acf 100644
> --- a/arch/arm/dts/zynqmp-sm-k26-revA.dts
> +++ b/arch/arm/dts/zynqmp-sm-k26-revA.dts
> @@ -22,7 +22,6 @@
>                      "xlnx,zynqmp";
>
>         aliases {
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci0;
> diff --git a/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts b/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
> index a377f27c50d4..6ec96e0e8c96 100644
> --- a/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
> +++ b/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
> @@ -19,7 +19,6 @@
>                      "topic,miamimp", "xlnx,zynqmp";
>
>         aliases {
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci0;
> diff --git a/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts b/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
> index 8f361e47bda1..e59342361397 100644
> --- a/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
> +++ b/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
> @@ -21,7 +21,6 @@
>
>         aliases {
>                 ethernet0 = &gem3;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c1;
>                 mmc0 = &sdhci0;
>                 mmc1 = &sdhci1;
> diff --git a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
> index 1a8cfdeb7f45..e9924674ab45 100644
> --- a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
> +++ b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
> @@ -22,7 +22,6 @@
>                 can0 = &can0;
>                 can1 = &can1;
>                 ethernet0 = &gem2;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 rtc0 = &rtc;
>                 serial0 = &uart0;
> diff --git a/arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts b/arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts
> index c7de59e1e986..35fb33f12b6b 100644
> --- a/arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts
> +++ b/arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts
> @@ -2,7 +2,7 @@
>  /*
>   * dts file for Xilinx ZynqMP zc1751-xm017-dc3
>   *
> - * (C) Copyright 2016 - 2020, Xilinx, Inc.
> + * (C) Copyright 2016 - 2021, Xilinx, Inc.
>   *
>   * Michal Simek <michal.simek@xilinx.com>
>   */
> @@ -18,7 +18,6 @@
>
>         aliases {
>                 ethernet0 = &gem0;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci1;
> diff --git a/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts b/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
> index 48acea62c888..d31582a979be 100644
> --- a/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
> +++ b/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
> @@ -23,7 +23,6 @@
>                 ethernet1 = &gem1;
>                 ethernet2 = &gem2;
>                 ethernet3 = &gem3;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 rtc0 = &rtc;
> diff --git a/arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts b/arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts
> index 41ab20c3895f..ae2d03d98322 100644
> --- a/arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts
> +++ b/arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts
> @@ -21,7 +21,6 @@
>
>         aliases {
>                 ethernet0 = &gem1;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci0;
> diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts
> index 45dd7da7179b..2d615774782f 100644
> --- a/arch/arm/dts/zynqmp-zcu100-revC.dts
> +++ b/arch/arm/dts/zynqmp-zcu100-revC.dts
> @@ -23,7 +23,6 @@
>         compatible = "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100", "xlnx,zynqmp";
>
>         aliases {
> -               gpio0 = &gpio;
>                 i2c0 = &i2c1;
>                 rtc0 = &rtc;
>                 serial0 = &uart1;
> diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts
> index 7190e876d8dd..cad0c62d084e 100644
> --- a/arch/arm/dts/zynqmp-zcu102-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu102-revA.dts
> @@ -22,7 +22,6 @@
>
>         aliases {
>                 ethernet0 = &gem3;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci1;
> diff --git a/arch/arm/dts/zynqmp-zcu104-revA.dts b/arch/arm/dts/zynqmp-zcu104-revA.dts
> index 76c635f0d460..9663ee8b49a6 100644
> --- a/arch/arm/dts/zynqmp-zcu104-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu104-revA.dts
> @@ -21,7 +21,6 @@
>
>         aliases {
>                 ethernet0 = &gem3;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c1;
>                 mmc0 = &sdhci1;
>                 rtc0 = &rtc;
> diff --git a/arch/arm/dts/zynqmp-zcu104-revC.dts b/arch/arm/dts/zynqmp-zcu104-revC.dts
> index f9eb4caaf8c0..fd015fdef1af 100644
> --- a/arch/arm/dts/zynqmp-zcu104-revC.dts
> +++ b/arch/arm/dts/zynqmp-zcu104-revC.dts
> @@ -21,7 +21,6 @@
>
>         aliases {
>                 ethernet0 = &gem3;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c1;
>                 mmc0 = &sdhci1;
>                 rtc0 = &rtc;
> diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts
> index 2b1255dc5f32..aa45470a7aef 100644
> --- a/arch/arm/dts/zynqmp-zcu106-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
> @@ -22,7 +22,6 @@
>
>         aliases {
>                 ethernet0 = &gem3;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci1;
> diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts b/arch/arm/dts/zynqmp-zcu111-revA.dts
> index 223bb8a61462..d020ed9e9130 100644
> --- a/arch/arm/dts/zynqmp-zcu111-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu111-revA.dts
> @@ -22,7 +22,6 @@
>
>         aliases {
>                 ethernet0 = &gem3;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci1;
> diff --git a/arch/arm/dts/zynqmp-zcu208-revA.dts b/arch/arm/dts/zynqmp-zcu208-revA.dts
> index 7607098ac077..bd04f902b7c9 100644
> --- a/arch/arm/dts/zynqmp-zcu208-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu208-revA.dts
> @@ -22,7 +22,6 @@
>
>         aliases {
>                 ethernet0 = &gem3;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci1;
> diff --git a/arch/arm/dts/zynqmp-zcu216-revA.dts b/arch/arm/dts/zynqmp-zcu216-revA.dts
> index 7ba60da131f1..d7513cd20eb0 100644
> --- a/arch/arm/dts/zynqmp-zcu216-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu216-revA.dts
> @@ -22,7 +22,6 @@
>
>         aliases {
>                 ethernet0 = &gem3;
> -               gpio0 = &gpio;
>                 i2c0 = &i2c0;
>                 i2c1 = &i2c1;
>                 mmc0 = &sdhci1;
> --
> 2.32.0
>

Applied.
M
diff mbox series

Patch

diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
index 7bcdbdfdbb06..32982020ff48 100644
--- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
+++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
@@ -20,7 +20,6 @@ 
 
 	aliases {
 		ethernet0 = &gem0;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci1;
diff --git a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
index 69a3901ccf6c..004c4cb784d9 100644
--- a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
+++ b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
@@ -19,7 +19,6 @@ 
 
 	aliases {
 		ethernet0 = &gem0;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		mmc0 = &sdhci0;
 		rtc0 = &rtc;
diff --git a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
index a5db599c9497..0645ce931a23 100644
--- a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
+++ b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
@@ -19,7 +19,6 @@ 
 
 	aliases {
 		ethernet0 = &gem0;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci0;
diff --git a/arch/arm/dts/zynqmp-m-a2197-02-revA.dts b/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
index 58df328c987f..93bda86636bc 100644
--- a/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
+++ b/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
@@ -19,7 +19,6 @@ 
 
 	aliases {
 		ethernet0 = &gem0;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci0;
diff --git a/arch/arm/dts/zynqmp-m-a2197-03-revA.dts b/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
index 25d87532be77..39962eb0cdcb 100644
--- a/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
+++ b/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
@@ -19,7 +19,6 @@ 
 
 	aliases {
 		ethernet0 = &gem0;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci0;
diff --git a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
index 82d5ef83f764..244662dab62c 100644
--- a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
+++ b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
@@ -20,7 +20,6 @@ 
 
 	aliases {
 		ethernet0 = &gem0;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci0;
diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.dts b/arch/arm/dts/zynqmp-sm-k26-revA.dts
index e4cf382a4975..ec0569452acf 100644
--- a/arch/arm/dts/zynqmp-sm-k26-revA.dts
+++ b/arch/arm/dts/zynqmp-sm-k26-revA.dts
@@ -22,7 +22,6 @@ 
 		     "xlnx,zynqmp";
 
 	aliases {
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci0;
diff --git a/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts b/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
index a377f27c50d4..6ec96e0e8c96 100644
--- a/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
+++ b/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
@@ -19,7 +19,6 @@ 
 		     "topic,miamimp", "xlnx,zynqmp";
 
 	aliases {
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci0;
diff --git a/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts b/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
index 8f361e47bda1..e59342361397 100644
--- a/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
+++ b/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
@@ -21,7 +21,6 @@ 
 
 	aliases {
 		ethernet0 = &gem3;
-		gpio0 = &gpio;
 		i2c0 = &i2c1;
 		mmc0 = &sdhci0;
 		mmc1 = &sdhci1;
diff --git a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
index 1a8cfdeb7f45..e9924674ab45 100644
--- a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
+++ b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
@@ -22,7 +22,6 @@ 
 		can0 = &can0;
 		can1 = &can1;
 		ethernet0 = &gem2;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		rtc0 = &rtc;
 		serial0 = &uart0;
diff --git a/arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts b/arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts
index c7de59e1e986..35fb33f12b6b 100644
--- a/arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts
+++ b/arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts
@@ -2,7 +2,7 @@ 
 /*
  * dts file for Xilinx ZynqMP zc1751-xm017-dc3
  *
- * (C) Copyright 2016 - 2020, Xilinx, Inc.
+ * (C) Copyright 2016 - 2021, Xilinx, Inc.
  *
  * Michal Simek <michal.simek@xilinx.com>
  */
@@ -18,7 +18,6 @@ 
 
 	aliases {
 		ethernet0 = &gem0;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci1;
diff --git a/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts b/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
index 48acea62c888..d31582a979be 100644
--- a/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
+++ b/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
@@ -23,7 +23,6 @@ 
 		ethernet1 = &gem1;
 		ethernet2 = &gem2;
 		ethernet3 = &gem3;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		rtc0 = &rtc;
diff --git a/arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts b/arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts
index 41ab20c3895f..ae2d03d98322 100644
--- a/arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts
+++ b/arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts
@@ -21,7 +21,6 @@ 
 
 	aliases {
 		ethernet0 = &gem1;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci0;
diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts
index 45dd7da7179b..2d615774782f 100644
--- a/arch/arm/dts/zynqmp-zcu100-revC.dts
+++ b/arch/arm/dts/zynqmp-zcu100-revC.dts
@@ -23,7 +23,6 @@ 
 	compatible = "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100", "xlnx,zynqmp";
 
 	aliases {
-		gpio0 = &gpio;
 		i2c0 = &i2c1;
 		rtc0 = &rtc;
 		serial0 = &uart1;
diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts
index 7190e876d8dd..cad0c62d084e 100644
--- a/arch/arm/dts/zynqmp-zcu102-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu102-revA.dts
@@ -22,7 +22,6 @@ 
 
 	aliases {
 		ethernet0 = &gem3;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci1;
diff --git a/arch/arm/dts/zynqmp-zcu104-revA.dts b/arch/arm/dts/zynqmp-zcu104-revA.dts
index 76c635f0d460..9663ee8b49a6 100644
--- a/arch/arm/dts/zynqmp-zcu104-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu104-revA.dts
@@ -21,7 +21,6 @@ 
 
 	aliases {
 		ethernet0 = &gem3;
-		gpio0 = &gpio;
 		i2c0 = &i2c1;
 		mmc0 = &sdhci1;
 		rtc0 = &rtc;
diff --git a/arch/arm/dts/zynqmp-zcu104-revC.dts b/arch/arm/dts/zynqmp-zcu104-revC.dts
index f9eb4caaf8c0..fd015fdef1af 100644
--- a/arch/arm/dts/zynqmp-zcu104-revC.dts
+++ b/arch/arm/dts/zynqmp-zcu104-revC.dts
@@ -21,7 +21,6 @@ 
 
 	aliases {
 		ethernet0 = &gem3;
-		gpio0 = &gpio;
 		i2c0 = &i2c1;
 		mmc0 = &sdhci1;
 		rtc0 = &rtc;
diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts
index 2b1255dc5f32..aa45470a7aef 100644
--- a/arch/arm/dts/zynqmp-zcu106-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
@@ -22,7 +22,6 @@ 
 
 	aliases {
 		ethernet0 = &gem3;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci1;
diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts b/arch/arm/dts/zynqmp-zcu111-revA.dts
index 223bb8a61462..d020ed9e9130 100644
--- a/arch/arm/dts/zynqmp-zcu111-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu111-revA.dts
@@ -22,7 +22,6 @@ 
 
 	aliases {
 		ethernet0 = &gem3;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci1;
diff --git a/arch/arm/dts/zynqmp-zcu208-revA.dts b/arch/arm/dts/zynqmp-zcu208-revA.dts
index 7607098ac077..bd04f902b7c9 100644
--- a/arch/arm/dts/zynqmp-zcu208-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu208-revA.dts
@@ -22,7 +22,6 @@ 
 
 	aliases {
 		ethernet0 = &gem3;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci1;
diff --git a/arch/arm/dts/zynqmp-zcu216-revA.dts b/arch/arm/dts/zynqmp-zcu216-revA.dts
index 7ba60da131f1..d7513cd20eb0 100644
--- a/arch/arm/dts/zynqmp-zcu216-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu216-revA.dts
@@ -22,7 +22,6 @@ 
 
 	aliases {
 		ethernet0 = &gem3;
-		gpio0 = &gpio;
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
 		mmc0 = &sdhci1;