metag: tz1090: instantiate gpio-tz1090-pdc
Instantiate the PDC GPIO controller driver from tz1090.dtsi ready for when it is merged. Signed-off-by: James Hogan <james.hogan@imgtec.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Grant Likely <grant.likely@linaro.org>
This commit is contained in:
parent
d6cffa4f28
commit
8a69782754
1 changed files with 14 additions and 0 deletions
|
@ -90,5 +90,19 @@
|
||||||
gpio-ranges = <&pinctrl 0 60 30>;
|
gpio-ranges = <&pinctrl 0 60 30>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pdc_gpios: gpios@02006500 {
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
|
||||||
|
compatible = "img,tz1090-pdc-gpio";
|
||||||
|
reg = <0x02006500 0x100>;
|
||||||
|
|
||||||
|
interrupt-parent = <&pdc>;
|
||||||
|
interrupts = <8 IRQ_TYPE_NONE>,
|
||||||
|
<9 IRQ_TYPE_NONE>,
|
||||||
|
<10 IRQ_TYPE_NONE>;
|
||||||
|
gpio-ranges = <&pdc_pinctrl 0 0 7>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue