Commit | Line | Data |
---|---|---|
b2441318 | 1 | // SPDX-License-Identifier: GPL-2.0 |
7537d273 ÁFR |
2 | / { |
3 | #address-cells = <1>; | |
4 | #size-cells = <1>; | |
5 | compatible = "brcm,bcm6358"; | |
6 | ||
7 | cpus { | |
8 | #address-cells = <1>; | |
9 | #size-cells = <0>; | |
10 | ||
11 | mips-hpt-frequency = <150000000>; | |
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_cntl: syscon@fffe0000 { | |
55 | compatible = "syscon"; | |
56 | reg = <0xfffe0000 0xc>; | |
57 | native-endian; | |
58 | }; | |
59 | ||
60 | reboot: syscon-reboot@fffe0008 { | |
61 | compatible = "syscon-reboot"; | |
62 | regmap = <&periph_cntl>; | |
63 | offset = <0x8>; | |
64 | mask = <0x1>; | |
65 | }; | |
66 | ||
67 | periph_intc: interrupt-controller@fffe000c { | |
68 | compatible = "brcm,bcm6345-l1-intc"; | |
69 | reg = <0xfffe000c 0x8>, | |
70 | <0xfffe0038 0x8>; | |
71 | ||
72 | interrupt-controller; | |
73 | #interrupt-cells = <1>; | |
74 | ||
75 | interrupt-parent = <&cpu_intc>; | |
76 | interrupts = <2>, <3>; | |
77 | }; | |
78 | ||
79 | leds0: led-controller@fffe00d0 { | |
80 | #address-cells = <1>; | |
81 | #size-cells = <0>; | |
82 | compatible = "brcm,bcm6358-leds"; | |
83 | reg = <0xfffe00d0 0x8>; | |
84 | ||
85 | status = "disabled"; | |
86 | }; | |
87 | ||
88 | uart0: serial@fffe0100 { | |
89 | compatible = "brcm,bcm6345-uart"; | |
90 | reg = <0xfffe0100 0x18>; | |
91 | ||
92 | interrupt-parent = <&periph_intc>; | |
93 | interrupts = <2>; | |
94 | ||
95 | clocks = <&periph_clk>; | |
96 | ||
97 | status = "disabled"; | |
98 | }; | |
99 | ||
100 | uart1: serial@fffe0120 { | |
101 | compatible = "brcm,bcm6345-uart"; | |
102 | reg = <0xfffe0120 0x18>; | |
103 | ||
104 | interrupt-parent = <&periph_intc>; | |
105 | interrupts = <3>; | |
106 | ||
107 | clocks = <&periph_clk>; | |
108 | ||
109 | status = "disabled"; | |
110 | }; | |
111 | ||
112 | ehci: usb@fffe1300 { | |
113 | compatible = "brcm,bcm6358-ehci", "generic-ehci"; | |
114 | reg = <0xfffe1300 0x100>; | |
115 | big-endian; | |
116 | interrupt-parent = <&periph_intc>; | |
117 | interrupts = <10>; | |
118 | status = "disabled"; | |
119 | }; | |
120 | ||
121 | ohci: usb@fffe1400 { | |
122 | compatible = "brcm,bcm6358-ohci", "generic-ohci"; | |
123 | reg = <0xfffe1400 0x100>; | |
124 | big-endian; | |
125 | no-big-frame-no; | |
126 | interrupt-parent = <&periph_intc>; | |
127 | interrupts = <5>; | |
128 | status = "disabled"; | |
129 | }; | |
130 | }; | |
131 | }; |