Lines Matching +full:int +full:- +full:gpios
1 // SPDX-License-Identifier: ISC
5 * - MultiLink Basic (a box)
6 * - MultiLink Max (19" rack mount)
9 * This is one of the few devices supporting the IXP4xx High-Speed Serial
14 /dts-v1/;
16 #include "intel-ixp42x.dtsi"
17 #include <dt-bindings/input/input.h>
21 compatible = "goramo,multilink-router", "intel,ixp42x";
22 #address-cells = <1>;
23 #size-cells = <1>;
36 stdout-path = "uart0:115200n8";
47 * - Create device tree bindings for this as GPIO expander
48 * - Write a pure DT GPIO driver using these bindings
49 * - Support cascading in the style of gpio-74x164.c (cannot be reused, very different)
51 gpio_74: gpio-74hc4094 {
53 cp-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
54 d-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
55 str-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
56 /* oe-gpios is optional */
57 gpio-controller;
58 #gpio-cells = <2>;
60 registers-number = <1>;
61 gpio-line-names = "CONTROL_HSS0_CLK_INT", "CONTROL_HSS1_CLK_INT", "CONTROL_HSS0_DTR_N",
69 compatible = "intel,ixp4xx-flash", "cfi-flash";
70 bank-width = <2>;
72 intel,ixp4xx-eb-write-enable = <1>;
77 compatible = "redboot-fis";
79 fis-index-block = <0x7f>;
92 interrupt-map =
93 /* IDSEL 11 - Ethernet A */
94 <0x5800 0 0 1 &gpio0 4 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 11 is irq 4 */
95 <0x5800 0 0 2 &gpio0 4 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 11 is irq 4 */
96 <0x5800 0 0 3 &gpio0 4 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 11 is irq 4 */
97 <0x5800 0 0 4 &gpio0 4 IRQ_TYPE_LEVEL_LOW>, /* INT D on slot 11 is irq 4 */
98 /* IDSEL 12 - Ethernet B */
99 <0x6000 0 0 1 &gpio0 5 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 12 is irq 5 */
100 <0x6000 0 0 2 &gpio0 5 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 12 is irq 5 */
101 <0x6000 0 0 3 &gpio0 5 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 12 is irq 5 */
102 <0x6000 0 0 4 &gpio0 5 IRQ_TYPE_LEVEL_LOW>, /* INT D on slot 12 is irq 5 */
103 /* IDSEL 13 - MPCI */
104 <0x6800 0 0 1 &gpio0 12 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 13 is irq 12 */
105 <0x6800 0 0 2 &gpio0 12 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 13 is irq 12 */
106 <0x6800 0 0 3 &gpio0 12 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 13 is irq 12 */
107 <0x6800 0 0 4 &gpio0 12 IRQ_TYPE_LEVEL_LOW>, /* INT D on slot 13 is irq 12 */
108 /* IDSEL 14 - NEC */
109 <0x7000 0 0 1 &gpio0 3 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 14 is irq 3 */
110 <0x7000 0 0 2 &gpio0 3 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 14 is irq 3 */
111 <0x7000 0 0 3 &gpio0 3 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 14 is irq 3 */
112 <0x7000 0 0 4 &gpio0 3 IRQ_TYPE_LEVEL_LOW>; /* INT D on slot 14 is irq 3 */
119 intel,queue-chl-rxtrig = <&qmgr 12>;
120 intel,queue-chl-txready = <&qmgr 34>;
121 intel,queue-pkt-rx = <&qmgr 13>;
122 intel,queue-pkt-tx = <&qmgr 14>, <&qmgr 15>, <&qmgr 16>, <&qmgr 17>;
123 intel,queue-pkt-rxfree = <&qmgr 18>, <&qmgr 19>, <&qmgr 20>, <&qmgr 21>;
124 intel,queue-pkt-txdone = <&qmgr 22>;
125 /* The Goramo GPIO-based clock etc control */
126 cts-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
127 rts-gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
128 dcd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
129 dtr-gpios = <&gpio_74 2 GPIO_ACTIVE_LOW>;
130 clk-internal-gpios = <&gpio_74 0 GPIO_ACTIVE_HIGH>;
134 intel,queue-chl-rxtrig = <&qmgr 10>;
135 intel,queue-chl-txready = <&qmgr 35>;
136 intel,queue-pkt-rx = <&qmgr 0>;
137 intel,queue-pkt-tx = <&qmgr 5>, <&qmgr 6>, <&qmgr 7>, <&qmgr 8>;
138 intel,queue-pkt-rxfree = <&qmgr 1>, <&qmgr 2>, <&qmgr 3>, <&qmgr 4>;
139 intel,queue-pkt-txdone = <&qmgr 9>;
140 /* The Goramo GPIO-based clock etc control */
141 cts-gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
142 rts-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
143 dcd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
144 dtr-gpios = <&gpio_74 3 GPIO_ACTIVE_LOW>;
145 clk-internal-gpios = <&gpio_74 1 GPIO_ACTIVE_HIGH>;
152 queue-rx = <&qmgr 3>;
153 queue-txready = <&qmgr 32>;
154 phy-mode = "rgmii";
155 phy-handle = <&phy0>;
158 #address-cells = <1>;
159 #size-cells = <0>;
161 phy0: ethernet-phy@0 {
165 phy1: ethernet-phy@1 {
174 queue-rx = <&qmgr 4>;
175 queue-txready = <&qmgr 33>;
176 phy-mode = "rgmii";
177 phy-handle = <&phy1>;