GNU Linux-libre 4.14.251-gnu1
[releases.git] / arch / mips / boot / dts / brcm / bcm6328.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 / {
3         #address-cells = <1>;
4         #size-cells = <1>;
5         compatible = "brcm,bcm6328";
6
7         cpus {
8                 #address-cells = <1>;
9                 #size-cells = <0>;
10
11                 mips-hpt-frequency = <160000000>;
12
13                 cpu@0 {
14                         compatible = "brcm,bmips4350";
15                         device_type = "cpu";
16                         reg = <0>;
17                 };
18
19                 cpu@1 {
20                         compatible = "brcm,bmips4350";
21                         device_type = "cpu";
22                         reg = <1>;
23                 };
24         };
25
26         clocks {
27                 periph_clk: periph-clk {
28                         compatible = "fixed-clock";
29                         #clock-cells = <0>;
30                         clock-frequency = <50000000>;
31                 };
32         };
33
34         aliases {
35                 serial0 = &uart0;
36                 serial1 = &uart1;
37         };
38
39         cpu_intc: interrupt-controller {
40                 #address-cells = <0>;
41                 compatible = "mti,cpu-interrupt-controller";
42
43                 interrupt-controller;
44                 #interrupt-cells = <1>;
45         };
46
47         ubus {
48                 #address-cells = <1>;
49                 #size-cells = <1>;
50
51                 compatible = "simple-bus";
52                 ranges;
53
54                 periph_intc: interrupt-controller@10000020 {
55                         compatible = "brcm,bcm6345-l1-intc";
56                         reg = <0x10000020 0x10>,
57                               <0x10000030 0x10>;
58
59                         interrupt-controller;
60                         #interrupt-cells = <1>;
61
62                         interrupt-parent = <&cpu_intc>;
63                         interrupts = <2>, <3>;
64                 };
65
66                 uart0: serial@10000100 {
67                         compatible = "brcm,bcm6345-uart";
68                         reg = <0x10000100 0x18>;
69                         interrupt-parent = <&periph_intc>;
70                         interrupts = <28>;
71                         clocks = <&periph_clk>;
72                         status = "disabled";
73                 };
74
75                 uart1: serial@10000120 {
76                         compatible = "brcm,bcm6345-uart";
77                         reg = <0x10000120 0x18>;
78                         interrupt-parent = <&periph_intc>;
79                         interrupts = <39>;
80                         clocks = <&periph_clk>;
81                         status = "disabled";
82                 };
83
84                 timer: syscon@10000040 {
85                         compatible = "syscon";
86                         reg = <0x10000040 0x2c>;
87                         native-endian;
88                 };
89
90                 reboot: syscon-reboot@10000068 {
91                         compatible = "syscon-reboot";
92                         regmap = <&timer>;
93                         offset = <0x28>;
94                         mask = <0x1>;
95                 };
96
97                 leds0: led-controller@10000800 {
98                         #address-cells = <1>;
99                         #size-cells = <0>;
100                         compatible = "brcm,bcm6328-leds";
101                         reg = <0x10000800 0x24>;
102                         status = "disabled";
103                 };
104
105                 ehci: usb@10002500 {
106                         compatible = "brcm,bcm6328-ehci", "generic-ehci";
107                         reg = <0x10002500 0x100>;
108                         big-endian;
109                         interrupt-parent = <&periph_intc>;
110                         interrupts = <42>;
111                         status = "disabled";
112                 };
113
114                 ohci: usb@10002600 {
115                         compatible = "brcm,bcm6328-ohci", "generic-ohci";
116                         reg = <0x10002600 0x100>;
117                         big-endian;
118                         no-big-frame-no;
119                         interrupt-parent = <&periph_intc>;
120                         interrupts = <41>;
121                         status = "disabled";
122                 };
123         };
124 };