xref: /openbmc/linux/arch/mips/boot/dts/brcm/bcm6358.dtsi (revision 8e694cd2)
1/ {
2	#address-cells = <1>;
3	#size-cells = <1>;
4	compatible = "brcm,bcm6358";
5
6	cpus {
7		#address-cells = <1>;
8		#size-cells = <0>;
9
10		mips-hpt-frequency = <150000000>;
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_cntl: syscon@fffe0000 {
54			compatible = "syscon";
55			reg = <0xfffe0000 0xc>;
56			native-endian;
57		};
58
59		reboot: syscon-reboot@fffe0008 {
60			compatible = "syscon-reboot";
61			regmap = <&periph_cntl>;
62			offset = <0x8>;
63			mask = <0x1>;
64		};
65
66		periph_intc: interrupt-controller@fffe000c {
67			compatible = "brcm,bcm6345-l1-intc";
68			reg = <0xfffe000c 0x8>,
69			      <0xfffe0038 0x8>;
70
71			interrupt-controller;
72			#interrupt-cells = <1>;
73
74			interrupt-parent = <&cpu_intc>;
75			interrupts = <2>, <3>;
76		};
77
78		leds0: led-controller@fffe00d0 {
79			#address-cells = <1>;
80			#size-cells = <0>;
81			compatible = "brcm,bcm6358-leds";
82			reg = <0xfffe00d0 0x8>;
83
84			status = "disabled";
85		};
86
87		uart0: serial@fffe0100 {
88			compatible = "brcm,bcm6345-uart";
89			reg = <0xfffe0100 0x18>;
90
91			interrupt-parent = <&periph_intc>;
92			interrupts = <2>;
93
94			clocks = <&periph_clk>;
95
96			status = "disabled";
97		};
98
99		uart1: serial@fffe0120 {
100			compatible = "brcm,bcm6345-uart";
101			reg = <0xfffe0120 0x18>;
102
103			interrupt-parent = <&periph_intc>;
104			interrupts = <3>;
105
106			clocks = <&periph_clk>;
107
108			status = "disabled";
109		};
110
111		ehci: usb@fffe1300 {
112			compatible = "brcm,bcm6358-ehci", "generic-ehci";
113			reg = <0xfffe1300 0x100>;
114			big-endian;
115			interrupt-parent = <&periph_intc>;
116			interrupts = <10>;
117			status = "disabled";
118		};
119
120		ohci: usb@fffe1400 {
121			compatible = "brcm,bcm6358-ohci", "generic-ohci";
122			reg = <0xfffe1400 0x100>;
123			big-endian;
124			no-big-frame-no;
125			interrupt-parent = <&periph_intc>;
126			interrupts = <5>;
127			status = "disabled";
128		};
129	};
130};
131