瀏覽代碼

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>
James Hogan 12 年之前
父節點
當前提交
8a69782754
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      arch/metag/boot/dts/tz1090.dtsi

+ 14 - 0
arch/metag/boot/dts/tz1090.dtsi

@@ -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>;
+		};
 	};
 	};
 };
 };