2 * Copyright (C) 2012 Imagination Technologies Ltd.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include "skeleton.dtsi"
11 #include <dt-bindings/interrupt-controller/irq.h>
14 compatible = "toumaz,tz1090", "img,meta";
16 interrupt-parent = <&intc>;
18 intc: interrupt-controller {
19 compatible = "img,meta-intc";
21 #interrupt-cells = <2>;
26 compatible = "simple-bus";
33 #interrupt-cells = <2>;
35 reg = <0x02006000 0x1000>;
36 compatible = "img,pdc-intc";
41 interrupts = <18 IRQ_TYPE_LEVEL_HIGH>, /* Syswakes */
42 <30 IRQ_TYPE_LEVEL_HIGH>, /* Perip 0 (RTC) */
43 <29 IRQ_TYPE_LEVEL_HIGH>, /* Perip 1 (IR) */
44 <31 IRQ_TYPE_LEVEL_HIGH>; /* Perip 2 (WDT) */
47 pinctrl: pinctrl@02005800 {
48 #gpio-range-cells = <3>;
49 compatible = "img,tz1090-pinctrl";
50 reg = <0x02005800 0xe4>;
53 pdc_pinctrl: pinctrl@02006500 {
54 #gpio-range-cells = <3>;
55 compatible = "img,tz1090-pdc-pinctrl";
56 reg = <0x02006500 0x100>;
59 gpios: gpios@02005800 {
62 compatible = "img,tz1090-gpio";
63 reg = <0x02005800 0x90>;
69 #interrupt-cells = <2>;
71 interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
72 gpio-ranges = <&pinctrl 0 0 30>;
78 #interrupt-cells = <2>;
80 interrupts = <14 IRQ_TYPE_LEVEL_HIGH>;
81 gpio-ranges = <&pinctrl 0 30 30>;
87 #interrupt-cells = <2>;
89 interrupts = <15 IRQ_TYPE_LEVEL_HIGH>;
90 gpio-ranges = <&pinctrl 0 60 30>;
94 pdc_gpios: gpios@02006500 {
98 compatible = "img,tz1090-pdc-gpio";
99 reg = <0x02006500 0x100>;
101 interrupt-parent = <&pdc>;
102 interrupts = <8 IRQ_TYPE_NONE>,
105 gpio-ranges = <&pdc_pinctrl 0 0 7>;