[PATCH 3/4] ARM: dts: at91: sama5d2: fix dtc warning for ohci and ehci
Alexander Dahl
ada at thorsis.com
Fri Aug 20 08:25:00 CEST 2021
Hello,
Am Tue, Aug 17, 2021 at 01:29:24PM +0300 schrieb Eugen Hristev:
> Fixed the following DTC build warning (reproducible with W=1)
>
> arch/arm/dts/at91-sama5d2_icp.dtb: Warning (unit_address_format): /ahb/ohci at 00400000: unit name should not have leading 0s
> arch/arm/dts/at91-sama5d2_icp.dtb: Warning (unit_address_format): /ahb/ehci at 00500000: unit name should not have leading 0s
>
> Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
> ---
> arch/arm/dts/at91-sama5d27_som1_ek.dts | 4 ++--
> arch/arm/dts/at91-sama5d2_ptc_ek.dts | 4 ++--
> arch/arm/dts/at91-sama5d2_xplained.dts | 4 ++--
> arch/arm/dts/sama5d2.dtsi | 4 ++--
> 4 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/dts/at91-sama5d27_som1_ek.dts b/arch/arm/dts/at91-sama5d27_som1_ek.dts
> index ee851a1bef..efd1a5d197 100644
> --- a/arch/arm/dts/at91-sama5d27_som1_ek.dts
> +++ b/arch/arm/dts/at91-sama5d27_som1_ek.dts
> @@ -68,7 +68,7 @@
> };
>
> ahb {
> - usb1: ohci at 00400000 {
> + usb1: ohci at 400000 {
> num-ports = <3>;
> atmel,vbus-gpio = <&pioA 42 0>;
> pinctrl-names = "default";
> @@ -76,7 +76,7 @@
> status = "okay";
> };
>
> - usb2: ehci at 00500000 {
> + usb2: ehci at 500000 {
> status = "okay";
> };
>
> diff --git a/arch/arm/dts/at91-sama5d2_ptc_ek.dts b/arch/arm/dts/at91-sama5d2_ptc_ek.dts
> index cd3711a02a..f45fb1ef26 100644
> --- a/arch/arm/dts/at91-sama5d2_ptc_ek.dts
> +++ b/arch/arm/dts/at91-sama5d2_ptc_ek.dts
> @@ -76,7 +76,7 @@
> status = "okay";
> };
>
> - usb1: ohci at 00400000 {
> + usb1: ohci at 400000 {
> num-ports = <3>;
> atmel,vbus-gpio = <0
> &pioA PIN_PB12 GPIO_ACTIVE_HIGH
> @@ -87,7 +87,7 @@
> status = "okay";
> };
>
> - usb2: ehci at 00500000 {
> + usb2: ehci at 500000 {
> status = "okay";
> };
>
> diff --git a/arch/arm/dts/at91-sama5d2_xplained.dts b/arch/arm/dts/at91-sama5d2_xplained.dts
> index b733c4d4ce..e7c91c5fec 100644
> --- a/arch/arm/dts/at91-sama5d2_xplained.dts
> +++ b/arch/arm/dts/at91-sama5d2_xplained.dts
> @@ -25,7 +25,7 @@
> };
>
> ahb {
> - usb1: ohci at 00400000 {
> + usb1: ohci at 400000 {
> num-ports = <3>;
> atmel,vbus-gpio = <&pioA 42 0>;
> pinctrl-names = "default";
> @@ -33,7 +33,7 @@
> status = "okay";
> };
>
> - usb2: ehci at 00500000 {
> + usb2: ehci at 500000 {
> status = "okay";
> };
>
> diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
> index 6fb2cb25f9..d8a125b073 100644
> --- a/arch/arm/dts/sama5d2.dtsi
> +++ b/arch/arm/dts/sama5d2.dtsi
> @@ -32,7 +32,7 @@
> #size-cells = <1>;
> u-boot,dm-pre-reloc;
>
> - usb1: ohci at 00400000 {
> + usb1: ohci at 400000 {
> compatible = "atmel,at91rm9200-ohci", "usb-ohci";
> reg = <0x00400000 0x100000>;
> clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
> @@ -40,7 +40,7 @@
> status = "disabled";
> };
>
> - usb2: ehci at 00500000 {
> + usb2: ehci at 500000 {
> compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
> reg = <0x00500000 0x100000>;
> clocks = <&utmi>, <&uhphs_clk>;
Reviewed-by: Alexander Dahl <ada at thorsis.com>
Greets
Alex
More information about the U-Boot
mailing list