From: Michal Simek Date: Thu, 26 Nov 2015 14:02:01 +0000 (+0100) Subject: ARM64: zcu102: GT selection via DT X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c965b3f6949df2855613cfc720077c5b85a27d4e;p=thirdparty%2Fu-boot.git ARM64: zcu102: GT selection via DT Use gpio hogs to select GT muxes based on HW design. Signed-off-by: Michal Simek --- diff --git a/arch/arm/dts/zynqmp-zcu102.dts b/arch/arm/dts/zynqmp-zcu102.dts index 3bb291c3b77..afb840d7d20 100644 --- a/arch/arm/dts/zynqmp-zcu102.dts +++ b/arch/arm/dts/zynqmp-zcu102.dts @@ -133,6 +133,31 @@ * 6 - GEM3_EXP_RESET_B * 7, 10 - 17 - not connected */ + + gtr_sel0 { + gpio-hog; + gpios = <0 0>; + output-high; /* PCIE = 0, DP = 1 */ + line-name = "sel0"; + }; + gtr_sel1 { + gpio-hog; + gpios = <1 0>; + output-high; /* PCIE = 0, DP = 1 */ + line-name = "sel1"; + }; + gtr_sel2 { + gpio-hog; + gpios = <2 0>; + output-high; /* PCIE = 0, USB0 = 1 */ + line-name = "sel2"; + }; + gtr_sel3 { + gpio-hog; + gpios = <3 0>; + output-high; /* PCIE = 0, SATA = 1 */ + line-name = "sel3"; + }; }; tca6416_u61: gpio@21 { /* FIXME enable it by i2c mw 21 6 0 */