ARM: dts: bcm283x: Remove gpio line name NC
authorStefan Wahren <stefan.wahren@i2se.com>
Mon, 11 Apr 2022 20:01:42 +0000 (22:01 +0200)
committerFlorian Fainelli <f.fainelli@gmail.com>
Tue, 19 Apr 2022 18:28:55 +0000 (11:28 -0700)
The convention to name not connected GPIOs with NC has never been
adapted. Also newer Raspberry Pi boards like RPi 4 never did. So fix
this inconsistency by removing all of the NC names.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 files changed:
arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
arch/arm/boot/dts/bcm2835-rpi-a.dts
arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
arch/arm/boot/dts/bcm2835-rpi-b.dts
arch/arm/boot/dts/bcm2835-rpi-cm1-io1.dts
arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
arch/arm/boot/dts/bcm2835-rpi-zero.dts
arch/arm/boot/dts/bcm2836-rpi-2-b.dts
arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts
arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts
arch/arm/boot/dts/bcm2837-rpi-3-b.dts
arch/arm/boot/dts/bcm2837-rpi-cm3-io3.dts
arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi

index 40b9405f1a8e439e7396bb728238eddea73d5602..9b9a18bbb20a9b943b95f4573f87637a3ca8a863 100644 (file)
@@ -32,7 +32,6 @@
         * This is based on the unreleased schematic for the Model A+.
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
                          "GPIO27",
                          "SDA0",
                          "SCL0",
-                         "NC", /* GPIO30 */
-                         "NC", /* GPIO31 */
+                         "", /* GPIO30 */
+                         "", /* GPIO31 */
                          "CAM_GPIO1", /* GPIO32 */
-                         "NC", /* GPIO33 */
-                         "NC", /* GPIO34 */
+                         "", /* GPIO33 */
+                         "", /* GPIO34 */
                          "PWR_LOW_N", /* GPIO35 */
-                         "NC", /* GPIO36 */
-                         "NC", /* GPIO37 */
+                         "", /* GPIO36 */
+                         "", /* GPIO37 */
                          "USB_LIMIT", /* GPIO38 */
-                         "NC", /* GPIO39 */
+                         "", /* GPIO39 */
                          "PWM0_OUT", /* GPIO40 */
                          "CAM_GPIO0", /* GPIO41 */
-                         "NC", /* GPIO42 */
-                         "NC", /* GPIO43 */
-                         "NC", /* GPIO44 */
+                         "", /* GPIO42 */
+                         "", /* GPIO43 */
+                         "", /* GPIO44 */
                          "PWM1_OUT", /* GPIO45 */
                          "HDMI_HPD_N",
                          "STATUS_LED",
index 11edb581dbaf0b42e5cb8209dc1aa7b4fa6e6cb6..f664e4fced93b589c5180dea4918a81760fb6468 100644 (file)
@@ -26,7 +26,6 @@
         * RPI00021 sheet 02
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
                          "SPI_MISO",
                          "SPI_MOSI",
                          "SPI_SCLK",
-                         "NC", /* GPIO12 */
-                         "NC", /* GPIO13 */
+                         "", /* GPIO12 */
+                         "", /* GPIO13 */
                          /* Serial port */
                          "TXD0",
                          "RXD0",
                          "STATUS_LED_N",
                          "GPIO17",
                          "GPIO18",
-                         "NC", /* GPIO19 */
-                         "NC", /* GPIO20 */
+                         "", /* GPIO19 */
+                         "", /* GPIO20 */
                          "GPIO21",
                          "GPIO22",
                          "GPIO23",
                          "GPIO24",
                          "GPIO25",
-                         "NC", /* GPIO26 */
+                         "", /* GPIO26 */
                          "CAM_GPIO0",
                          /* Binary number representing build/revision */
                          "CONFIG0",
                          "CONFIG1",
                          "CONFIG2",
                          "CONFIG3",
-                         "NC", /* GPIO32 */
-                         "NC", /* GPIO33 */
-                         "NC", /* GPIO34 */
-                         "NC", /* GPIO35 */
-                         "NC", /* GPIO36 */
-                         "NC", /* GPIO37 */
-                         "NC", /* GPIO38 */
-                         "NC", /* GPIO39 */
+                         "", /* GPIO32 */
+                         "", /* GPIO33 */
+                         "", /* GPIO34 */
+                         "", /* GPIO35 */
+                         "", /* GPIO36 */
+                         "", /* GPIO37 */
+                         "", /* GPIO38 */
+                         "", /* GPIO39 */
                          "PWM0_OUT",
-                         "NC", /* GPIO41 */
-                         "NC", /* GPIO42 */
-                         "NC", /* GPIO43 */
-                         "NC", /* GPIO44 */
+                         "", /* GPIO41 */
+                         "", /* GPIO42 */
+                         "", /* GPIO43 */
+                         "", /* GPIO44 */
                          "PWM1_OUT",
                          "HDMI_HPD_P",
                          "SD_CARD_DET",
index 1b435c64bd9c18f2a7e45e9d1a2fce61f158263a..7b7c363e5ee898306a64b8f1bc04a559fc6a0d40 100644 (file)
@@ -34,7 +34,6 @@
         * RPI-BPLUS sheet 1
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
                          "GPIO27",
                          "SDA0",
                          "SCL0",
-                         "NC", /* GPIO30 */
+                         "", /* GPIO30 */
                          "LAN_RUN", /* GPIO31 */
                          "CAM_GPIO1", /* GPIO32 */
-                         "NC", /* GPIO33 */
-                         "NC", /* GPIO34 */
+                         "", /* GPIO33 */
+                         "", /* GPIO34 */
                          "PWR_LOW_N", /* GPIO35 */
-                         "NC", /* GPIO36 */
-                         "NC", /* GPIO37 */
+                         "", /* GPIO36 */
+                         "", /* GPIO37 */
                          "USB_LIMIT", /* GPIO38 */
-                         "NC", /* GPIO39 */
+                         "", /* GPIO39 */
                          "PWM0_OUT", /* GPIO40 */
                          "CAM_GPIO0", /* GPIO41 */
-                         "NC", /* GPIO42 */
-                         "NC", /* GPIO43 */
+                         "", /* GPIO42 */
+                         "", /* GPIO43 */
                          "ETHCLK", /* GPIO44 */
                          "PWM1_OUT", /* GPIO45 */
                          "HDMI_HPD_N",
index a23c25c00eea7c3da990c47d6f035231424c790b..f5b66d3f4ff302f9c9d5a291589c17cc3dd2785c 100644 (file)
@@ -27,7 +27,6 @@
         * RPI00022 sheet 02
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
                          "SPI_MISO",
                          "SPI_MOSI",
                          "SPI_SCLK",
-                         "NC", /* GPIO12 */
-                         "NC", /* GPIO13 */
+                         "", /* GPIO12 */
+                         "", /* GPIO13 */
                          /* Serial port */
                          "TXD0",
                          "RXD0",
                          "STATUS_LED_N",
                          "GPIO17",
                          "GPIO18",
-                         "NC", /* GPIO19 */
-                         "NC", /* GPIO20 */
+                         "", /* GPIO19 */
+                         "", /* GPIO20 */
                          "CAM_GPIO",
                          "GPIO22",
                          "GPIO23",
                          "GPIO24",
                          "GPIO25",
-                         "NC", /* GPIO26 */
+                         "", /* GPIO26 */
                          "GPIO27",
                          "GPIO28",
                          "GPIO29",
                          "GPIO30",
                          "GPIO31",
-                         "NC", /* GPIO32 */
-                         "NC", /* GPIO33 */
-                         "NC", /* GPIO34 */
-                         "NC", /* GPIO35 */
-                         "NC", /* GPIO36 */
-                         "NC", /* GPIO37 */
-                         "NC", /* GPIO38 */
-                         "NC", /* GPIO39 */
+                         "", /* GPIO32 */
+                         "", /* GPIO33 */
+                         "", /* GPIO34 */
+                         "", /* GPIO35 */
+                         "", /* GPIO36 */
+                         "", /* GPIO37 */
+                         "", /* GPIO38 */
+                         "", /* GPIO39 */
                          "PWM0_OUT",
-                         "NC", /* GPIO41 */
-                         "NC", /* GPIO42 */
-                         "NC", /* GPIO43 */
-                         "NC", /* GPIO44 */
+                         "", /* GPIO41 */
+                         "", /* GPIO42 */
+                         "", /* GPIO43 */
+                         "", /* GPIO44 */
                          "PWM1_OUT",
                          "HDMI_HPD_P",
                          "SD_CARD_DET",
index 25d87212cefd3c847248cd2ef4270196658c121a..f589bede2b1134e38f630f1979e9a9e31928cb45 100644 (file)
@@ -27,7 +27,6 @@
         * RPI00021 sheet 02
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
                          "SPI_MISO",
                          "SPI_MOSI",
                          "SPI_SCLK",
-                         "NC", /* GPIO12 */
-                         "NC", /* GPIO13 */
+                         "", /* GPIO12 */
+                         "", /* GPIO13 */
                          /* Serial port */
                          "TXD0",
                          "RXD0",
                          "STATUS_LED_N",
                          "GPIO17",
                          "GPIO18",
-                         "NC", /* GPIO19 */
-                         "NC", /* GPIO20 */
+                         "", /* GPIO19 */
+                         "", /* GPIO20 */
                          "CAM_GPIO0",
                          "GPIO22",
                          "GPIO23",
                          "GPIO24",
                          "GPIO25",
-                         "NC", /* GPIO26 */
+                         "", /* GPIO26 */
                          "GPIO27",
                          "GPIO28",
                          "GPIO29",
                          "GPIO30",
                          "GPIO31",
-                         "NC", /* GPIO32 */
-                         "NC", /* GPIO33 */
-                         "NC", /* GPIO34 */
-                         "NC", /* GPIO35 */
-                         "NC", /* GPIO36 */
-                         "NC", /* GPIO37 */
-                         "NC", /* GPIO38 */
-                         "NC", /* GPIO39 */
+                         "", /* GPIO32 */
+                         "", /* GPIO33 */
+                         "", /* GPIO34 */
+                         "", /* GPIO35 */
+                         "", /* GPIO36 */
+                         "", /* GPIO37 */
+                         "", /* GPIO38 */
+                         "", /* GPIO39 */
                          "PWM0_OUT",
-                         "NC", /* GPIO41 */
-                         "NC", /* GPIO42 */
-                         "NC", /* GPIO43 */
-                         "NC", /* GPIO44 */
+                         "", /* GPIO41 */
+                         "", /* GPIO42 */
+                         "", /* GPIO43 */
+                         "", /* GPIO44 */
                          "PWM1_OUT",
                          "HDMI_HPD_P",
                          "SD_CARD_DET",
index a75c882e65751fae008e4d8d8807b927ea5b88c6..87958a96c3e0ce08d96c5dbb15aee9bfc6ed900b 100644 (file)
@@ -13,7 +13,6 @@
         * This is based on the official GPU firmware DT blob.
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
index 8b043ab62dc837dbdfb711dc33e2b5a27c93db90..596bb1ef994e984740890596173fbba008cec483 100644 (file)
@@ -39,7 +39,6 @@
         * This is based on the official GPU firmware DT blob.
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
@@ -88,7 +87,7 @@
                          "SD1_DATA3",
                          "CAM_GPIO1", /* GPIO40 */
                          "WL_ON", /* GPIO41 */
-                         "NC", /* GPIO42 */
+                         "", /* GPIO42 */
                          "WIFI_CLK", /* GPIO43 */
                          "CAM_GPIO0", /* GPIO44 */
                          "BT_ON", /* GPIO45 */
index 6f9b3a908f287fc62b8d395b8f01599fa67f2559..a65c2bca69ea4217461a06a2cdb6287149532fea 100644 (file)
@@ -29,7 +29,6 @@
         * This is based on the official GPU firmware DT blob.
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
                          "GPIO27",
                          "SDA0",
                          "SCL0",
-                         "NC", /* GPIO30 */
-                         "NC", /* GPIO31 */
+                         "", /* GPIO30 */
+                         "", /* GPIO31 */
                          "CAM_GPIO1", /* GPIO32 */
-                         "NC", /* GPIO33 */
-                         "NC", /* GPIO34 */
-                         "NC", /* GPIO35 */
-                         "NC", /* GPIO36 */
-                         "NC", /* GPIO37 */
-                         "NC", /* GPIO38 */
-                         "NC", /* GPIO39 */
-                         "NC", /* GPIO40 */
+                         "", /* GPIO33 */
+                         "", /* GPIO34 */
+                         "", /* GPIO35 */
+                         "", /* GPIO36 */
+                         "", /* GPIO37 */
+                         "", /* GPIO38 */
+                         "", /* GPIO39 */
+                         "", /* GPIO40 */
                          "CAM_GPIO0", /* GPIO41 */
-                         "NC", /* GPIO42 */
-                         "NC", /* GPIO43 */
-                         "NC", /* GPIO44 */
-                         "NC", /* GPIO45 */
+                         "", /* GPIO42 */
+                         "", /* GPIO43 */
+                         "", /* GPIO44 */
+                         "", /* GPIO45 */
                          "HDMI_HPD_N",
                          "STATUS_LED_N",
                          /* Used by SD Card */
index d8af8eeac7b6f9024c43b3341c5ae6c5fd182462..c824a2cea02e4fca5d4f1429c73b44f701784fd9 100644 (file)
@@ -34,7 +34,6 @@
         * the official GPU firmware DT blob.
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
index d73daf5bff1d694580125bb6b94ca5619172d8d6..f7222a28903e16fbb166973a0b859a0a38406d22 100644 (file)
@@ -55,7 +55,6 @@
         * This is mostly based on the official GPU firmware DT blob.
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
index c263f5b48b96b6dae5098bbde7ae23a03b075bee..fd4ac6f2d077a30f0a9c44fedae7e309f4970668 100644 (file)
@@ -61,7 +61,6 @@
         * the official GPU firmware DT blob.
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
index 42b5383b55d88f9910b48ca76f1c453d07e0e2d3..00ea439d601de361260fb748a0a38042f17f5d58 100644 (file)
@@ -54,7 +54,6 @@
         * the official GPU firmware DT blob.
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
index 3dfce4312dfc4ee7371b48031cd45acf145b9a00..cf84e69fced8312eb91cad2e0f47214f710ba412 100644 (file)
@@ -13,7 +13,6 @@
         * This is based on the official GPU firmware DT blob.
         *
         * Legend:
-        * "NC" = not connected (no rail from the SoC)
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
index 828a20561b9694b2ba3ca8f7f2d77549b7122e17..f57b4ca145dd36e4fa30409d64f995526f201a9f 100644 (file)
                #gpio-cells = <2>;
                gpio-line-names = "HDMI_HPD_N",
                                  "EMMC_EN_N",
-                                 "NC",
-                                 "NC",
-                                 "NC",
-                                 "NC",
-                                 "NC",
-                                 "NC";
+                                 "",
+                                 "",
+                                 "",
+                                 "",
+                                 "",
+                                 "";
                status = "okay";
        };
 };