Messages in this thread | | | Date | Sat, 2 Apr 2016 18:26:56 +0200 | From | Andrew Lunn <> | Subject | Re: [PATCH] ARM: dts: kirkwood: Add DTS for Linksys EA4200v2/EA4500 |
| |
> + button@15 { > + label = "WPS Button"; > + linux,code = <KEY_WPS_BUTTON>; > + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; > + }; > + > + button@16 { > + label = "Reset Button"; > + linux,code = <KEY_RESTART>; > + gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; > + }; > + };
I'm looking at the warnings the new DT compiler produces....
Buttons should not have a @15, etc, since they don't have a register property.
If you can, it would be good it you can compile your .dts file using the dtc compile in linux-next and pass W=1.
Andrew
| |