On 04/05/15 22:45, Heiner Kallweit wrote:
I tried to make the TL-WDR4900 work under kernel 4.0.
Adjusting the platform-specific patches was quickly done and the system boots.
However I get the following error messages.

[    2.959975] /leds/system: could not get #gpio-cells for 
/soc@ffe00000/gpio-controller@f000
[    2.968276] leds-gpio: probe of leds failed with error -22
[   34.622909] /buttons/reset: could not get #gpio-cells for 
/soc@ffe00000/gpio-controller@f000
[   34.631383] gpio-keys buttons: Failed to get gpio flags, error: -22
[   34.637657] gpio-keys: probe of buttons failed with error -22

I'm not a device tree expert, what I checked so far:
The gpio-related section in tl-wdr4900-v1.dts is empty

gpio0: gpio-controller@f000 {
                 };
Gpio controller is now at fc00. See latest commit for arch/powerpc/boot/dts/fsl/pq3-gpio-0.dtsi.
Regards,
Wojtek

PS. I have been also trying 4.0 but I have ran into so many problems with gianfar that I have given it up.
For now...
However #gpio-cells is defined in fsl/pq3-gpio-0.dtsi and this file is imported 
by fsl/p1010si-post.dtsi.
And fsl/p1010si-post.dtsi is imported by tl-wdr4900-v1.dts.

This worked under 3.19 (despite the fact that 3.19 was never officially 
supported for this device),
seems like something with the DT handling has changed in 4.0.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to