[PATCH 16/17] Add LED expander mapping to Firestone DT

Joel Stanley joel at jms.id.au
Fri Sep 23 17:42:16 AEST 2016


On Sat, Sep 17, 2016 at 6:05 AM, Timothy Pearson
<tpearson at raptorengineering.com> wrote:
> There is a driver in the Linux kernel for the PCA9552 but it
> is not yet devicetree-enabled.

I will hold off until we have the driver working and can define some
bindings for it.

Cheers,

Joel
>
> Signed-off-by: Timothy Pearson <tpearson at raptorengineering.com>
> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts |   54 ++++++++++++++++++++++--
>  1 file changed, 50 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> index 38f1b4b..8b25ba7 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> @@ -176,11 +176,57 @@
>         status = "okay";
>
>         leds at c0 {
> -               compatible = "pca,pca9552led";
> +               compatible = "nxp,pca9552";
>                 reg = <0x800000c0>;
> -               // led9 - led_fault_n
> -               // led10 - pwr_led_n
> -               // led11 - rear_id_led_n
> +
> +               centaur_present_0 {
> +                       //
> +               };
> +               centaur_present_1 {
> +                       //
> +               };
> +               centaur_present_2 {
> +                       //
> +               };
> +               centaur_present_3 {
> +                       //
> +               };
> +               centaur_present_4 {
> +                       //
> +               };
> +               centaur_present_5 {
> +                       //
> +               };
> +               centaur_present_6 {
> +                       //
> +               };
> +               centaur_present_7 {
> +                       //
> +               };
> +               no-connect-0 {
> +                       //
> +               };
> +               fault {
> +                       //
> +               };
> +               power {
> +                       //
> +               };
> +               identify-rear {
> +                       //
> +               };
> +               no-connect-1 {
> +                       //
> +               };
> +               power-supply-smbus-reset {
> +                       //
> +               };
> +               spi-vid-standby-reset {
> +                       //
> +               };
> +               apss-reset {
> +                       //
> +               };
>         };
>
>         rtc at d0 {
> --
> 1.7.9.5
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list