xref: /freebsd/sys/contrib/device-tree/src/mips/brcm/bcm3368.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot/ {
3*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
4*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
5*c66ec88fSEmmanuel Vadot	compatible = "brcm,bcm3368";
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot	cpus {
8*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
9*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot		mips-hpt-frequency = <150000000>;
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot		cpu@0 {
14*c66ec88fSEmmanuel Vadot			compatible = "brcm,bmips4350";
15*c66ec88fSEmmanuel Vadot			device_type = "cpu";
16*c66ec88fSEmmanuel Vadot			reg = <0>;
17*c66ec88fSEmmanuel Vadot		};
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot		cpu@1 {
20*c66ec88fSEmmanuel Vadot			compatible = "brcm,bmips4350";
21*c66ec88fSEmmanuel Vadot			device_type = "cpu";
22*c66ec88fSEmmanuel Vadot			reg = <1>;
23*c66ec88fSEmmanuel Vadot		};
24*c66ec88fSEmmanuel Vadot	};
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot	clocks {
27*c66ec88fSEmmanuel Vadot		periph_clk: periph-clk {
28*c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
29*c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
30*c66ec88fSEmmanuel Vadot			clock-frequency = <50000000>;
31*c66ec88fSEmmanuel Vadot		};
32*c66ec88fSEmmanuel Vadot	};
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot	aliases {
35*c66ec88fSEmmanuel Vadot		serial0 = &uart0;
36*c66ec88fSEmmanuel Vadot		serial1 = &uart1;
37*c66ec88fSEmmanuel Vadot	};
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot	cpu_intc: interrupt-controller {
40*c66ec88fSEmmanuel Vadot		#address-cells = <0>;
41*c66ec88fSEmmanuel Vadot		compatible = "mti,cpu-interrupt-controller";
42*c66ec88fSEmmanuel Vadot
43*c66ec88fSEmmanuel Vadot		interrupt-controller;
44*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
45*c66ec88fSEmmanuel Vadot	};
46*c66ec88fSEmmanuel Vadot
47*c66ec88fSEmmanuel Vadot	ubus {
48*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
49*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
50*c66ec88fSEmmanuel Vadot
51*c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
52*c66ec88fSEmmanuel Vadot		ranges;
53*c66ec88fSEmmanuel Vadot
54*c66ec88fSEmmanuel Vadot		clkctl: clock-controller@fff8c004 {
55*c66ec88fSEmmanuel Vadot			compatible = "brcm,bcm3368-clocks";
56*c66ec88fSEmmanuel Vadot			reg = <0xfff8c004 0x4>;
57*c66ec88fSEmmanuel Vadot			#clock-cells = <1>;
58*c66ec88fSEmmanuel Vadot		};
59*c66ec88fSEmmanuel Vadot
60*c66ec88fSEmmanuel Vadot		periph_cntl: syscon@fff8c008 {
61*c66ec88fSEmmanuel Vadot			compatible = "syscon";
62*c66ec88fSEmmanuel Vadot			reg = <0xfff8c000 0x4>;
63*c66ec88fSEmmanuel Vadot			native-endian;
64*c66ec88fSEmmanuel Vadot		};
65*c66ec88fSEmmanuel Vadot
66*c66ec88fSEmmanuel Vadot		reboot: syscon-reboot@fff8c008 {
67*c66ec88fSEmmanuel Vadot			compatible = "syscon-reboot";
68*c66ec88fSEmmanuel Vadot			regmap = <&periph_cntl>;
69*c66ec88fSEmmanuel Vadot			offset = <0x0>;
70*c66ec88fSEmmanuel Vadot			mask = <0x1>;
71*c66ec88fSEmmanuel Vadot		};
72*c66ec88fSEmmanuel Vadot
73*c66ec88fSEmmanuel Vadot		periph_intc: interrupt-controller@fff8c00c {
74*c66ec88fSEmmanuel Vadot			compatible = "brcm,bcm6345-l1-intc";
75*c66ec88fSEmmanuel Vadot			reg = <0xfff8c00c 0x8>;
76*c66ec88fSEmmanuel Vadot
77*c66ec88fSEmmanuel Vadot			interrupt-controller;
78*c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
79*c66ec88fSEmmanuel Vadot
80*c66ec88fSEmmanuel Vadot			interrupt-parent = <&cpu_intc>;
81*c66ec88fSEmmanuel Vadot			interrupts = <2>;
82*c66ec88fSEmmanuel Vadot		};
83*c66ec88fSEmmanuel Vadot
84*c66ec88fSEmmanuel Vadot		uart0: serial@fff8c100 {
85*c66ec88fSEmmanuel Vadot			compatible = "brcm,bcm6345-uart";
86*c66ec88fSEmmanuel Vadot			reg = <0xfff8c100 0x18>;
87*c66ec88fSEmmanuel Vadot
88*c66ec88fSEmmanuel Vadot			interrupt-parent = <&periph_intc>;
89*c66ec88fSEmmanuel Vadot			interrupts = <2>;
90*c66ec88fSEmmanuel Vadot
91*c66ec88fSEmmanuel Vadot			clocks = <&periph_clk>;
92*c66ec88fSEmmanuel Vadot			clock-names = "refclk";
93*c66ec88fSEmmanuel Vadot
94*c66ec88fSEmmanuel Vadot			status = "disabled";
95*c66ec88fSEmmanuel Vadot		};
96*c66ec88fSEmmanuel Vadot
97*c66ec88fSEmmanuel Vadot		uart1: serial@fff8c120 {
98*c66ec88fSEmmanuel Vadot			compatible = "brcm,bcm6345-uart";
99*c66ec88fSEmmanuel Vadot			reg = <0xfff8c120 0x18>;
100*c66ec88fSEmmanuel Vadot
101*c66ec88fSEmmanuel Vadot			interrupt-parent = <&periph_intc>;
102*c66ec88fSEmmanuel Vadot			interrupts = <3>;
103*c66ec88fSEmmanuel Vadot
104*c66ec88fSEmmanuel Vadot			clocks = <&periph_clk>;
105*c66ec88fSEmmanuel Vadot			clock-names = "refclk";
106*c66ec88fSEmmanuel Vadot
107*c66ec88fSEmmanuel Vadot			status = "disabled";
108*c66ec88fSEmmanuel Vadot		};
109*c66ec88fSEmmanuel Vadot	};
110*c66ec88fSEmmanuel Vadot};
111