MIPS: bmips: Improve BCM6368 device tree
[linux-drm-fsl-dcu.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
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                 leds0 = &leds0;
36                 uart0 = &uart0;
37         };
38
39         cpu_intc: cpu_intc {
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_cntl: syscon@10000000 {
55                         compatible = "syscon";
56                         reg = <0x10000000 0x14>;
57                         little-endian;
58                 };
59
60                 reboot: syscon-reboot@10000008 {
61                         compatible = "syscon-reboot";
62                         regmap = <&periph_cntl>;
63                         offset = <0x8>;
64                         mask = <0x1>;
65                 };
66
67                 periph_intc: periph_intc@10000020 {
68                         compatible = "brcm,bcm3380-l2-intc";
69                         reg = <0x10000024 0x4 0x1000002c 0x4>,
70                               <0x10000020 0x4 0x10000028 0x4>;
71
72                         interrupt-controller;
73                         #interrupt-cells = <1>;
74
75                         interrupt-parent = <&cpu_intc>;
76                         interrupts = <2>;
77                 };
78
79                 leds0: led-controller@100000d0 {
80                         #address-cells = <1>;
81                         #size-cells = <0>;
82                         compatible = "brcm,bcm6358-leds";
83                         reg = <0x100000d0 0x8>;
84                         status = "disabled";
85                 };
86
87                 uart0: serial@10000100 {
88                         compatible = "brcm,bcm6345-uart";
89                         reg = <0x10000100 0x18>;
90                         interrupt-parent = <&periph_intc>;
91                         interrupts = <2>;
92                         clocks = <&periph_clk>;
93                         status = "disabled";
94                 };
95
96                 ehci0: usb@10001500 {
97                         compatible = "brcm,bcm6368-ehci", "generic-ehci";
98                         reg = <0x10001500 0x100>;
99                         big-endian;
100                         interrupt-parent = <&periph_intc>;
101                         interrupts = <7>;
102                         status = "disabled";
103                 };
104
105                 ohci0: usb@10001600 {
106                         compatible = "brcm,bcm6368-ohci", "generic-ohci";
107                         reg = <0x10001600 0x100>;
108                         big-endian;
109                         no-big-frame-no;
110                         interrupt-parent = <&periph_intc>;
111                         interrupts = <5>;
112                         status = "disabled";
113                 };
114         };
115 };