LoRa icon indicating copy to clipboard operation
LoRa copied to clipboard

dts compile warnings

Open frank-w opened this issue 6 years ago • 1 comments

uploaded my staging here: https://github.com/frank-w/BPI-R2-4.14/tree/4.19-lora_new

created a separate dts for bpi-r2 where only spi0 is defined (no spidev), so only the top-node (fragment 0) brings this warning

make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm
dtc -I dts -O dtb -@ -o bpi-r2-lora-spi.dtbo bpi-r2-lora-spi-overlay.dts
bpi-r2-lora-spi.dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property

I. got same warnings if i try compiling rpi dts

frank-w avatar Feb 09 '19 07:02 frank-w

The warning is okay for the fragment. It disables the spidev unit by the setting status = "disabled";.

Please also try the commit and follow the Build Device Tree Overlay steps.

starnight avatar Feb 09 '19 08:02 starnight