]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Fix usb node drive strength and slew rate
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Wed, 15 Jun 2022 10:16:13 +0000 (12:16 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:17:18 +0000 (14:17 +0200)
As per design, all input/rx pins should have fast slew rate and 12mA
drive strength. Rest all pins should be slow slew rate and 4mA drive
strength. Fix usb nodes as per this and remove setting of slow slew rate
for all the usb gorup pins.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/b245c165f05845c1f3ab41a92c82b7ec1538cee4.1655288171.git.michal.simek@amd.com
12 files changed:
arch/arm/dts/zynqmp-sck-kr-g-revA.dts
arch/arm/dts/zynqmp-sck-kr-g-revB.dts
arch/arm/dts/zynqmp-sck-kv-g-revA.dts
arch/arm/dts/zynqmp-sck-kv-g-revB.dts
arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
arch/arm/dts/zynqmp-zc1751-xm016-dc2.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

index 7be02ab29fa107e9e47cd0038dd22ecbf400bfbe..735c1e3d1a88a02cb9ead47e3d05a181932c63f3 100644 (file)
        pinctrl_usb0_default: usb0-default {
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                        "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
 
                mux {
        pinctrl_usb1_default: usb1-default {
                conf {
                        groups = "usb1_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO64", "MIO65", "MIO67";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71",
                        "MIO72", "MIO73", "MIO74", "MIO75";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
 
                mux {
index 56effb5e21a9e054e5ca967b5b1c20946e3e665e..63590619d43e3fbe921cee59b68f679d847ee53a 100644 (file)
        pinctrl_usb0_default: usb0-default {
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                        "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
 
                mux {
        pinctrl_usb1_default: usb1-default {
                conf {
                        groups = "usb1_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO64", "MIO65", "MIO67";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71",
                        "MIO72", "MIO73", "MIO74", "MIO75";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
 
                mux {
index 8250a493c8a04c917db7e6e9a84ad4065b86d259..b714bd3eb1b1d0d18385cb3bcbb8e97ff4e0d606 100644 (file)
        pinctrl_usb0_default: usb0-default {
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                        "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
 
                mux {
index b81c2e6b7543d6535685572fcd43bd66a7f230b5..a1d8f9f0e51f3e299f49b94f087d0be6a701b3d3 100644 (file)
        pinctrl_usb0_default: usb0-default {
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                        "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
 
                mux {
index d20f6675687bfc366a3d0f5b40d3f1edd8d3f9ee..7ea2a1c96f4e02cbde859772bcb85208459421c1 100644 (file)
 
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                               "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
        };
 
index f32f87acacb6f6981f0ad4a66b15351def4c7fcd..4e6160bcd8b96a14d6189b7aca59223597648f3c 100644 (file)
 
                conf {
                        groups = "usb1_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO64", "MIO65", "MIO67";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71",
                               "MIO72", "MIO73", "MIO74", "MIO75";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
        };
 
index ea630a43dc7f8cd18ae9d2f38202f8267ddfb74e..5e7bc7384fceb4963b0940b1cb7b046e2a4525cc 100644 (file)
 
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                               "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
        };
 
 
                conf {
                        groups = "usb1_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO64", "MIO65", "MIO67";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71",
                               "MIO72", "MIO73", "MIO74", "MIO75";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
        };
 };
index c13b52a6aeaac0c88aac6b862593b09645407a05..a4e92c8bb16b747a635fddf8aefbff5e9cb4f67c 100644 (file)
 
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                               "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
        };
 
index 50bf479089135afa0a00bf5fd4d0d4b78b65ff6f..1418cffb20422c6971cccbe2681a957255a2cba2 100644 (file)
 
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
-                       drive-strength = <12>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                               "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
        };
 };
index 752a9e38f3d34845432059256b778bcdb7a36c6b..7fd19ca3a8c0be1c8d02640b46f2872f31553b7b 100644 (file)
 
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
-                       drive-strength = <12>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                               "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
        };
 };
index 6dfc8fe17bf218ae2501d75b55f8c9d9fa4f87f1..3e137676feb6a24c10b3766c6b2b7579986ac505 100644 (file)
 
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                               "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
        };
 
index 021fe88670fb8af4f05da562a1e5b02c414f8efe..e412992ff1bd45c352b8f2db7eb7afcf8e60cf47 100644 (file)
 
                conf {
                        groups = "usb0_0_grp";
-                       slew-rate = <SLEW_RATE_SLOW>;
                        power-source = <IO_STANDARD_LVCMOS18>;
                };
 
                conf-rx {
                        pins = "MIO52", "MIO53", "MIO55";
                        bias-high-impedance;
+                       drive-strength = <12>;
+                       slew-rate = <SLEW_RATE_FAST>;
                };
 
                conf-tx {
                        pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
                               "MIO60", "MIO61", "MIO62", "MIO63";
                        bias-disable;
+                       drive-strength = <4>;
+                       slew-rate = <SLEW_RATE_SLOW>;
                };
        };