Skip to content

Commit

Permalink
arch: arm: sidekiqz2: define gpio-line-names for GPIO expanders
Browse files Browse the repository at this point in the history
To help with debugging, it's easier to determine which GPIO is which.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
  • Loading branch information
commodo committed May 15, 2018
1 parent 233b663 commit 2221ff8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/zynq-sidekiqz2-revb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
* freq range is limited by ad936x
* band_1: gpios = <0 0>; High for RX 40-435 MHz (Bandpass)
*/
gpio-line-names = "band_1", "band_0", "band_0_2_3",
"lna_bias_3", "lna_bias_2", "lna_bias_1",
"rx_ant_2", "rx_ant_1";
};

tca6408_u21: gpio@20 {
Expand All @@ -80,6 +83,10 @@
* from host SMBus
*/

gpio-line-names = "en_ext_i2c_3v3_n", "rfic_reset_n",
"tx_band_1", "tx_band_0", "lna_sw", "band_4",
"band_3", "band_2";

lna_sw {
gpio-hog;
gpios = <4 0>;
Expand Down

0 comments on commit 2221ff8

Please sign in to comment.