Hi Linus, > > > Each port can have up to 4 LEDs (3 for current rtl8365mb devices). The > > LED reg property will indicate its LED group. > > > > An example of LED usage was included in an existing switch example. > > > > Cc: devicetree@xxxxxxxxxxxxxxx > > Signed-off-by: Luiz Angelo Daros de Luca <luizluca@xxxxxxxxx> > > But... is this patch even needed at all? Yes, leds is a property already supported. The only purpose for this patch is to limit led numbers to 0-3 and describe that the reg number is the group. I don't know if there is a better way to add restrictions to something already defined. Anyway, if that is not necessary, I can drop it. Regards, Luiz