I wanted to boot a banana pro with a gpio pin set to out and at 3.3V and have just compiled a new sun7i-a20-bananapro.dtb. It works fine, however, I had a warning when I compiled the .dtb which I don't understand and a search for an explanation was unsuccesful. Perhaps someone on the list can enlighten me.
Here's the warning:
Quote:
DTC arch/arm/boot/dts/sun7i-a20-bananapro.dtb
arch/arm/boot/dts/sun7i-a20-bananapro.dts:68.4-24: Warning (gpios_property): /leds/pwr-led:gpios: property size (12) too small for cell size 3
|
Here's a snippit from the dts:
Code:
leds {
compatible = "gpio-leds";
pwr-led {
label = "bananapro:red:pwr";
gpios = <&pio 14 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
blue {
label = "bananapro:blue:usr";
gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>;
};
<snipped>
The third line in the "pwr-led" node is line 68 and everything other than that node is original dts. I've never had warnings compiling after adding nodes for iio sensors in this .dts