starnight / LoRa

LoRa device driver as a kernel module
Other
131 stars 59 forks source link

dts compile warnings #14

Open frank-w opened 5 years ago

frank-w commented 5 years ago

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

starnight commented 5 years ago

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.