[U-Boot] [PATCH] arm64: zynqmp: Add support for e-a2197-00 System Controller

Michal Simek monstr at monstr.eu
Thu Oct 24 11:32:17 UTC 2019


Ășt 15. 10. 2019 v 13:36 odesĂ­latel Michal Simek
<michal.simek at xilinx.com> napsal:
>
> Add support for System Controller available on e-a2197-00 base board.
> System is very similar to p-a2197-00 board.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  arch/arm/dts/Makefile                         |   1 +
>  arch/arm/dts/zynqmp-e-a2197-00-revA.dts       | 559 ++++++++++++++++++
>  .../xilinx_zynqmp_e_a2197_00_revA_defconfig   | 115 ++++
>  3 files changed, 675 insertions(+)
>  create mode 100644 arch/arm/dts/zynqmp-e-a2197-00-revA.dts
>  create mode 100644 configs/xilinx_zynqmp_e_a2197_00_revA_defconfig
>
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index 03a39130552a..1d592b181bc1 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -248,6 +248,7 @@ dtb-$(CONFIG_ARCH_ZYNQMP) += \
>         avnet-ultra96-rev1.dtb                  \
>         avnet-ultrazedev-cc-v1.0-ultrazedev-som-v1.0.dtb        \
>         zynqmp-a2197-revA.dtb                   \
> +       zynqmp-e-a2197-00-revA.dtb              \
>         zynqmp-g-a2197-00-revA.dtb              \
>         zynqmp-m-a2197-01-revA.dtb              \
>         zynqmp-m-a2197-02-revA.dtb              \
> diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> new file mode 100644
> index 000000000000..39b5d7fff9ac
> --- /dev/null
> +++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> @@ -0,0 +1,559 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * dts file for Xilinx Versal a2197 RevA System Controller
> + *
> + * (C) Copyright 2019, Xilinx, Inc.
> + *
> + * Michal Simek <michal.simek at xilinx.com>
> + */
> +/dts-v1/;
> +
> +#include "zynqmp.dtsi"
> +#include "zynqmp-clk-ccf.dtsi"
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/phy/phy.h>
> +
> +/ {
> +       model = "Versal System Controller on a2197 Eval board RevA"; /* VCK190/VMK180 */
> +       compatible = "xlnx,zynqmp-e-a2197-00-revA", "xlnx,zynqmp-a2197-revA",
> +                    "xlnx,zynqmp-a2197", "xlnx,zynqmp";
> +
> +       aliases {
> +               ethernet0 = &gem0;
> +               gpio0 = &gpio;
> +               i2c0 = &i2c0;
> +               i2c1 = &i2c1;
> +               mmc0 = &sdhci1;
> +               rtc0 = &rtc;
> +               serial0 = &uart0;
> +               serial1 = &dcc;
> +       };
> +
> +       chosen {
> +               bootargs = "earlycon";
> +               stdout-path = "serial0:115200n8";
> +               xlnx,eeprom = <&eeprom>;
> +       };
> +
> +       memory at 0 {
> +               device_type = "memory";
> +               reg = <0x0 0x0 0x0 0x80000000>;
> +       };
> +
> +       ina226-vccint {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vccint 0>, <&vccint 1>, <&vccint 2>, <&vccint 3>;
> +       };
> +       ina226-vcc-soc {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcc_soc 0>, <&vcc_soc 1>, <&vcc_soc 2>, <&vcc_soc 3>;
> +       };
> +       ina226-vcc-pmc {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcc_pmc 0>, <&vcc_pmc 1>, <&vcc_pmc 2>, <&vcc_pmc 3>;
> +       };
> +       ina226-vcc-ram {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcc_ram 0>, <&vcc_ram 1>, <&vcc_ram 2>, <&vcc_ram 3>;
> +       };
> +       ina226-vcc-pslp {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcc_pslp 0>, <&vcc_pslp 1>, <&vcc_pslp 2>, <&vcc_pslp 3>;
> +       };
> +       ina226-vcc-psfp {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcc_psfp 0>, <&vcc_psfp 1>, <&vcc_psfp 2>, <&vcc_psfp 3>;
> +       };
> +       ina226-vccaux {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vccaux 0>, <&vccaux 1>, <&vccaux 2>, <&vccaux 3>;
> +       };
> +       ina226-vccaux-pmc {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vccaux_pmc 0>, <&vccaux_pmc 1>, <&vccaux_pmc 2>, <&vccaux_pmc 3>;
> +       };
> +       ina226-vcco-500 {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcco_500 0>, <&vcco_500 1>, <&vcco_500 2>, <&vcco_500 3>;
> +       };
> +       ina226-vcco-501 {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcco_501 0>, <&vcco_501 1>, <&vcco_501 2>, <&vcco_501 3>;
> +       };
> +       ina226-vcco-502 {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcco_502 0>, <&vcco_502 1>, <&vcco_502 2>, <&vcco_502 3>;
> +       };
> +       ina226-vcco-503 {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcco_503 0>, <&vcco_503 1>, <&vcco_503 2>, <&vcco_503 3>;
> +       };
> +       ina226-vcc-1v8 {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcc_1v8 0>, <&vcc_1v8 1>, <&vcc_1v8 2>, <&vcc_1v8 3>;
> +       };
> +       ina226-vcc-3v3 {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcc_3v3 0>, <&vcc_3v3 1>, <&vcc_3v3 2>, <&vcc_3v3 3>;
> +       };
> +       ina226-vcc-1v2-ddr4 {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcc_1v2_ddr4 0>, <&vcc_1v2_ddr4 1>, <&vcc_1v2_ddr4 2>, <&vcc_1v2_ddr4 3>;
> +       };
> +       ina226-vcc-1v1-lp4 {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vcc1v1_lp4 0>, <&vcc1v1_lp4 1>, <&vcc1v1_lp4 2>, <&vcc1v1_lp4 3>;
> +       };
> +       ina226-vadj-fmc {
> +               compatible = "iio-hwmon";
> +               io-channels = <&vadj_fmc 0>, <&vadj_fmc 1>, <&vadj_fmc 2>, <&vadj_fmc 3>;
> +       };
> +       ina226-mgtyavcc {
> +               compatible = "iio-hwmon";
> +               io-channels = <&mgtyavcc 0>, <&mgtyavcc 1>, <&mgtyavcc 2>, <&mgtyavcc 3>;
> +       };
> +       ina226-mgtyavtt {
> +               compatible = "iio-hwmon";
> +               io-channels = <&mgtyavtt 0>, <&mgtyavtt 1>, <&mgtyavtt 2>, <&mgtyavtt 3>;
> +       };
> +       ina226-mgtyvccaux {
> +               compatible = "iio-hwmon";
> +               io-channels = <&mgtyvccaux 0>, <&mgtyvccaux 1>, <&mgtyvccaux 2>, <&mgtyvccaux 3>;
> +       };
> +};
> +
> +&uart0 { /* uart0 MIO38-39 */
> +       status = "okay";
> +       u-boot,dm-pre-reloc;
> +};
> +
> +&sdhci1 { /* sd1 MIO45-51 cd in place */
> +       status = "okay";
> +       no-1-8-v;
> +       disable-wp;
> +       xlnx,mio_bank = <1>;
> +};
> +
> +&gem0 {
> +       status = "okay";
> +       phy-handle = <&phy0>;
> +       phy-mode = "sgmii";
> +       is-internal-pcspma;
> +       phy0: ethernet-phy at 0 { /* u131 M88E1512 */
> +               reg = <0>;
> +       };
> +};
> +
> +&gpio {
> +       status = "okay";
> +       gpio-line-names = "", "", "", "", "", /* 0 - 4 */
> +                 "", "", "DC_SYS_CTRL0", "DC_SYS_CTRL1", "DC_SYS_CTRL2", /* 5 - 9 */
> +                 "DC_SYS_CTRL3", "ZU4_TRIGGER", "SYSCTLR_PB", "", "", /* 10 - 14 */
> +                 "", "", "", "", "", /* 15 - 19 */
> +                 "", "", "", "", "", /* 20 - 24 */
> +                 "", "", "", "", "", /* 25 - 29 */
> +                 "", "", "", "", "LP_I2C0_PMC_SCL", /* 30 - 34 */
> +                 "LP_I2C0_PMC_SDA", "LP_I2C1_SCL", "LP_I2C1_SDA", "UART0_RXD_IN", "UART0_TXD_OUT", /* 35 - 39 */
> +                 "", "", "ETH_RESET_B", "", "", /* 40 - 44 */
> +                 "SD1_CD_B", "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3", /* 45 - 49 */
> +                 "SD1_CMD", "SD1_CLK", "", "", "", /* 50 - 54 */
> +                 "", "", "", "", "", /* 55 - 59 */
> +                 "", "", "", "", "", /* 60 - 64 */
> +                 "", "", "", "", "", /* 65 - 69 */
> +                 "", "", "", "", "", /* 70 - 74 */
> +                 "", "ETH_MDC", "ETH_MDIO", /* 75 - 77, MIO end and EMIO start */
> +                 "", "", /* 78 - 79 */
> +                 "", "", "", "", "", /* 80 - 84 */
> +                 "", "", "", "", "", /* 85 -89 */
> +                 "", "", "", "", "", /* 90 - 94 */
> +                 "", "", "", "", "", /* 95 - 99 */
> +                 "", "", "", "", "", /* 100 - 104 */
> +                 "", "", "", "", "", /* 105 - 109 */
> +                 "", "", "", "", "", /* 110 - 114 */
> +                 "", "", "", "", "", /* 115 - 119 */
> +                 "", "", "", "", "", /* 120 - 124 */
> +                 "", "", "", "", "", /* 125 - 129 */
> +                 "", "", "", "", "", /* 130 - 134 */
> +                 "", "", "", "", "", /* 135 - 139 */
> +                 "", "", "", "", "", /* 140 - 144 */
> +                 "", "", "", "", "", /* 145 - 149 */
> +                 "", "", "", "", "", /* 150 - 154 */
> +                 "", "", "", "", "", /* 155 - 159 */
> +                 "", "", "", "", "", /* 160 - 164 */
> +                 "", "", "", "", "", /* 165 - 169 */
> +                 "", "", "", ""; /* 170 - 174 */
> +};
> +
> +&i2c0 { /* MIO 34-35 - can't stay here */
> +       status = "okay";
> +       clock-frequency = <400000>;
> +       i2c-mux at 74 { /* u33 */
> +               compatible = "nxp,pca9548";
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               reg = <0x74>;
> +               /* reset-gpios = <&gpio SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */
> +               i2c at 0 { /* PMBUS */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <0>;
> +                       /* u152 IR35215 0x16/0x46 vcc_soc */
> +                       /* u160 IRPS5401 0x17/0x47 */
> +                       /* u167 IRPS5401 0x1c/0x4c */
> +                       /* u175 IRPS5401 0x1d/0x4d */
> +                       /* u179 ir38164 0x19/0x49 vcco_500 */
> +                       /* u181 ir38164 0x1a/0x4a vcco_501 */
> +                       /* u183 ir38164 0x1b/0x4b vcco_502 */
> +                       /* u185 ir38164 0x1e/0x4e vadj_fmc */
> +                       /* u187 ir38164 0x1F/0x4f mgtyavcc */
> +                       /* u189 ir38164 0x20/0x50 mgtyavtt */
> +                       /* u194 ir38164 0x13/0x43 vdd1_1v8_lp4 */
> +                       /* u195 ir38164 0x14/0x44 vdd2_1v8_lp4 */
> +               };
> +               i2c at 1 { /* PMBUS1_INA226 */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <1>;
> +                       /* FIXME check alerts coming to SC */
> +                       vccint: ina226 at 40 { /* u65 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vccint";
> +                               reg = <0x40>;
> +                               shunt-resistor = <5000>; /* R440 */
> +                               /* 0.78V @ 32A 1 of 6 Phases*/
> +                       };
> +                       vcc_soc: ina226 at 41 { /* u161 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcc-soc";
> +                               reg = <0x41>;
> +                               shunt-resistor = <2000>; /* R1186 */
> +                               /* 0.78V @ 18A */
> +                       };
> +                       vcc_pmc: ina226 at 42 { /* u163 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcc-pmc";
> +                               reg = <0x42>;
> +                               shunt-resistor = <5000>; /* R1214 */
> +                               /* 0.78V @ 500mA */
> +                       };
> +                       vcc_ram: ina226 at 43 { /* u162 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcc-ram";
> +                               reg = <0x43>;
> +                               shunt-resistor = <5000>; /* r1221 */
> +                               /* 0.78V @ 4A */
> +                       };
> +                       vcc_pslp: ina226 at 44 { /* u165 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcc-pslp";
> +                               reg = <0x44>;
> +                               shunt-resistor = <5000>; /* R1216 */
> +                               /* 0.78V @ 1A */
> +                       };
> +                       vcc_psfp: ina226 at 45 { /* u164 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcc-psfp";
> +                               reg = <0x45>;
> +                               shunt-resistor = <5000>; /* R1219 */
> +                               /* 0.78V @ 2A */
> +                       };
> +               };
> +               i2c at 2 { /* PCIE_CLK */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <2>;
> +                       clock_8t49n287: clock-generator at d8 { /* u39 8T49N240 */
> +                               #clock-cells = <1>; /* author David Cater <david.cater at idt.com>*/
> +                               compatible = "idt,8t49n240", "idt,8t49n241"; /* FIXME no driver for 240 */
> +                               reg = <0xd8>;
> +                               /* Documentation/devicetree/bindings/clock/idt,idt8t49n24x.txt */
> +                               /* FIXME there input via J241 Samtec CLK1 and CLK0 from U38 - selection PIN */
> +                       };
> +               };
> +               i2c at 3 { /* PMBUS2_INA226 */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <3>;
> +                       /* FIXME check alerts coming to SC */
> +                       vccaux: ina226 at 40 { /* u166 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vccaux";
> +                               reg = <0x40>;
> +                               shunt-resistor = <5000>; /* R382 */
> +                               /* 1.5V @ 3A */
> +                       };
> +                       vccaux_pmc: ina226 at 41 { /* u168 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vccaux-pmc";
> +                               reg = <0x41>;
> +                               shunt-resistor = <5000>; /* R1246 */
> +                               /* 1.5V @ 500mA */
> +                       };
> +                       vcco_500: ina226 at 42 { /* u178 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcco-500";
> +                               reg = <0x42>;
> +                               shunt-resistor = <2000>; /* R1300 */
> +                               /* 3.3V @ 5A */
> +                       };
> +                       vcco_501: ina226 at 43 { /* u180 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcco-501";
> +                               reg = <0x43>;
> +                               shunt-resistor = <2000>; /* R1313 */
> +                               /* 3.3V @ 5A */
> +                       };
> +                       vcco_502: ina226 at 44 { /* u182 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcco-502";
> +                               reg = <0x44>;
> +                               shunt-resistor = <2000>; /* R1330 */
> +                               /* 3.3V @ 5A */
> +                       };
> +                       vcco_503: ina226 at 45 { /* u172 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcco-503";
> +                               reg = <0x45>;
> +                               shunt-resistor = <5000>; /* R1229 */
> +                               /* 1.8V @ 2A */
> +                       };
> +                       vcc_1v8: ina226 at 46 { /* u173 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcc-1v8";
> +                               reg = <0x46>;
> +                               shunt-resistor = <5000>; /* R400 */
> +                               /* 1.8V @ 6A */
> +                       };
> +                       vcc_3v3: ina226 at 47 { /* u174 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcc-3v3";
> +                               reg = <0x47>;
> +                               shunt-resistor = <5000>; /* R1232 */
> +                               /* 3.3V @ 500mA */
> +                       };
> +                       vcc_1v2_ddr4: ina226 at 48 { /* u176 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcc-1v2-ddr4";
> +                               reg = <0x48>;
> +                               shunt-resistor = <5000>; /* R1275 */
> +                               /* 1.2V @ 4A */
> +                       };
> +                       vcc1v1_lp4: ina226 at 49 { /* u177 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vcc1v1-lp4";
> +                               reg = <0x49>;
> +                               shunt-resistor = <5000>; /* R1286 */
> +                               /* 1.1V @ 4A */
> +                       };
> +                       vadj_fmc: ina226 at 4a { /* u184 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-vadj-fmc";
> +                               reg = <0x4a>;
> +                               shunt-resistor = <2000>; /* R1350 */
> +                               /* 1.5V @ 10A */
> +                       };
> +                       mgtyavcc: ina226 at 4b { /* u186 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-mgtyavcc";
> +                               reg = <0x4b>;
> +                               shunt-resistor = <2000>; /* R1367 */
> +                               /* 0.88V @ 6A */
> +                       };
> +                       mgtyavtt: ina226 at 4c { /* u188 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-mgtyavtt";
> +                               reg = <0x4c>;
> +                               shunt-resistor = <2000>; /* R1384 */
> +                               /* 1.2V @ 10A */
> +                       };
> +                       mgtyvccaux: ina226 at 4d { /* u234 */
> +                               compatible = "ti,ina226";
> +                               #io-channel-cells = <1>;
> +                               label = "ina226-mgtyvccaux";
> +                               reg = <0x4d>;
> +                               shunt-resistor = <5000>; /* r1679 */
> +                               /* 1.5V @ 500mA */
> +                       };
> +               };
> +               i2c at 4 { /* LP_I2C_SM */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <4>;
> +                       /* FIXME wires ready but chip is missing */
> +               };
> +               i2c at 5 { /* zSFP_SI570 */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <5>;
> +                       si570_zsfp: clock-generator at 5d { /* u192 */
> +                               #clock-cells = <0>;
> +                               compatible = "silabs,si570";
> +                               reg = <0x5d>;
> +                               temperature-stability = <50>;
> +                               factory-fout = <156250000>;
> +                               clock-frequency = <156250000>;
> +                               clock-output-names = "si570_hsdp_clk";
> +                       };
> +               };
> +               i2c at 6 { /* USER_SI570_1 */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <6>;
> +                       si570_user1_clk: clock-generator at 5d { /* u205 */
> +                               #clock-cells = <0>;
> +                               compatible = "silabs,si570";
> +                               reg = <0x5f>;
> +                               temperature-stability = <50>;
> +                               factory-fout = <100000000>;
> +                               clock-frequency = <100000000>;
> +                               clock-output-names = "si570_user1";
> +                       };
> +
> +               };
> +               i2c at 7 { /* USER_SI570_2 */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <7>;
> +                       /* FIXME wires ready but chip is missing */
> +               };
> +       };
> +};
> +
> +&i2c1 { /* i2c1 MIO 36-37 */
> +       status = "okay";
> +       clock-frequency = <400000>;
> +
> +       i2c-mux at 74 { /* u35 */
> +               compatible = "nxp,pca9548";
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               reg = <0x74>;
> +               /* reset-gpios = <&gpio SYSCTLR_IIC_MUX1_RESET_B GPIO_ACTIVE_HIGH>; */
> +               dc_i2c: i2c at 0 { /* DC_I2C */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <0>;
> +                       /* Use for storing information about SC board */
> +                       eeprom: eeprom at 54 { /* u34 - m24128 16kB */
> +                               compatible = "st,24c128", "atmel,24c128";
> +                               reg = <0x54>; /* 0x5c too */
> +                       };
> +                       si570_ref_clk: clock-generator at 5d { /* u32 */
> +                               #clock-cells = <0>;
> +                               compatible = "silabs,si570";
> +                               reg = <0x5d>;
> +                               temperature-stability = <50>;
> +                               factory-fout = <33333333>;
> +                               clock-frequency = <33333333>;
> +                               clock-output-names = "ref_clk";
> +                       };
> +                       /* and connector J212D */
> +               };
> +               fmc1: i2c at 1 { /* FMCP1_IIC */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <1>;
> +                       /* FIXME connection to Samtec J51C */
> +                       /* expected eeprom 0x50 FMC cards */
> +               };
> +               fmc2: i2c at 2 { /* FMCP2_IIC */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <2>;
> +                       /* FIXME connection to Samtec J53C */
> +                       /* expected eeprom 0x50 FMC cards */
> +               };
> +               i2c at 3 { /* DDR4_DIMM1 */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <3>;
> +                       si570_ddr_dimm1: clock-generator at 60 { /* u2 */
> +                               #clock-cells = <0>;
> +                               compatible = "silabs,si570";
> +                               reg = <0x60>;
> +                               temperature-stability = <50>;
> +                               factory-fout = <200000000>;
> +                               clock-frequency = <200000000>;
> +                               clock-output-names = "si570_ddrdimm1_clk";
> +                       };
> +               };
> +               i2c at 4 { /* LPDDR4_SI570_CLK2 */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <4>;
> +                       si570_ddr_dimm2: clock-generator at 60 { /* u3 */
> +                               #clock-cells = <0>;
> +                               compatible = "silabs,si570";
> +                               reg = <0x60>;
> +                               temperature-stability = <50>;
> +                               factory-fout = <200000000>;
> +                               clock-frequency = <200000000>;
> +                               clock-output-names = "si570_lpddr4_clk2";
> +                       };
> +               };
> +               i2c at 5 { /* LPDDR4_SI570_CLK1 */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <5>;
> +                       si570_lpddr4: clock-generator at 60 { /* u4 */
> +                               #clock-cells = <0>;
> +                               compatible = "silabs,si570";
> +                               reg = <0x60>;
> +                               temperature-stability = <50>;
> +                               factory-fout = <200000000>;
> +                               clock-frequency = <200000000>;
> +                               clock-output-names = "si570_lpddr4_clk1";
> +                       };
> +               };
> +               i2c at 6 { /* HSDP_SI570 */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <6>;
> +                       si570_hsdp: clock-generator at 5d { /* u5 */
> +                               #clock-cells = <0>;
> +                               compatible = "silabs,si570";
> +                               reg = <0x5d>;
> +                               temperature-stability = <50>;
> +                               factory-fout = <156250000>;
> +                               clock-frequency = <156250000>;
> +                               clock-output-names = "si570_hsdp_clk";
> +                       };
> +               };
> +               i2c at 7 { /* 8A34001 - U219B and J310 connector */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <7>;
> +               };
> +       };
> +};
> +
> +&xilinx_ams {
> +       status = "okay";
> +};
> +
> +&ams_ps {
> +       status = "okay";
> +};
> +
> +&ams_pl {
> +       status = "okay";
> +};
> diff --git a/configs/xilinx_zynqmp_e_a2197_00_revA_defconfig b/configs/xilinx_zynqmp_e_a2197_00_revA_defconfig
> new file mode 100644
> index 000000000000..33f9f44c1651
> --- /dev/null
> +++ b/configs/xilinx_zynqmp_e_a2197_00_revA_defconfig
> @@ -0,0 +1,115 @@
> +CONFIG_ARM=y
> +CONFIG_ARCH_ZYNQMP=y
> +CONFIG_SYS_TEXT_BASE=0x8000000
> +CONFIG_SYS_MALLOC_F_LEN=0x8000
> +CONFIG_SPL=y
> +CONFIG_DEBUG_UART_BASE=0xff000000
> +CONFIG_DEBUG_UART_CLOCK=100000000
> +CONFIG_IDENT_STRING=" Xilinx ZynqMP SC for Versal"
> +CONFIG_SPL_SPI_FLASH_SUPPORT=y
> +CONFIG_SPL_SPI_SUPPORT=y
> +CONFIG_ZYNQMP_USB=y
> +CONFIG_DEBUG_UART=y
> +CONFIG_AHCI=y
> +CONFIG_DISTRO_DEFAULTS=y
> +CONFIG_FIT=y
> +CONFIG_FIT_VERBOSE=y
> +CONFIG_SPL_LOAD_FIT=y
> +# CONFIG_DISPLAY_CPUINFO is not set
> +CONFIG_BOARD_EARLY_INIT_R=y
> +CONFIG_SPL_OS_BOOT=y
> +CONFIG_SPL_RAM_SUPPORT=y
> +CONFIG_SPL_RAM_DEVICE=y
> +CONFIG_SPL_ATF=y
> +CONFIG_CMD_THOR_DOWNLOAD=y
> +CONFIG_CMD_MEMTEST=y
> +CONFIG_SYS_ALT_MEMTEST=y
> +CONFIG_CMD_CLK=y
> +CONFIG_CMD_DFU=y
> +# CONFIG_CMD_FLASH is not set
> +CONFIG_CMD_FPGA_LOADBP=y
> +CONFIG_CMD_FPGA_LOADP=y
> +CONFIG_CMD_FPGA_LOAD_SECURE=y
> +CONFIG_CMD_GPIO=y
> +CONFIG_CMD_GPT=y
> +CONFIG_CMD_I2C=y
> +CONFIG_CMD_MMC=y
> +CONFIG_CMD_SDRAM=y
> +CONFIG_CMD_SF=y
> +CONFIG_CMD_USB=y
> +CONFIG_CMD_TFTPPUT=y
> +CONFIG_CMD_TIME=y
> +CONFIG_CMD_TIMER=y
> +CONFIG_CMD_EXT4_WRITE=y
> +CONFIG_SPL_OF_CONTROL=y
> +CONFIG_DEFAULT_DEVICE_TREE="zynqmp-e-a2197-00-revA"
> +CONFIG_ENV_IS_IN_FAT=y
> +CONFIG_NET_RANDOM_ETHADDR=y
> +CONFIG_SPL_DM=y
> +CONFIG_SPL_DM_SEQ_ALIAS=y
> +CONFIG_SCSI_AHCI=y
> +CONFIG_SATA_CEVA=y
> +CONFIG_CLK_ZYNQMP=y
> +CONFIG_DFU_RAM=y
> +CONFIG_USB_FUNCTION_FASTBOOT=y
> +CONFIG_FASTBOOT_FLASH=y
> +CONFIG_FASTBOOT_FLASH_MMC_DEV=0
> +CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
> +CONFIG_FPGA_XILINX=y
> +CONFIG_FPGA_ZYNQMPPL=y
> +CONFIG_DM_GPIO=y
> +CONFIG_XILINX_GPIO=y
> +CONFIG_DM_PCA953X=y
> +CONFIG_DM_I2C=y
> +CONFIG_SYS_I2C_CADENCE=y
> +CONFIG_I2C_MUX=y
> +CONFIG_I2C_MUX_PCA954x=y
> +CONFIG_LED=y
> +CONFIG_LED_GPIO=y
> +CONFIG_MISC=y
> +CONFIG_I2C_EEPROM=y
> +CONFIG_SYS_I2C_EEPROM_ADDR=0x0
> +CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW=0x0
> +CONFIG_MMC_SDHCI=y
> +CONFIG_MMC_SDHCI_ZYNQ=y
> +CONFIG_SPI_FLASH=y
> +CONFIG_SPI_FLASH_BAR=y
> +CONFIG_SF_DUAL_FLASH=y
> +CONFIG_SPI_FLASH_ISSI=y
> +CONFIG_SPI_FLASH_MACRONIX=y
> +CONFIG_SPI_FLASH_SPANSION=y
> +CONFIG_SPI_FLASH_STMICRO=y
> +CONFIG_SPI_FLASH_WINBOND=y
> +# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
> +CONFIG_PHY_MARVELL=y
> +CONFIG_PHY_NATSEMI=y
> +CONFIG_PHY_REALTEK=y
> +CONFIG_PHY_TI=y
> +CONFIG_PHY_VITESSE=y
> +CONFIG_PHY_FIXED=y
> +CONFIG_PHY_GIGE=y
> +CONFIG_MII=y
> +CONFIG_ZYNQ_GEM=y
> +CONFIG_SCSI=y
> +CONFIG_DM_SCSI=y
> +CONFIG_DEBUG_UART_ZYNQ=y
> +CONFIG_DEBUG_UART_ANNOUNCE=y
> +CONFIG_ZYNQ_SERIAL=y
> +CONFIG_SPI=y
> +CONFIG_ZYNQMP_GQSPI=y
> +CONFIG_USB=y
> +CONFIG_USB_XHCI_HCD=y
> +CONFIG_USB_XHCI_DWC3=y
> +CONFIG_USB_XHCI_ZYNQMP=y
> +CONFIG_USB_DWC3=y
> +CONFIG_USB_DWC3_GADGET=y
> +CONFIG_USB_DWC3_GENERIC=y
> +CONFIG_USB_ULPI_VIEWPORT=y
> +CONFIG_USB_ULPI=y
> +CONFIG_USB_GADGET=y
> +CONFIG_USB_GADGET_MANUFACTURER="Xilinx"
> +CONFIG_USB_GADGET_VENDOR_NUM=0x03FD
> +CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
> +CONFIG_USB_FUNCTION_THOR=y
> +CONFIG_SPL_GZIP=y
> +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
> --
> 2.17.1
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list