[PATCH] pinctrl: imx1-core populate subdevices
Chris Ruehl
chris.ruehl at gtsys.com.hk
Wed Nov 27 00:19:19 EST 2013
On Wednesday, November 27, 2013 11:33 AM, Chris Ruehl wrote:
> On Wednesday, November 20, 2013 04:01 AM, Linus Walleij wrote:
>> On Mon, Nov 11, 2013 at 7:19 PM, Markus Pargmann<mpa at pengutronix.de>
>> wrote:
>>
>>> Support gpio devicetree subnodes to allow a more detailed DT hardware
>>> description.
>>>
>>> Signed-off-by: Markus Pargmann<mpa at pengutronix.de>
>>
>> Looks good to me.
>>
>> Tentatively applied this, the DT people may want to say something
>> about this.
>>
>> Yours,
>> Linus Walleij
>> --
>
> Hi,
>
> I tried the new configuration but the kernel oops when probing the
> dm9000 caused by insufficient resources more likely the real reason
> that somehow the gpio6: triggers a problem
>
>
> [ 0.115718] irq: no irq domain found for
> /soc/aipi at 10000000/iomuxc at 10015000/gpio at 10015500 !
> [ 0.115768] ------------[ cut here ]------------
> [ 0.115853] WARNING: CPU: 0 PID: 1 at drivers/of/platform.c:171
> of_device_alloc+0x110/0x15c()
> [ 0.117824] ---[ end trace 0e10ae727e6e0ab1 ]---
> [ 0.121236] Failed to request board ext/int gpios
> [ 0.152712] imx27-pinctrl 10015000.iomuxc: initialized IMX pinctrl driver
>
>
> iomuxc: iomuxc at 10015000 {
> compatible = "fsl,imx27-iomuxc";
> reg = <0x10015000 0x600>;
> #address-cells = <1>;
> #size-cells = <1>;
> ranges;
>
> gpio1: gpio at 10015000 {
> compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
> reg = <0x10015000 0x100>;
> interrupts = <8>;
> gpio-controller;
> #gpio-cells = <2>;
> interrupt-controller;
> #interrupt-cells = <2>;
> };
> ...
> gpio6: gpio at 10015500 {
> compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
> reg = <0x10015500 0x100>;
> interrupts = <8>;
> gpio-controller;
> #gpio-cells = <2>;
> interrupt-controller;
> #interrupt-cells = <2>;
> };
> };
>
More info
board-dts-definition for the dm9000 which trigger the oops
/ {
model = "GTSYS IR module";
compatible = "gtsys,mx27gtsir","fsl,imx27";
memory {
reg = <0xa0000000 0x10000000>;
};
enet1: ethernet at d4000000 {
compatible = "davicom,dm9000";
#address-cells = <1>;
#size-cells = <1>;
reg = <0xd4000000 0x2
0xd4000004 0x2>;
interrupt-parent = <&gpio6>;
interrupts = <18 2>; /* DM9000IRQ IMX_GPIO_NR(6,18) 2
= high edge trigger */
local-mac-address = [00 00 00 00 00 00];
davicom,no-eeprom;
status = "okay";
};
> Kernel Linux version 3.13.0-rc1-next-20131125-dirty
>
> With kind regards
> Chris
>
More information about the linux-arm-kernel
mailing list