xref: /freebsd/sys/contrib/device-tree/src/mips/ralink/rt3050.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot/ {
3*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
4*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
5*c66ec88fSEmmanuel Vadot	compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc";
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot	cpus {
8*c66ec88fSEmmanuel Vadot		cpu@0 {
9*c66ec88fSEmmanuel Vadot			compatible = "mips,mips24KEc";
10*c66ec88fSEmmanuel Vadot		};
11*c66ec88fSEmmanuel Vadot	};
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot	cpuintc: cpuintc {
14*c66ec88fSEmmanuel Vadot		#address-cells = <0>;
15*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
16*c66ec88fSEmmanuel Vadot		interrupt-controller;
17*c66ec88fSEmmanuel Vadot		compatible = "mti,cpu-interrupt-controller";
18*c66ec88fSEmmanuel Vadot	};
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	palmbus@10000000 {
21*c66ec88fSEmmanuel Vadot		compatible = "palmbus";
22*c66ec88fSEmmanuel Vadot		reg = <0x10000000 0x200000>;
23*c66ec88fSEmmanuel Vadot		ranges = <0x0 0x10000000 0x1FFFFF>;
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
26*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot		sysc@0 {
29*c66ec88fSEmmanuel Vadot			compatible = "ralink,rt3052-sysc", "ralink,rt3050-sysc";
30*c66ec88fSEmmanuel Vadot			reg = <0x0 0x100>;
31*c66ec88fSEmmanuel Vadot		};
32*c66ec88fSEmmanuel Vadot
33*c66ec88fSEmmanuel Vadot		intc: intc@200 {
34*c66ec88fSEmmanuel Vadot			compatible = "ralink,rt3052-intc", "ralink,rt2880-intc";
35*c66ec88fSEmmanuel Vadot			reg = <0x200 0x100>;
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadot			interrupt-controller;
38*c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel Vadot			interrupt-parent = <&cpuintc>;
41*c66ec88fSEmmanuel Vadot			interrupts = <2>;
42*c66ec88fSEmmanuel Vadot		};
43*c66ec88fSEmmanuel Vadot
44*c66ec88fSEmmanuel Vadot		memc@300 {
45*c66ec88fSEmmanuel Vadot			compatible = "ralink,rt3052-memc", "ralink,rt3050-memc";
46*c66ec88fSEmmanuel Vadot			reg = <0x300 0x100>;
47*c66ec88fSEmmanuel Vadot		};
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot		uartlite@c00 {
50*c66ec88fSEmmanuel Vadot			compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
51*c66ec88fSEmmanuel Vadot			reg = <0xc00 0x100>;
52*c66ec88fSEmmanuel Vadot
53*c66ec88fSEmmanuel Vadot			interrupt-parent = <&intc>;
54*c66ec88fSEmmanuel Vadot			interrupts = <12>;
55*c66ec88fSEmmanuel Vadot
56*c66ec88fSEmmanuel Vadot			reg-shift = <2>;
57*c66ec88fSEmmanuel Vadot		};
58*c66ec88fSEmmanuel Vadot	};
59*c66ec88fSEmmanuel Vadot
60*c66ec88fSEmmanuel Vadot	usb@101c0000 {
61*c66ec88fSEmmanuel Vadot		compatible = "ralink,rt3050-usb", "snps,dwc2";
62*c66ec88fSEmmanuel Vadot		reg = <0x101c0000 40000>;
63*c66ec88fSEmmanuel Vadot
64*c66ec88fSEmmanuel Vadot		interrupt-parent = <&intc>;
65*c66ec88fSEmmanuel Vadot		interrupts = <18>;
66*c66ec88fSEmmanuel Vadot
67*c66ec88fSEmmanuel Vadot		status = "disabled";
68*c66ec88fSEmmanuel Vadot	};
69*c66ec88fSEmmanuel Vadot};
70