[PATCH linux dev-4.7 2/3] ARM: dts: aspeed: romulus: Add fsi-master GPIO bindings

Joel Stanley joel at jms.id.au
Tue Feb 21 10:25:16 AEDT 2017


On Tue, Feb 21, 2017 at 9:50 AM, Eddie James <eajames at linux.vnet.ibm.com> wrote:
> Looks good.
>
> Acked-by: Eddie James <eajames at linux.vnet.ibm.com>
>
>
>
> On 02/14/2017 01:30 AM, Lei YU wrote:
>>
>> Define the pins used on Romulus by the FSI GPIO master.
>>
>> Signed-off-by: Lei YU <mine260309 at gmail.com>
>> ---
>>   arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 13 ++++++++++++-
>>   1 file changed, 12 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 f47eb63..bc13ad9 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";
>> @@ -31,6 +31,17 @@
>>                 };
>>         };
>>
>> +       fsi-master {
>> +               compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
>> +
>> +               status = "disabled";
>> +
>> +               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>;
>> +       };
>>   };

I just noticed that this is inside the i2c11 node. We want it to be up
the top, so I moved it there.

Applied to dev-4.7.

Thanks to everyone for the review.

Cheers,

Joel


More information about the openbmc mailing list