[OpenWrt-Devel] [PATCH] ramips: enable additional GPIOs on HAME MPR-A1

Álvaro Fernández Rojas noltari at gmail.com
Sat Aug 9 09:51:17 EDT 2014


It's disabled because gpio1 is only used for ethernet LEDs and SPI_CS1.
Since most RT5350 use those LEDs for ethernet and have them configured by the bootloader, there's no need in enabling and reconfiguring them on all boards.

El 09/08/2014 15:35, Paul Fertser escribió:
> On Fri, Aug 08, 2014 at 08:17:05PM +0400, Paul Fertser wrote:
>> --- a/target/linux/ramips/dts/MPRA1.dts
>> +++ b/target/linux/ramips/dts/MPRA1.dts
>> @@ -41,12 +41,15 @@
>>  				};
>>  			};
>>  		};
>> +		gpio1: gpio at 660 {
>> +			status = "okay";
>> +		};
> 
> What I still do not understand is why it must be disabled by default
> (in rt5350.dts)?  It's not like it affects the leds (or spi cs1)
> operation anyhow unless it's set to gpio in pinctrl?
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list