]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Remove gpio from aliases list
authorMichal Simek <michal.simek@xilinx.com>
Thu, 3 Jun 2021 08:47:04 +0000 (10:47 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Jun 2021 07:48:36 +0000 (09:48 +0200)
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>
21 files changed:
arch/arm/dts/zynqmp-e-a2197-00-revA.dts
arch/arm/dts/zynqmp-g-a2197-00-revA.dts
arch/arm/dts/zynqmp-m-a2197-01-revA.dts
arch/arm/dts/zynqmp-m-a2197-02-revA.dts
arch/arm/dts/zynqmp-m-a2197-03-revA.dts
arch/arm/dts/zynqmp-p-a2197-00-revA.dts
arch/arm/dts/zynqmp-sm-k26-revA.dts
arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts
arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts
arch/arm/dts/zynqmp-zcu100-revC.dts
arch/arm/dts/zynqmp-zcu102-revA.dts
arch/arm/dts/zynqmp-zcu104-revA.dts
arch/arm/dts/zynqmp-zcu104-revC.dts
arch/arm/dts/zynqmp-zcu106-revA.dts
arch/arm/dts/zynqmp-zcu111-revA.dts
arch/arm/dts/zynqmp-zcu208-revA.dts
arch/arm/dts/zynqmp-zcu216-revA.dts

index 65ab67a32c0ecdad92c061ea4cacdfabf4a2808e..bd0ba557e072748478b3f8ddf3d9def6ea010c24 100644 (file)
@@ -20,7 +20,6 @@
 
        aliases {
                ethernet0 = &gem0;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci1;
index 26eca135e1b6f58f99dd30e9a211bff7185457a1..ee530ba3e1476091d20e00ae8dac5f1b8559e667 100644 (file)
@@ -19,7 +19,6 @@
 
        aliases {
                ethernet0 = &gem0;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                mmc0 = &sdhci0;
                nvmem0 = &eeprom;
index 157c301951e37ca5863c977803cfac475ff0c712..86f2ccf4d95121336807f848c3d088d732bab6d2 100644 (file)
@@ -19,7 +19,6 @@
 
        aliases {
                ethernet0 = &gem0;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci0;
index cbdd69c24890f921ec84e7e68c397f5be830a861..e980fb07fc308a60d614b50d056826245df2356c 100644 (file)
@@ -19,7 +19,6 @@
 
        aliases {
                ethernet0 = &gem0;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci0;
index e4f92233340c30c8bba8044af58f00685a07183e..c8c5100672fe5d2e33a1f90634f780f5d75bb896 100644 (file)
@@ -19,7 +19,6 @@
 
        aliases {
                ethernet0 = &gem0;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci0;
index fe75933152820e92f79e3fb8704b4df0c323685b..d50b335e674d1113679449a55fb4e0cdaf242128 100644 (file)
@@ -20,7 +20,6 @@
 
        aliases {
                ethernet0 = &gem0;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci0;
index 7b8a8f83c4925bd75870584c22f10d452b8a2f69..b8a2249be4265aed758d41659988db4666e3b352 100644 (file)
@@ -22,7 +22,6 @@
                     "xlnx,zynqmp";
 
        aliases {
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci0;
index a377f27c50d4780ff0a46052a4295c5e6419394d..6ec96e0e8c962bc9f50a99bfe0373e5a28cab465 100644 (file)
@@ -19,7 +19,6 @@
                     "topic,miamimp", "xlnx,zynqmp";
 
        aliases {
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci0;
index 48802532e015a5db3885ce1f07edd2f869604a98..f7dc0f7fb6f6d869936357d2099d61f59011afad 100644 (file)
@@ -21,7 +21,6 @@
 
        aliases {
                ethernet0 = &gem3;
-               gpio0 = &gpio;
                i2c0 = &i2c1;
                mmc0 = &sdhci0;
                mmc1 = &sdhci1;
index b064b3b28b8f96a7fdbc290c6fb89dbf0fc47170..5b689dbd09373e753e6174254cd336f9c1fcf637 100644 (file)
@@ -20,7 +20,6 @@
 
        aliases {
                ethernet0 = &gem2;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                rtc0 = &rtc;
                serial0 = &uart0;
index 6b19f5e5f576fc044c2249834362cfaa484848bd..a9bac1dec03e827ebdaa81c59319a0e628df929e 100644 (file)
@@ -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;
index cfcfe9327f4cd550882be01156af07ccb131e045..f420f83ad208f65e9f1a296beca899ea6385a1a5 100644 (file)
@@ -21,7 +21,6 @@
                ethernet1 = &gem1;
                ethernet2 = &gem2;
                ethernet3 = &gem3;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                rtc0 = &rtc;
index 41ab20c3895f390a4d5476c7eb5f594f0e767700..ae2d03d98322cf9bde7cc1afc6e6d01af9800eea 100644 (file)
@@ -21,7 +21,6 @@
 
        aliases {
                ethernet0 = &gem1;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci0;
index 45dd7da7179bbf5ccd2c19c68736b0ac1f860215..2d615774782f19c4a990fef4f8decf7da96a7932 100644 (file)
@@ -23,7 +23,6 @@
        compatible = "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100", "xlnx,zynqmp";
 
        aliases {
-               gpio0 = &gpio;
                i2c0 = &i2c1;
                rtc0 = &rtc;
                serial0 = &uart1;
index 44e1b2877fdf4fbeb7c1177052f71447c930a3ad..c1af5fc635eee877239049384d8e2c9e4c396e82 100644 (file)
@@ -22,7 +22,6 @@
 
        aliases {
                ethernet0 = &gem3;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci1;
index 9f5f99949611bd238dafaa0e59a60ca045cdb41c..7e5eca82fdaaeda9340aeb4e481fc96cbeea01e6 100644 (file)
@@ -21,7 +21,6 @@
 
        aliases {
                ethernet0 = &gem3;
-               gpio0 = &gpio;
                i2c0 = &i2c1;
                mmc0 = &sdhci1;
                nvmem0 = &eeprom;
index 00d7c8cb098323b5440f7d6aeff63f232e8b5bc7..f4ebcbb318b41860727d4cb7d743eefc8f4119e4 100644 (file)
@@ -21,7 +21,6 @@
 
        aliases {
                ethernet0 = &gem3;
-               gpio0 = &gpio;
                i2c0 = &i2c1;
                mmc0 = &sdhci1;
                nvmem0 = &eeprom;
index a5f534f3be862e7b86317a89d3ee491d5b746485..ac6689c167308078b34851069df0fb24f809c0ca 100644 (file)
@@ -22,7 +22,6 @@
 
        aliases {
                ethernet0 = &gem3;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci1;
index 2ac788a947671f261d628b31215915f3edc37210..8d57ca2b3bf3d4f3bf472ce020bea4e7beb8d086 100644 (file)
@@ -22,7 +22,6 @@
 
        aliases {
                ethernet0 = &gem3;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci1;
index 82dc1dce68ce3ce92181fe6c7c4a04da06055c55..d3e20ae85d7e9f7ab6658cc9316c1746a028a62d 100644 (file)
@@ -22,7 +22,6 @@
 
        aliases {
                ethernet0 = &gem3;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci1;
index bc54feadd5445db6fcf9b49ca5153a957c9ec9eb..ae7c18196894cacfee36ff0987ed0504fa2ed5f3 100644 (file)
@@ -22,7 +22,6 @@
 
        aliases {
                ethernet0 = &gem3;
-               gpio0 = &gpio;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                mmc0 = &sdhci1;