Skip to content

flat-overlay: remove already defined labels

Created by: linosanfilippo-kunbus

The application of the device tree overlay to the generic raspberry device-tree failed if applied via the command dtoverlay.

The reason is that some node labels that were already defined in the generic device tree, were redefined by the flat-overlay. While the bootloader seems to tolerate those duplicates (i.e. if the overlay is applied by setting dtoverlay=revpi-flat in /boot/config.txt), dtoverlay failes with the error message "* Failed to apply overlay '0_revpi-flat' (kernel)"

To fix this remove the duplicates which are: 2c0_gpio44: already defined in arch/arm/boot/dts/bcm283x.dtsi i2c1_gpio2: already defined in arch/arm/boot/dts/bcm283x.dtsi emmc_gpio34: already defined in arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts spi0_cs_pins: already defined in arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts

Signed-off-by: Lino Sanfilippo l.sanfilippo@kunbus.com

Merge request reports