]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Turn comment to gpio-line-names
authorMichal Simek <michal.simek@xilinx.com>
Tue, 12 Mar 2019 09:15:27 +0000 (10:15 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Oct 2019 11:37:02 +0000 (13:37 +0200)
Label gpio lines properly.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zcu102-revA.dts

index 5babbf8ac59fbe6fb4de58007196608489b0d56e..78110c490e8d5bdba8719115e331a594bd5729ff 100644 (file)
        tca6416_u97: gpio@20 {
                compatible = "ti,tca6416";
                reg = <0x20>;
-               gpio-controller;
+               gpio-controller; /* IRQ not connected */
                #gpio-cells = <2>;
-               /*
-                * IRQ not connected
-                * Lines:
-                * 0 - PS_GTR_LAN_SEL0
-                * 1 - PS_GTR_LAN_SEL1
-                * 2 - PS_GTR_LAN_SEL2
-                * 3 - PS_GTR_LAN_SEL3
-                * 4 - PCI_CLK_DIR_SEL
-                * 5 - IIC_MUX_RESET_B
-                * 6 - GEM3_EXP_RESET_B
-                * 7, 10 - 17 - not connected
-                */
-
+               gpio-line-names = "PS_GTR_LAN_SEL0", "PS_GTR_LAN_SEL1", "PS_GTR_LAN_SEL2", "PS_GTR_LAN_SEL3",
+                               "PCI_CLK_DIR_SEL", "IIC_MUX_RESET_B", "GEM3_EXP_RESET_B",
+                               "", "", "", "", "", "", "", "", "";
                gtr_sel0 {
                        gpio-hog;
                        gpios = <0 0>;
        tca6416_u61: gpio@21 {
                compatible = "ti,tca6416";
                reg = <0x21>;
-               gpio-controller;
+               gpio-controller; /* IRQ not connected */
                #gpio-cells = <2>;
-               /*
-                * IRQ not connected
-                * Lines:
-                * 0 - VCCPSPLL_EN
-                * 1 - MGTRAVCC_EN
-                * 2 - MGTRAVTT_EN
-                * 3 - VCCPSDDRPLL_EN
-                * 4 - MIO26_PMU_INPUT_LS
-                * 5 - PL_PMBUS_ALERT
-                * 6 - PS_PMBUS_ALERT
-                * 7 - MAXIM_PMBUS_ALERT
-                * 10 - PL_DDR4_VTERM_EN
-                * 11 - PL_DDR4_VPP_2V5_EN
-                * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
-                * 13 - PS_DIMM_SUSPEND_EN
-                * 14 - PS_DDR4_VTERM_EN
-                * 15 - PS_DDR4_VPP_2V5_EN
-                * 16 - 17 - not connected
-                */
+               gpio-line-names = "VCCPSPLL_EN", "MGTRAVCC_EN", "MGTRAVTT_EN", "VCCPSDDRPLL_EN", "MIO26_PMU_INPUT_LS",
+                               "PL_PMBUS_ALERT", "PS_PMBUS_ALERT", "MAXIM_PMBUS_ALERT", "PL_DDR4_VTERM_EN",
+                               "PL_DDR4_VPP_2V5_EN", "PS_DIMM_VDDQ_TO_PSVCCO_ON", "PS_DIMM_SUSPEND_EN",
+                               "PS_DDR4_VTERM_EN", "PS_DDR4_VPP_2V5_EN", "", "";
        };
 
        i2c-mux@75 { /* u60 */