[PATCH 6/6] arm: dts: k3-am625-sk: Mark dependent nodes for pre-relocation phase
Nishanth Menon
nm at ti.com
Mon Oct 2 17:20:55 CEST 2023
On 16:46-20230929, Roger Quadros wrote:
> CPSW node needs PHY, MDIO, pinmux, DMA and INTC nodes.
> main_conf is required for phy_gmii_sel.
> Mark them as 'bootph-all' so they are available in all
> pre-relocation phases.
>
> Fixes the below dts warnings:
>
> <stdout>: Warning (reg_format): /bus at f0000/syscon at 100000/phy at 4044:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
> <stdout>: Warning (reg_format): /bus at f0000/ethernet at 8000000/ethernet-ports/port at 1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> <stdout>: Warning (unit_address_vs_reg): /bus at f0000/syscon at 100000: node has a unit name, but no reg or ranges property
> <stdout>: Warning (pci_device_reg): Failed prerequisite 'reg_format'
> <stdout>: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
> <stdout>: Warning (simple_bus_reg): Failed prerequisite 'reg_format'
> <stdout>: Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
> <stdout>: Warning (spi_bus_reg): Failed prerequisite 'reg_format'
> <stdout>: Warning (avoid_default_addr_size): /bus at f0000/syscon at 100000/phy at 4044: Relying on default #address-cells value
> <stdout>: Warning (avoid_default_addr_size): /bus at f0000/syscon at 100000/phy at 4044: Relying on default #size-cells value
> <stdout>: Warning (avoid_default_addr_size): /bus at f0000/ethernet at 8000000/ethernet-ports/port at 1: Relying on default #address-cells value
> <stdout>: Warning (avoid_default_addr_size): /bus at f0000/ethernet at 8000000/ethernet-ports/port at 1: Relying on default #size-cells value
> <stdout>: Warning (avoid_unnecessary_addr_size): Failed prerequisite 'avoid_default_addr_size'
> <stdout>: Warning (unique_unit_address): Failed prerequisite 'avoid_default_addr_size'
>
> Signed-off-by: Roger Quadros <rogerq at kernel.org>
> ---
> arch/arm/dts/k3-am625-sk-u-boot.dtsi | 39 ++++++++++++++++++++++++++++
> 1 file changed, 39 insertions(+)
>
> diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> index c658506256..b78d34b459 100644
> --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> @@ -21,6 +21,10 @@
> };
> };
>
> +&main_conf {
> + bootph-all;
> +};
> +
> &cbass_main {
> bootph-all;
> };
> @@ -118,8 +122,43 @@
> };
> };
>
> +&inta_main_dmss {
> + bootph-all;
> +};
> +
> +&main_pktdma {
> + bootph-all;
> +};
> +
> +&cpsw3g_mdio {
> + bootph-all;
> +};
> +
> +&cpsw3g_phy0 {
> + bootph-all;
> +};
> +
> +&cpsw3g_phy1 {
> + bootph-all;
> +};
> +
> +&main_rgmii1_pins_default {
> + bootph-all;
> +};
> +
> +&main_rgmii2_pins_default {
> + bootph-all;
> +};
> +
> +&phy_gmii_sel {
> + bootph-all;
> +};
> +
> &cpsw3g {
> bootph-all;
> + ethernet-ports {
> + bootph-all;
> + };
> };
>
> &cpsw_port1 {
> --
> 2.34.1
>
Reviewed-by: Nishanth Menon <nm at ti.com>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
More information about the U-Boot
mailing list