[PATCH] ARM: zynq: Sync Microzed board with Linux kernel
Michal Simek
michal.simek at amd.com
Mon Apr 17 10:22:32 CEST 2023
On 3/28/23 09:21, Michal Simek wrote:
> Fix model name, node locations and also add pinctrl description for usb.
>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
> ---
> arch/arm/dts/zynq-microzed.dts | 42 ++++++++++++++++++++++++++++------
> 1 file changed, 35 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/dts/zynq-microzed.dts b/arch/arm/dts/zynq-microzed.dts
> index b95eb3ed2434..5f280f4d8ece 100644
> --- a/arch/arm/dts/zynq-microzed.dts
> +++ b/arch/arm/dts/zynq-microzed.dts
> @@ -8,7 +8,7 @@
> #include "zynq-7000.dtsi"
>
> / {
> - model = "Zynq MicroZED Board";
> + model = "Avnet MicroZed board";
> compatible = "avnet,zynq-microzed", "xlnx,zynq-microzed", "xlnx,zynq-7000";
>
> aliases {
> @@ -19,7 +19,7 @@
>
> memory at 0 {
> device_type = "memory";
> - reg = <0 0x40000000>;
> + reg = <0x0 0x40000000>;
> };
>
> chosen {
> @@ -42,11 +42,6 @@
> status = "okay";
> };
>
> -&uart1 {
> - bootph-all;
> - status = "okay";
> -};
> -
> &gem0 {
> status = "okay";
> phy-mode = "rgmii-id";
> @@ -62,8 +57,41 @@
> status = "okay";
> };
>
> +&uart1 {
> + bootph-all;
> + status = "okay";
> +};
> +
> &usb0 {
> status = "okay";
> dr_mode = "host";
> usb-phy = <&usb_phy0>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usb0_default>;
> +};
> +
> +&pinctrl0 {
> + pinctrl_usb0_default: usb0-default {
> + mux {
> + groups = "usb0_0_grp";
> + function = "usb0";
> + };
> +
> + conf {
> + groups = "usb0_0_grp";
> + slew-rate = <0>;
> + io-standard = <1>;
> + };
> +
> + conf-rx {
> + pins = "MIO29", "MIO31", "MIO36";
> + bias-high-impedance;
> + };
> +
> + conf-tx {
> + pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34",
> + "MIO35", "MIO37", "MIO38", "MIO39";
> + bias-disable;
> + };
> + };
> };
Applied.
M
More information about the U-Boot
mailing list