]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | // SPDX-License-Identifier: GPL-2.0 |
8945e37e KC |
2 | / { |
3 | #address-cells = <1>; | |
4 | #size-cells = <1>; | |
5 | compatible = "brcm,bcm6368"; | |
6 | ||
7 | cpus { | |
8 | #address-cells = <1>; | |
9 | #size-cells = <0>; | |
10 | ||
11 | mips-hpt-frequency = <200000000>; | |
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 | }; | |
8945e37e KC |
24 | }; |
25 | ||
26 | clocks { | |
2d52ee82 | 27 | periph_clk: periph-clk { |
8945e37e KC |
28 | compatible = "fixed-clock"; |
29 | #clock-cells = <0>; | |
30 | clock-frequency = <50000000>; | |
31 | }; | |
32 | }; | |
33 | ||
34 | aliases { | |
2d52ee82 ÁFR |
35 | serial0 = &uart0; |
36 | serial1 = &uart1; | |
8945e37e KC |
37 | }; |
38 | ||
2d52ee82 | 39 | cpu_intc: interrupt-controller { |
8945e37e KC |
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 | ||
70ce14bf ÁFR |
54 | periph_cntl: syscon@10000000 { |
55 | compatible = "syscon"; | |
56 | reg = <0x10000000 0x14>; | |
25d6463e | 57 | native-endian; |
70ce14bf ÁFR |
58 | }; |
59 | ||
60 | reboot: syscon-reboot@10000008 { | |
61 | compatible = "syscon-reboot"; | |
62 | regmap = <&periph_cntl>; | |
63 | offset = <0x8>; | |
64 | mask = <0x1>; | |
65 | }; | |
66 | ||
2d52ee82 ÁFR |
67 | periph_intc: interrupt-controller@10000020 { |
68 | compatible = "brcm,bcm6345-l1-intc"; | |
69 | reg = <0x10000020 0x10>, | |
70 | <0x10000030 0x10>; | |
8945e37e KC |
71 | |
72 | interrupt-controller; | |
73 | #interrupt-cells = <1>; | |
74 | ||
75 | interrupt-parent = <&cpu_intc>; | |
2d52ee82 | 76 | interrupts = <2>, <3>; |
8945e37e KC |
77 | }; |
78 | ||
70ce14bf ÁFR |
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 | ||
8945e37e KC |
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 | ||
2d52ee82 ÁFR |
96 | uart1: serial@10000120 { |
97 | compatible = "brcm,bcm6345-uart"; | |
98 | reg = <0x10000120 0x18>; | |
99 | interrupt-parent = <&periph_intc>; | |
100 | interrupts = <3>; | |
101 | clocks = <&periph_clk>; | |
102 | status = "disabled"; | |
103 | }; | |
104 | ||
105 | ehci: usb@10001500 { | |
8945e37e KC |
106 | compatible = "brcm,bcm6368-ehci", "generic-ehci"; |
107 | reg = <0x10001500 0x100>; | |
108 | big-endian; | |
109 | interrupt-parent = <&periph_intc>; | |
110 | interrupts = <7>; | |
111 | status = "disabled"; | |
112 | }; | |
113 | ||
2d52ee82 | 114 | ohci: usb@10001600 { |
8945e37e KC |
115 | compatible = "brcm,bcm6368-ohci", "generic-ohci"; |
116 | reg = <0x10001600 0x100>; | |
117 | big-endian; | |
118 | no-big-frame-no; | |
119 | interrupt-parent = <&periph_intc>; | |
120 | interrupts = <5>; | |
121 | status = "disabled"; | |
122 | }; | |
123 | }; | |
124 | }; |