[PATCH linux dev-4.7] dts: aspeed: romulus: Add FSI gpio pins and enable FSI master

Joel Stanley joel at jms.id.au
Tue Feb 21 10:17:51 AEDT 2017


On Tue, Feb 21, 2017 at 9:43 AM, Eddie James <eajames at linux.vnet.ibm.com> wrote:
> From: "Edward A. James" <eajames at us.ibm.com>
>
> Add gpio pin config for FSI (source: pdbg romulus pin cfg) and set
> status to "okay".
>
> Signed-off-by: Edward A. James <eajames at us.ibm.com>

Thanks Eddie. Lei already sent a patch to add the pins; could you
review his instead?

Cheers,

Joel

> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> index c23627e..b39280f 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> @@ -1,7 +1,7 @@
>  /dts-v1/;
>
>  #include "aspeed-g5.dtsi"
> -#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/gpio/aspeed-gpio.h>
>
>  / {
>         model = "Romulus BMC";
> @@ -19,6 +19,18 @@
>         memory {
>                 reg = <0x80000000 0x40000000>;
>         };
> +
> +       fsi-master {
> +               compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
> +
> +               status = "okay";
> +
> +               clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
> +               data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
> +               mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
> +               enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
> +               trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
> +       };
>  };
>
>  &fmc {
> --
> 1.8.3.1
>


More information about the openbmc mailing list