dt-bindings: leds: Convert pwm to yaml

The example was adapted in the following ways:

- make use of the now supported 'function' and 'color' properties
- remove pwm nodes, those are documented elsewhere
- align node names to new dt schema rules and dt recommendations

License was not explicitly set before.  The license set now is
recommended by DT project.

Suggested-by: Jacek Anaszewski <[email protected]>
Signed-off-by: Alexander Dahl <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Cc: Peter Ujfalusi <[email protected]>
[For the license change only:]
Acked-by: Russell King <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
2 files changed