Skip to content

Commit 8a69782

Browse files
author
James Hogan
committed
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>
1 parent d6cffa4 commit 8a69782

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

arch/metag/boot/dts/tz1090.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,19 @@
9090
gpio-ranges = <&pinctrl 0 60 30>;
9191
};
9292
};
93+
94+
pdc_gpios: gpios@02006500 {
95+
gpio-controller;
96+
#gpio-cells = <2>;
97+
98+
compatible = "img,tz1090-pdc-gpio";
99+
reg = <0x02006500 0x100>;
100+
101+
interrupt-parent = <&pdc>;
102+
interrupts = <8 IRQ_TYPE_NONE>,
103+
<9 IRQ_TYPE_NONE>,
104+
<10 IRQ_TYPE_NONE>;
105+
gpio-ranges = <&pdc_pinctrl 0 0 7>;
106+
};
93107
};
94108
};

0 commit comments

Comments
 (0)