xref: /linux/arch/mips/boot/dts/ingenic/jz4780.dtsi (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1#include <dt-bindings/clock/jz4780-cgu.h>
2
3/ {
4	#address-cells = <1>;
5	#size-cells = <1>;
6	compatible = "ingenic,jz4780";
7
8	cpuintc: interrupt-controller {
9		#address-cells = <0>;
10		#interrupt-cells = <1>;
11		interrupt-controller;
12		compatible = "mti,cpu-interrupt-controller";
13	};
14
15	intc: interrupt-controller@10001000 {
16		compatible = "ingenic,jz4780-intc";
17		reg = <0x10001000 0x50>;
18
19		interrupt-controller;
20		#interrupt-cells = <1>;
21
22		interrupt-parent = <&cpuintc>;
23		interrupts = <2>;
24	};
25
26	ext: ext {
27		compatible = "fixed-clock";
28		#clock-cells = <0>;
29	};
30
31	rtc: rtc {
32		compatible = "fixed-clock";
33		#clock-cells = <0>;
34		clock-frequency = <32768>;
35	};
36
37	cgu: jz4780-cgu@10000000 {
38		compatible = "ingenic,jz4780-cgu";
39		reg = <0x10000000 0x100>;
40
41		clocks = <&ext>, <&rtc>;
42		clock-names = "ext", "rtc";
43
44		#clock-cells = <1>;
45	};
46
47	uart0: serial@10030000 {
48		compatible = "ingenic,jz4780-uart";
49		reg = <0x10030000 0x100>;
50
51		interrupt-parent = <&intc>;
52		interrupts = <51>;
53
54		clocks = <&ext>, <&cgu JZ4780_CLK_UART0>;
55		clock-names = "baud", "module";
56
57		status = "disabled";
58	};
59
60	uart1: serial@10031000 {
61		compatible = "ingenic,jz4780-uart";
62		reg = <0x10031000 0x100>;
63
64		interrupt-parent = <&intc>;
65		interrupts = <50>;
66
67		clocks = <&ext>, <&cgu JZ4780_CLK_UART1>;
68		clock-names = "baud", "module";
69
70		status = "disabled";
71	};
72
73	uart2: serial@10032000 {
74		compatible = "ingenic,jz4780-uart";
75		reg = <0x10032000 0x100>;
76
77		interrupt-parent = <&intc>;
78		interrupts = <49>;
79
80		clocks = <&ext>, <&cgu JZ4780_CLK_UART2>;
81		clock-names = "baud", "module";
82
83		status = "disabled";
84	};
85
86	uart3: serial@10033000 {
87		compatible = "ingenic,jz4780-uart";
88		reg = <0x10033000 0x100>;
89
90		interrupt-parent = <&intc>;
91		interrupts = <48>;
92
93		clocks = <&ext>, <&cgu JZ4780_CLK_UART3>;
94		clock-names = "baud", "module";
95
96		status = "disabled";
97	};
98
99	uart4: serial@10034000 {
100		compatible = "ingenic,jz4780-uart";
101		reg = <0x10034000 0x100>;
102
103		interrupt-parent = <&intc>;
104		interrupts = <34>;
105
106		clocks = <&ext>, <&cgu JZ4780_CLK_UART4>;
107		clock-names = "baud", "module";
108
109		status = "disabled";
110	};
111};
112