diff options
author | John Robertson <john.robertson@simiatec.com> | 2020-09-01 18:02:20 +0000 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2020-09-23 00:14:29 +0200 |
commit | bd25f9a69fa5accde66cf914154bdd64604d8f64 (patch) | |
tree | a2c98d8dc903620f22cb2ba9a7214f8ada79cd9a /board/technexion | |
parent | 81b543a4e61013fb87f5bdb526d815f1e014d0a4 (diff) |
mips: dts: Fix PIC32MZDA GPIO register definitions
The GPIO bank name for banks J and K are not correct when using the
'gpio' command from the console.
The driver derives the bank name from the device tree instance string by
using the instance value and adding 'A': gpio0@xxaddrxx is Bank A,
gpio1@yyaddryy is Bank B and so on.
On the PIC32, there is no Bank I so instances 8 and 9 need to be
incremented as a minimum change.
An alternative (less opaque) implementation would be to use a bank-name
property instead but this would require modifying the driver code too.
Signed-off-by: John Robertson <john.robertson@simiatec.com>
Diffstat (limited to 'board/technexion')
0 files changed, 0 insertions, 0 deletions