xref: /openbmc/linux/arch/mips/boot/dts/brcm/bcm6368.dtsi (revision 0bf49ffb)
1// SPDX-License-Identifier: GPL-2.0
2/ {
3	#address-cells = <1>;
4	#size-cells = <1>;
5	compatible = "brcm,bcm6368";
6
7	cpus {
8		#address-cells = <1>;
9		#size-cells = <0>;
10
11		mips-hpt-frequency = <200000000>;
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		clkctl: clock-controller@10000004 {
55			compatible = "brcm,bcm6368-clocks";
56			reg = <0x10000004 0x4>;
57			#clock-cells = <1>;
58		};
59
60		periph_cntl: syscon@100000008 {
61			compatible = "syscon";
62			reg = <0x10000000 0xc>;
63			native-endian;
64		};
65
66		reboot: syscon-reboot@10000008 {
67			compatible = "syscon-reboot";
68			regmap = <&periph_cntl>;
69			offset = <0x0>;
70			mask = <0x1>;
71		};
72
73		periph_rst: reset-controller@10000010 {
74			compatible = "brcm,bcm6345-reset";
75			reg = <0x10000010 0x4>;
76			#reset-cells = <1>;
77		};
78
79		periph_intc: interrupt-controller@10000020 {
80			compatible = "brcm,bcm6345-l1-intc";
81			reg = <0x10000020 0x10>,
82			      <0x10000030 0x10>;
83
84			interrupt-controller;
85			#interrupt-cells = <1>;
86
87			interrupt-parent = <&cpu_intc>;
88			interrupts = <2>, <3>;
89		};
90
91		leds0: led-controller@100000d0 {
92			#address-cells = <1>;
93			#size-cells = <0>;
94			compatible = "brcm,bcm6358-leds";
95			reg = <0x100000d0 0x8>;
96			status = "disabled";
97		};
98
99		uart0: serial@10000100 {
100			compatible = "brcm,bcm6345-uart";
101			reg = <0x10000100 0x18>;
102			interrupt-parent = <&periph_intc>;
103			interrupts = <2>;
104			clocks = <&periph_clk>;
105			clock-names = "refclk";
106			status = "disabled";
107		};
108
109		uart1: serial@10000120 {
110			compatible = "brcm,bcm6345-uart";
111			reg = <0x10000120 0x18>;
112			interrupt-parent = <&periph_intc>;
113			interrupts = <3>;
114			clocks = <&periph_clk>;
115			clock-names = "refclk";
116			status = "disabled";
117		};
118
119		ehci: usb@10001500 {
120			compatible = "brcm,bcm6368-ehci", "generic-ehci";
121			reg = <0x10001500 0x100>;
122			big-endian;
123			interrupt-parent = <&periph_intc>;
124			interrupts = <7>;
125			status = "disabled";
126		};
127
128		ohci: usb@10001600 {
129			compatible = "brcm,bcm6368-ohci", "generic-ohci";
130			reg = <0x10001600 0x100>;
131			big-endian;
132			no-big-frame-no;
133			interrupt-parent = <&periph_intc>;
134			interrupts = <5>;
135			status = "disabled";
136		};
137	};
138};
139