Skip to content

Commit 7fdfd3d

Browse files
jhswartztsbogend
authored andcommitted
mips: dts: ralink: mt7621: add serial1 and serial2 nodes
Add serial1 and serial2 nodes to define the existence of the MT7621's second and third UARTs. Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za> Reviewed-by: Arınç ÜNAL <arinc.unal@arinc9.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 8239408 commit 7fdfd3d

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

arch/mips/boot/dts/ralink/mt7621.dtsi

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,46 @@
129129
pinctrl-0 = <&uart1_pins>;
130130
};
131131

132+
serial1: serial@d00 {
133+
compatible = "ns16550a";
134+
reg = <0xd00 0x100>;
135+
136+
reg-io-width = <4>;
137+
reg-shift = <2>;
138+
139+
clocks = <&sysc MT7621_CLK_UART2>;
140+
141+
interrupt-parent = <&gic>;
142+
interrupts = <GIC_SHARED 27 IRQ_TYPE_LEVEL_HIGH>;
143+
144+
no-loopback-test;
145+
146+
pinctrl-names = "default";
147+
pinctrl-0 = <&uart2_pins>;
148+
149+
status = "disabled";
150+
};
151+
152+
serial2: serial@e00 {
153+
compatible = "ns16550a";
154+
reg = <0xe00 0x100>;
155+
156+
reg-io-width = <4>;
157+
reg-shift = <2>;
158+
159+
clocks = <&sysc MT7621_CLK_UART3>;
160+
161+
interrupt-parent = <&gic>;
162+
interrupts = <GIC_SHARED 28 IRQ_TYPE_LEVEL_HIGH>;
163+
164+
no-loopback-test;
165+
166+
pinctrl-names = "default";
167+
pinctrl-0 = <&uart3_pins>;
168+
169+
status = "disabled";
170+
};
171+
132172
spi0: spi@b00 {
133173
status = "disabled";
134174

0 commit comments

Comments
 (0)