mips: bmips: bcm6368: include dt-bindings
[linux-2.6-microblaze.git] / arch / mips / boot / dts / brcm / bcm6368.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2
3 #include "dt-bindings/clock/bcm6368-clock.h"
4 #include "dt-bindings/reset/bcm6368-reset.h"
5
6 / {
7         #address-cells = <1>;
8         #size-cells = <1>;
9         compatible = "brcm,bcm6368";
10
11         cpus {
12                 #address-cells = <1>;
13                 #size-cells = <0>;
14
15                 mips-hpt-frequency = <200000000>;
16
17                 cpu@0 {
18                         compatible = "brcm,bmips4350";
19                         device_type = "cpu";
20                         reg = <0>;
21                 };
22
23                 cpu@1 {
24                         compatible = "brcm,bmips4350";
25                         device_type = "cpu";
26                         reg = <1>;
27                 };
28         };
29
30         clocks {
31                 periph_clk: periph-clk {
32                         compatible = "fixed-clock";
33                         #clock-cells = <0>;
34                         clock-frequency = <50000000>;
35                 };
36         };
37
38         aliases {
39                 serial0 = &uart0;
40                 serial1 = &uart1;
41         };
42
43         cpu_intc: interrupt-controller {
44                 #address-cells = <0>;
45                 compatible = "mti,cpu-interrupt-controller";
46
47                 interrupt-controller;
48                 #interrupt-cells = <1>;
49         };
50
51         ubus {
52                 #address-cells = <1>;
53                 #size-cells = <1>;
54
55                 compatible = "simple-bus";
56                 ranges;
57
58                 clkctl: clock-controller@10000004 {
59                         compatible = "brcm,bcm6368-clocks";
60                         reg = <0x10000004 0x4>;
61                         #clock-cells = <1>;
62                 };
63
64                 periph_cntl: syscon@100000008 {
65                         compatible = "syscon";
66                         reg = <0x10000000 0xc>;
67                         native-endian;
68                 };
69
70                 reboot: syscon-reboot@10000008 {
71                         compatible = "syscon-reboot";
72                         regmap = <&periph_cntl>;
73                         offset = <0x0>;
74                         mask = <0x1>;
75                 };
76
77                 periph_rst: reset-controller@10000010 {
78                         compatible = "brcm,bcm6345-reset";
79                         reg = <0x10000010 0x4>;
80                         #reset-cells = <1>;
81                 };
82
83                 periph_intc: interrupt-controller@10000020 {
84                         compatible = "brcm,bcm6345-l1-intc";
85                         reg = <0x10000020 0x10>,
86                               <0x10000030 0x10>;
87
88                         interrupt-controller;
89                         #interrupt-cells = <1>;
90
91                         interrupt-parent = <&cpu_intc>;
92                         interrupts = <2>, <3>;
93                 };
94
95                 leds0: led-controller@100000d0 {
96                         #address-cells = <1>;
97                         #size-cells = <0>;
98                         compatible = "brcm,bcm6358-leds";
99                         reg = <0x100000d0 0x8>;
100                         status = "disabled";
101                 };
102
103                 uart0: serial@10000100 {
104                         compatible = "brcm,bcm6345-uart";
105                         reg = <0x10000100 0x18>;
106                         interrupt-parent = <&periph_intc>;
107                         interrupts = <2>;
108                         clocks = <&periph_clk>;
109                         clock-names = "refclk";
110                         status = "disabled";
111                 };
112
113                 uart1: serial@10000120 {
114                         compatible = "brcm,bcm6345-uart";
115                         reg = <0x10000120 0x18>;
116                         interrupt-parent = <&periph_intc>;
117                         interrupts = <3>;
118                         clocks = <&periph_clk>;
119                         clock-names = "refclk";
120                         status = "disabled";
121                 };
122
123                 ehci: usb@10001500 {
124                         compatible = "brcm,bcm6368-ehci", "generic-ehci";
125                         reg = <0x10001500 0x100>;
126                         big-endian;
127                         interrupt-parent = <&periph_intc>;
128                         interrupts = <7>;
129                         status = "disabled";
130                 };
131
132                 ohci: usb@10001600 {
133                         compatible = "brcm,bcm6368-ohci", "generic-ohci";
134                         reg = <0x10001600 0x100>;
135                         big-endian;
136                         no-big-frame-no;
137                         interrupt-parent = <&periph_intc>;
138                         interrupts = <5>;
139                         status = "disabled";
140                 };
141         };
142 };