Commit 908e6543 authored by Drew Fustini's avatar Drew Fustini Committed by Tony Lindgren

ARM: dts: am335x-pocketbeagle: unique gpio-line-names

Based on linux-gpio discussion [1], it is best practice to make the
gpio-line-names unique. Generic names like "[ethernet]" are replaced
with the name of the unique signal on the AM3358 SoC ball corresponding
to the gpio line. "[NC]" is also renamed to the standard "NC" name to
represent "not connected".

[1] https://lore.kernel.org/linux-gpio/20201216195357.GA2583366@x1/Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: default avatarDrew Fustini <drew@beagleboard.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent a38fd874
...@@ -61,51 +61,51 @@ vmmcsd_fixed: fixedregulator0 { ...@@ -61,51 +61,51 @@ vmmcsd_fixed: fixedregulator0 {
&gpio0 { &gpio0 {
gpio-line-names = gpio-line-names =
"[NC]", "NC",
"[NC]", "NC",
"P1.08 [SPI0_CLK]", "P1.08 [SPI0_CLK]",
"P1.10 [SPI0_MISO]", "P1.10 [SPI0_MISO]",
"P1.12 [SPI0_MOSI]", "P1.12 [SPI0_MOSI]",
"P1.06 [SPI0_CS]", "P1.06 [SPI0_CS]",
"[MMC0_CD]", "[MMC0_CD]",
"P2.29 [SPI1_CLK]", "P2.29 [SPI1_CLK]",
"[SYSBOOT]", "[SYSBOOT 12]",
"[SYSBOOT]", "[SYSBOOT 13]",
"[SYSBOOT]", "[SYSBOOT 14]",
"[SYSBOOT]", "[SYSBOOT 15]",
"P1.26 [I2C2_SDA]", "P1.26 [I2C2_SDA]",
"P1.28 [I2C2_SCL]", "P1.28 [I2C2_SCL]",
"P2.11 [I2C1_SDA]", "P2.11 [I2C1_SDA]",
"P2.09 [I2C1_SCL]", "P2.09 [I2C1_SCL]",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"P2.31 [SPI1_CS]", "P2.31 [SPI1_CS]",
"P1.20 [PRU0.16]", "P1.20 [PRU0.16]",
"[NC]", "NC",
"[NC]", "NC",
"P2.03", "P2.03",
"[NC]", "NC",
"[NC]", "NC",
"P1.34", "P1.34",
"P2.19", "P2.19",
"[NC]", "NC",
"[NC]", "NC",
"P2.05 [UART4_RX]", "P2.05 [UART4_RX]",
"P2.07 [UART4_TX]"; "P2.07 [UART4_TX]";
}; };
&gpio1 { &gpio1 {
gpio-line-names = gpio-line-names =
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"P2.25 [SPI1_MOSI]", "P2.25 [SPI1_MOSI]",
"P1.32 [UART0_RX]", "P1.32 [UART0_RX]",
"P1.30 [UART0_TX]", "P1.30 [UART0_TX]",
...@@ -113,10 +113,10 @@ &gpio1 { ...@@ -113,10 +113,10 @@ &gpio1 {
"P2.33", "P2.33",
"P2.22", "P2.22",
"P2.18", "P2.18",
"[NC]", "NC",
"[NC]", "NC",
"P2.01 [PWM1A]", "P2.01 [PWM1A]",
"[NC]", "NC",
"P2.10", "P2.10",
"[USR LED 0]", "[USR LED 0]",
"[USR LED 1]", "[USR LED 1]",
...@@ -126,35 +126,35 @@ &gpio1 { ...@@ -126,35 +126,35 @@ &gpio1 {
"P2.04", "P2.04",
"P2.02", "P2.02",
"P2.08", "P2.08",
"[NC]", "NC",
"[NC]", "NC",
"[NC]"; "NC";
}; };
&gpio2 { &gpio2 {
gpio-line-names = gpio-line-names =
"P2.20", "P2.20",
"P2.17", "P2.17",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[EEPROM_WP]", "[EEPROM_WP]",
"[SYSBOOT]", "[SYSBOOT 0]",
"[SYSBOOT]", "[SYSBOOT 1]",
"[SYSBOOT]", "[SYSBOOT 2]",
"[SYSBOOT]", "[SYSBOOT 3]",
"[SYSBOOT]", "[SYSBOOT 4]",
"[SYSBOOT]", "[SYSBOOT 5]",
"[SYSBOOT]", "[SYSBOOT 6]",
"[SYSBOOT]", "[SYSBOOT 7]",
"[SYSBOOT]", "[SYSBOOT 8]",
"[SYSBOOT]", "[SYSBOOT 9]",
"[SYSBOOT]", "[SYSBOOT 10]",
"[SYSBOOT]", "[SYSBOOT 11]",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"P2.35 [AIN5]", "P2.35 [AIN5]",
"P1.02 [AIN6]", "P1.02 [AIN6]",
"P1.35 [PRU1.10]", "P1.35 [PRU1.10]",
...@@ -169,19 +169,19 @@ &gpio2 { ...@@ -169,19 +169,19 @@ &gpio2 {
&gpio3 { &gpio3 {
gpio-line-names = gpio-line-names =
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[I2C0_SDA]", "[I2C0_SDA]",
"[I2C0_SCL]", "[I2C0_SCL]",
"[JTAG]", "[JTAG EMU0]",
"[JTAG]", "[JTAG EMU1]",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"P1.03 [USB1]", "P1.03 [USB1]",
"P1.36 [PWM0A]", "P1.36 [PWM0A]",
"P1.33 [PRU0.1]", "P1.33 [PRU0.1]",
...@@ -191,16 +191,16 @@ &gpio3 { ...@@ -191,16 +191,16 @@ &gpio3 {
"P2.34 [PRU0.5]", "P2.34 [PRU0.5]",
"P2.28 [PRU0.6]", "P2.28 [PRU0.6]",
"P1.29 [PRU0.7]", "P1.29 [PRU0.7]",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]"; "NC";
}; };
&am33xx_pinmux { &am33xx_pinmux {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment