GNU Linux-libre 4.9-gnu1
[releases.git] / arch / mips / boot / dts / brcm / bcm6368.dtsi
1 / {
2         #address-cells = <1>;
3         #size-cells = <1>;
4         compatible = "brcm,bcm6368";
5
6         cpus {
7                 #address-cells = <1>;
8                 #size-cells = <0>;
9
10                 mips-hpt-frequency = <200000000>;
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@10000000 {
54                         compatible = "syscon";
55                         reg = <0x10000000 0x14>;
56                         native-endian;
57                 };
58
59                 reboot: syscon-reboot@10000008 {
60                         compatible = "syscon-reboot";
61                         regmap = <&periph_cntl>;
62                         offset = <0x8>;
63                         mask = <0x1>;
64                 };
65
66                 periph_intc: interrupt-controller@10000020 {
67                         compatible = "brcm,bcm6345-l1-intc";
68                         reg = <0x10000020 0x10>,
69                               <0x10000030 0x10>;
70
71                         interrupt-controller;
72                         #interrupt-cells = <1>;
73
74                         interrupt-parent = <&cpu_intc>;
75                         interrupts = <2>, <3>;
76                 };
77
78                 leds0: led-controller@100000d0 {
79                         #address-cells = <1>;
80                         #size-cells = <0>;
81                         compatible = "brcm,bcm6358-leds";
82                         reg = <0x100000d0 0x8>;
83                         status = "disabled";
84                 };
85
86                 uart0: serial@10000100 {
87                         compatible = "brcm,bcm6345-uart";
88                         reg = <0x10000100 0x18>;
89                         interrupt-parent = <&periph_intc>;
90                         interrupts = <2>;
91                         clocks = <&periph_clk>;
92                         status = "disabled";
93                 };
94
95                 uart1: serial@10000120 {
96                         compatible = "brcm,bcm6345-uart";
97                         reg = <0x10000120 0x18>;
98                         interrupt-parent = <&periph_intc>;
99                         interrupts = <3>;
100                         clocks = <&periph_clk>;
101                         status = "disabled";
102                 };
103
104                 ehci: usb@10001500 {
105                         compatible = "brcm,bcm6368-ehci", "generic-ehci";
106                         reg = <0x10001500 0x100>;
107                         big-endian;
108                         interrupt-parent = <&periph_intc>;
109                         interrupts = <7>;
110                         status = "disabled";
111                 };
112
113                 ohci: usb@10001600 {
114                         compatible = "brcm,bcm6368-ohci", "generic-ohci";
115                         reg = <0x10001600 0x100>;
116                         big-endian;
117                         no-big-frame-no;
118                         interrupt-parent = <&periph_intc>;
119                         interrupts = <5>;
120                         status = "disabled";
121                 };
122         };
123 };