[U-Boot] dtc 1.4.2 warnings

Hi,
After I switched to dtc 1.4.2, when building x86 boards, I got:
Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /tpm has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/northbridge@0,0/spd/elpida_4Gb_1600_x16 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/northbridge@0,0/spd/samsung_4Gb_1600_1.35v_x16 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/northbridge@0,0/spd/micron_4Gb_1600_1.35v_x16 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /tpm has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/northbridge@0,0/spd/samsung_4 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/northbridge@0,0/spd/hynix-h9ccnnnbltmlar-ntm-lpddr3-32 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/northbridge@0,0/spd/samsung_8 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/northbridge@0,0/spd/hynix-h9ccnnnbltmlar-ntm-lpddr3-16 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/northbridge@0,0/spd/hynix-h9ccnnncltmlar-lpddr3 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/northbridge@0,0/spd/elpida-edfb232a1ma has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /tpm has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@2 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@3 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@4 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl/sdmmc3_cd@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/smbus_clk@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/smbus_data@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiod has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioe has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiof has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl/uart1_txd@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/uart1_rxd@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/sdmmc3_cd@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiod has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioe has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiof has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl/sdmmc3_cd@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiod has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioe has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiof has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@2 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl/uart1_txd@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/uart1_rxd@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/sdmmc3_cd@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiod has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioe has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiof has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio_s5_0@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio_s5_1@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio_s5_2@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/pin_usb_host_en0@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/pin_usb_host_en1@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/sdmmc3_cd@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiod has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioe has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiof has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio_s0_8@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio_s0_9@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio_s0_10@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio_s0_11@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio_s0_12@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pch_pinctrl/soc_gpio_s0_50@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/spi/spi-flash@0/rw-mrc-cache has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioa has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiob has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioc has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiod has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpioe has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pci/pch@1f,0/gpiof has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /microcode/update@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /microcode/update@1 has a unit name, but no reg property
Should we fix those warnings? I see some device tree files in the Linux kernel report the same warnings, wondering whether they should be fixed.
Regards, Bin

On Thu, Nov 03, 2016 at 12:30:30PM +0800, Bin Meng wrote:
Hi,
After I switched to dtc 1.4.2, when building x86 boards, I got:
Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
[snip]
Should we fix those warnings? I see some device tree files in the Linux kernel report the same warnings, wondering whether they should be fixed.
So yes, this is what Heiko made patches for a while back. Since for x86 we are the authoritative source for the files, we should fix them here. For other arches we should push the fix up via Linux and merge them back in. Thanks!

On 11/03/2016 04:14 AM, Tom Rini wrote:
On Thu, Nov 03, 2016 at 12:30:30PM +0800, Bin Meng wrote:
Hi,
After I switched to dtc 1.4.2, when building x86 boards, I got:
Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
[snip]
Should we fix those warnings? I see some device tree files in the Linux kernel report the same warnings, wondering whether they should be fixed.
So yes, this is what Heiko made patches for a while back. Since for x86 we are the authoritative source for the files, we should fix them here. For other arches we should push the fix up via Linux and merge them back in. Thanks!
I see similar warnings for arch/arm/dts/zynq-*.dtb
Jim
participants (3)
-
Bin Meng
-
James Chargin
-
Tom Rini