Re: [PATCH 1/4] arm: dts: add support for Laird WB45N cpu module and DVK

From: Alexandre Belloni
Date: Thu Jun 14 2018 - 09:00:38 EST


On 14/06/2018 14:52:25+0200, Nicolas Ferre wrote:
> > + gpio_keys {
> > + compatible = "gpio-keys";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + irqbtn@pb18 {
>
> I'm not sure that the @pb18 can be used like this. This address extension
> must be used in a "reg" property in the node. dtc used with warning switch
> on might trigger an error for this.
>

Indeed, no unit-address without a reg property.


--
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com