WIP FPC-III support
[linux/fpc-iii.git] / arch / mips / boot / dts / brcm / bcm6358.dtsi
blob9d93e7f5e6fc7ea70c833463ac635f8b00dcb1a2
1 // SPDX-License-Identifier: GPL-2.0
2 / {
3         #address-cells = <1>;
4         #size-cells = <1>;
5         compatible = "brcm,bcm6358";
7         cpus {
8                 #address-cells = <1>;
9                 #size-cells = <0>;
11                 mips-hpt-frequency = <150000000>;
13                 cpu@0 {
14                         compatible = "brcm,bmips4350";
15                         device_type = "cpu";
16                         reg = <0>;
17                 };
19                 cpu@1 {
20                         compatible = "brcm,bmips4350";
21                         device_type = "cpu";
22                         reg = <1>;
23                 };
24         };
26         clocks {
27                 periph_clk: periph-clk {
28                         compatible = "fixed-clock";
29                         #clock-cells = <0>;
30                         clock-frequency = <50000000>;
31                 };
32         };
34         aliases {
35                 serial0 = &uart0;
36                 serial1 = &uart1;
37         };
39         cpu_intc: interrupt-controller {
40                 #address-cells = <0>;
41                 compatible = "mti,cpu-interrupt-controller";
43                 interrupt-controller;
44                 #interrupt-cells = <1>;
45         };
47         ubus {
48                 #address-cells = <1>;
49                 #size-cells = <1>;
51                 compatible = "simple-bus";
52                 ranges;
54                 clkctl: clock-controller@fffe0004 {
55                         compatible = "brcm,bcm6358-clocks";
56                         reg = <0xfffe0004 0x4>;
57                         #clock-cells = <1>;
58                 };
60                 periph_cntl: syscon@fffe0008 {
61                         compatible = "syscon";
62                         reg = <0xfffe0000 0x4>;
63                         native-endian;
64                 };
66                 reboot: syscon-reboot@fffe0008 {
67                         compatible = "syscon-reboot";
68                         regmap = <&periph_cntl>;
69                         offset = <0x0>;
70                         mask = <0x1>;
71                 };
73                 periph_intc: interrupt-controller@fffe000c {
74                         compatible = "brcm,bcm6345-l1-intc";
75                         reg = <0xfffe000c 0x8>,
76                               <0xfffe0038 0x8>;
78                         interrupt-controller;
79                         #interrupt-cells = <1>;
81                         interrupt-parent = <&cpu_intc>;
82                         interrupts = <2>, <3>;
83                 };
85                 periph_rst: reset-controller@fffe0034 {
86                         compatible = "brcm,bcm6345-reset";
87                         reg = <0xfffe0034 0x4>;
88                         #reset-cells = <1>;
89                 };
91                 leds0: led-controller@fffe00d0 {
92                         #address-cells = <1>;
93                         #size-cells = <0>;
94                         compatible = "brcm,bcm6358-leds";
95                         reg = <0xfffe00d0 0x8>;
97                         status = "disabled";
98                 };
100                 uart0: serial@fffe0100 {
101                         compatible = "brcm,bcm6345-uart";
102                         reg = <0xfffe0100 0x18>;
104                         interrupt-parent = <&periph_intc>;
105                         interrupts = <2>;
107                         clocks = <&periph_clk>;
108                         clock-names = "refclk";
110                         status = "disabled";
111                 };
113                 uart1: serial@fffe0120 {
114                         compatible = "brcm,bcm6345-uart";
115                         reg = <0xfffe0120 0x18>;
117                         interrupt-parent = <&periph_intc>;
118                         interrupts = <3>;
120                         clocks = <&periph_clk>;
121                         clock-names = "refclk";
123                         status = "disabled";
124                 };
126                 ehci: usb@fffe1300 {
127                         compatible = "brcm,bcm6358-ehci", "generic-ehci";
128                         reg = <0xfffe1300 0x100>;
129                         big-endian;
130                         interrupt-parent = <&periph_intc>;
131                         interrupts = <10>;
132                         status = "disabled";
133                 };
135                 ohci: usb@fffe1400 {
136                         compatible = "brcm,bcm6358-ohci", "generic-ohci";
137                         reg = <0xfffe1400 0x100>;
138                         big-endian;
139                         no-big-frame-no;
140                         interrupt-parent = <&periph_intc>;
141                         interrupts = <5>;
142                         status = "disabled";
143                 };
144         };