xref: /freebsd-src/sys/contrib/device-tree/src/mips/realtek/rtl83xx.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
15def4c47SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
25def4c47SEmmanuel Vadot
35def4c47SEmmanuel Vadot/ {
45def4c47SEmmanuel Vadot	#address-cells = <1>;
55def4c47SEmmanuel Vadot	#size-cells = <1>;
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadot	aliases {
85def4c47SEmmanuel Vadot		serial0 = &uart0;
95def4c47SEmmanuel Vadot		serial1 = &uart1;
105def4c47SEmmanuel Vadot	};
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadot	cpuintc: cpuintc {
135def4c47SEmmanuel Vadot		compatible = "mti,cpu-interrupt-controller";
145def4c47SEmmanuel Vadot		#address-cells = <0>;
155def4c47SEmmanuel Vadot		#interrupt-cells = <1>;
165def4c47SEmmanuel Vadot		interrupt-controller;
175def4c47SEmmanuel Vadot	};
185def4c47SEmmanuel Vadot
195def4c47SEmmanuel Vadot	soc: soc {
205def4c47SEmmanuel Vadot		compatible = "simple-bus";
215def4c47SEmmanuel Vadot		#address-cells = <1>;
225def4c47SEmmanuel Vadot		#size-cells = <1>;
235def4c47SEmmanuel Vadot		ranges = <0x0 0x18000000 0x10000>;
245def4c47SEmmanuel Vadot
25*0e8011faSEmmanuel Vadot		uart0: serial@2000 {
265def4c47SEmmanuel Vadot			compatible = "ns16550a";
275def4c47SEmmanuel Vadot			reg = <0x2000 0x100>;
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot			clock-frequency = <200000000>;
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadot			interrupt-parent = <&cpuintc>;
325def4c47SEmmanuel Vadot			interrupts = <31>;
335def4c47SEmmanuel Vadot
345def4c47SEmmanuel Vadot			reg-io-width = <1>;
355def4c47SEmmanuel Vadot			reg-shift = <2>;
365def4c47SEmmanuel Vadot			fifo-size = <1>;
375def4c47SEmmanuel Vadot			no-loopback-test;
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadot			status = "disabled";
405def4c47SEmmanuel Vadot		};
415def4c47SEmmanuel Vadot
42*0e8011faSEmmanuel Vadot		uart1: serial@2100 {
435def4c47SEmmanuel Vadot			compatible = "ns16550a";
445def4c47SEmmanuel Vadot			reg = <0x2100 0x100>;
455def4c47SEmmanuel Vadot
465def4c47SEmmanuel Vadot			clock-frequency = <200000000>;
475def4c47SEmmanuel Vadot
485def4c47SEmmanuel Vadot			interrupt-parent = <&cpuintc>;
495def4c47SEmmanuel Vadot			interrupts = <30>;
505def4c47SEmmanuel Vadot
515def4c47SEmmanuel Vadot			reg-io-width = <1>;
525def4c47SEmmanuel Vadot			reg-shift = <2>;
535def4c47SEmmanuel Vadot			fifo-size = <1>;
545def4c47SEmmanuel Vadot			no-loopback-test;
555def4c47SEmmanuel Vadot
565def4c47SEmmanuel Vadot			status = "disabled";
575def4c47SEmmanuel Vadot		};
585def4c47SEmmanuel Vadot	};
595def4c47SEmmanuel Vadot};
60