xref: /linux/arch/mips/boot/dts/brcm/bcm6328.dtsi (revision e9f0878c4b2004ac19581274c1ae4c61ae3ca70e)
1// SPDX-License-Identifier: GPL-2.0
2/ {
3	#address-cells = <1>;
4	#size-cells = <1>;
5	compatible = "brcm,bcm6328";
6
7	cpus {
8		#address-cells = <1>;
9		#size-cells = <0>;
10
11		mips-hpt-frequency = <160000000>;
12
13		cpu@0 {
14			compatible = "brcm,bmips4350";
15			device_type = "cpu";
16			reg = <0>;
17		};
18
19		cpu@1 {
20			compatible = "brcm,bmips4350";
21			device_type = "cpu";
22			reg = <1>;
23		};
24	};
25
26	clocks {
27		periph_clk: periph-clk {
28			compatible = "fixed-clock";
29			#clock-cells = <0>;
30			clock-frequency = <50000000>;
31		};
32	};
33
34	aliases {
35		serial0 = &uart0;
36		serial1 = &uart1;
37	};
38
39	cpu_intc: interrupt-controller {
40		#address-cells = <0>;
41		compatible = "mti,cpu-interrupt-controller";
42
43		interrupt-controller;
44		#interrupt-cells = <1>;
45	};
46
47	ubus {
48		#address-cells = <1>;
49		#size-cells = <1>;
50
51		compatible = "simple-bus";
52		ranges;
53
54		periph_intc: interrupt-controller@10000020 {
55			compatible = "brcm,bcm6345-l1-intc";
56			reg = <0x10000020 0x10>,
57			      <0x10000030 0x10>;
58
59			interrupt-controller;
60			#interrupt-cells = <1>;
61
62			interrupt-parent = <&cpu_intc>;
63			interrupts = <2>, <3>;
64		};
65
66		uart0: serial@10000100 {
67			compatible = "brcm,bcm6345-uart";
68			reg = <0x10000100 0x18>;
69			interrupt-parent = <&periph_intc>;
70			interrupts = <28>;
71			clocks = <&periph_clk>;
72			clock-names = "refclk";
73			status = "disabled";
74		};
75
76		uart1: serial@10000120 {
77			compatible = "brcm,bcm6345-uart";
78			reg = <0x10000120 0x18>;
79			interrupt-parent = <&periph_intc>;
80			interrupts = <39>;
81			clocks = <&periph_clk>;
82			clock-names = "refclk";
83			status = "disabled";
84		};
85
86		timer: syscon@10000040 {
87			compatible = "syscon";
88			reg = <0x10000040 0x2c>;
89			native-endian;
90		};
91
92		reboot: syscon-reboot@10000068 {
93			compatible = "syscon-reboot";
94			regmap = <&timer>;
95			offset = <0x28>;
96			mask = <0x1>;
97		};
98
99		leds0: led-controller@10000800 {
100			#address-cells = <1>;
101			#size-cells = <0>;
102			compatible = "brcm,bcm6328-leds";
103			reg = <0x10000800 0x24>;
104			status = "disabled";
105		};
106
107		ehci: usb@10002500 {
108			compatible = "brcm,bcm6328-ehci", "generic-ehci";
109			reg = <0x10002500 0x100>;
110			big-endian;
111			interrupt-parent = <&periph_intc>;
112			interrupts = <42>;
113			status = "disabled";
114		};
115
116		ohci: usb@10002600 {
117			compatible = "brcm,bcm6328-ohci", "generic-ohci";
118			reg = <0x10002600 0x100>;
119			big-endian;
120			no-big-frame-no;
121			interrupt-parent = <&periph_intc>;
122			interrupts = <41>;
123			status = "disabled";
124		};
125	};
126};
127