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