xref: /freebsd/sys/contrib/device-tree/src/c6x/tms320c6474.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel Vadot/ {
4*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
5*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
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		cpu@0 {
12*c66ec88fSEmmanuel Vadot			device_type = "cpu";
13*c66ec88fSEmmanuel Vadot			reg = <0>;
14*c66ec88fSEmmanuel Vadot			model = "ti,c64x+";
15*c66ec88fSEmmanuel Vadot		};
16*c66ec88fSEmmanuel Vadot		cpu@1 {
17*c66ec88fSEmmanuel Vadot			device_type = "cpu";
18*c66ec88fSEmmanuel Vadot			reg = <1>;
19*c66ec88fSEmmanuel Vadot			model = "ti,c64x+";
20*c66ec88fSEmmanuel Vadot		};
21*c66ec88fSEmmanuel Vadot		cpu@2 {
22*c66ec88fSEmmanuel Vadot			device_type = "cpu";
23*c66ec88fSEmmanuel Vadot			reg = <2>;
24*c66ec88fSEmmanuel Vadot			model = "ti,c64x+";
25*c66ec88fSEmmanuel Vadot		};
26*c66ec88fSEmmanuel Vadot	};
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot	soc {
29*c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
30*c66ec88fSEmmanuel Vadot		model = "tms320c6474";
31*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
32*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
33*c66ec88fSEmmanuel Vadot		ranges;
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot		core_pic: interrupt-controller {
36*c66ec88fSEmmanuel Vadot			interrupt-controller;
37*c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
38*c66ec88fSEmmanuel Vadot			compatible = "ti,c64x+core-pic";
39*c66ec88fSEmmanuel Vadot		};
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot		megamod_pic: interrupt-controller@1800000 {
42*c66ec88fSEmmanuel Vadot		       compatible = "ti,c64x+megamod-pic";
43*c66ec88fSEmmanuel Vadot		       interrupt-controller;
44*c66ec88fSEmmanuel Vadot		       #interrupt-cells = <1>;
45*c66ec88fSEmmanuel Vadot		       reg = <0x1800000 0x1000>;
46*c66ec88fSEmmanuel Vadot		       interrupt-parent = <&core_pic>;
47*c66ec88fSEmmanuel Vadot		};
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot		cache-controller@1840000 {
50*c66ec88fSEmmanuel Vadot			compatible = "ti,c64x+cache";
51*c66ec88fSEmmanuel Vadot			reg = <0x01840000 0x8400>;
52*c66ec88fSEmmanuel Vadot		};
53*c66ec88fSEmmanuel Vadot
54*c66ec88fSEmmanuel Vadot		timer3: timer@2940000 {
55*c66ec88fSEmmanuel Vadot			compatible = "ti,c64x+timer64";
56*c66ec88fSEmmanuel Vadot			ti,core-mask = < 0x04 >;
57*c66ec88fSEmmanuel Vadot			reg = <0x2940000 0x40>;
58*c66ec88fSEmmanuel Vadot		};
59*c66ec88fSEmmanuel Vadot
60*c66ec88fSEmmanuel Vadot		timer4: timer@2950000 {
61*c66ec88fSEmmanuel Vadot			compatible = "ti,c64x+timer64";
62*c66ec88fSEmmanuel Vadot			ti,core-mask = < 0x02 >;
63*c66ec88fSEmmanuel Vadot			reg = <0x2950000 0x40>;
64*c66ec88fSEmmanuel Vadot		};
65*c66ec88fSEmmanuel Vadot
66*c66ec88fSEmmanuel Vadot		timer5: timer@2960000 {
67*c66ec88fSEmmanuel Vadot			compatible = "ti,c64x+timer64";
68*c66ec88fSEmmanuel Vadot			ti,core-mask = < 0x01 >;
69*c66ec88fSEmmanuel Vadot			reg = <0x2960000 0x40>;
70*c66ec88fSEmmanuel Vadot		};
71*c66ec88fSEmmanuel Vadot
72*c66ec88fSEmmanuel Vadot		device-state-controller@2880800 {
73*c66ec88fSEmmanuel Vadot			compatible = "ti,c64x+dscr";
74*c66ec88fSEmmanuel Vadot			reg = <0x02880800 0x400>;
75*c66ec88fSEmmanuel Vadot
76*c66ec88fSEmmanuel Vadot			ti,dscr-devstat = <0x004>;
77*c66ec88fSEmmanuel Vadot			ti,dscr-silicon-rev = <0x014 28 0xf>;
78*c66ec88fSEmmanuel Vadot			ti,dscr-mac-fuse-regs = <0x34 3 4 5 6
79*c66ec88fSEmmanuel Vadot						 0x38 0 0 1 2>;
80*c66ec88fSEmmanuel Vadot		};
81*c66ec88fSEmmanuel Vadot
82*c66ec88fSEmmanuel Vadot		clock-controller@29a0000 {
83*c66ec88fSEmmanuel Vadot			compatible = "ti,c6474-pll", "ti,c64x+pll";
84*c66ec88fSEmmanuel Vadot			reg = <0x029a0000 0x200>;
85*c66ec88fSEmmanuel Vadot			ti,c64x+pll-bypass-delay = <120>;
86*c66ec88fSEmmanuel Vadot			ti,c64x+pll-reset-delay = <30000>;
87*c66ec88fSEmmanuel Vadot			ti,c64x+pll-lock-delay = <60000>;
88*c66ec88fSEmmanuel Vadot		};
89*c66ec88fSEmmanuel Vadot	};
90*c66ec88fSEmmanuel Vadot};
91