Loading...
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 clock-names = "refclk";
73 status = "disabled";
74 };
75
76 uart1: serial@10000120 {
77 compatible = "brcm,bcm6345-uart";
78 reg = <0x10000120 0x18>;
79 interrupt-parent = <&periph_intc>;
80 interrupts = <39>;
81 clocks = <&periph_clk>;
82 clock-names = "refclk";
83 status = "disabled";
84 };
85
86 timer: syscon@10000040 {
87 compatible = "syscon";
88 reg = <0x10000040 0x2c>;
89 native-endian;
90 };
91
92 reboot: syscon-reboot@10000068 {
93 compatible = "syscon-reboot";
94 regmap = <&timer>;
95 offset = <0x28>;
96 mask = <0x1>;
97 };
98
99 leds0: led-controller@10000800 {
100 #address-cells = <1>;
101 #size-cells = <0>;
102 compatible = "brcm,bcm6328-leds";
103 reg = <0x10000800 0x24>;
104 status = "disabled";
105 };
106
107 ehci: usb@10002500 {
108 compatible = "brcm,bcm6328-ehci", "generic-ehci";
109 reg = <0x10002500 0x100>;
110 big-endian;
111 interrupt-parent = <&periph_intc>;
112 interrupts = <42>;
113 status = "disabled";
114 };
115
116 ohci: usb@10002600 {
117 compatible = "brcm,bcm6328-ohci", "generic-ohci";
118 reg = <0x10002600 0x100>;
119 big-endian;
120 no-big-frame-no;
121 interrupt-parent = <&periph_intc>;
122 interrupts = <41>;
123 status = "disabled";
124 };
125 };
126};
1/ {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "brcm,bcm6328";
5
6 cpus {
7 #address-cells = <1>;
8 #size-cells = <0>;
9
10 mips-hpt-frequency = <160000000>;
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 clocks {
26 periph_clk: periph_clk {
27 compatible = "fixed-clock";
28 #clock-cells = <0>;
29 clock-frequency = <50000000>;
30 };
31 };
32
33 aliases {
34 leds0 = &leds0;
35 uart0 = &uart0;
36 };
37
38 cpu_intc: cpu_intc {
39 #address-cells = <0>;
40 compatible = "mti,cpu-interrupt-controller";
41
42 interrupt-controller;
43 #interrupt-cells = <1>;
44 };
45
46 ubus {
47 #address-cells = <1>;
48 #size-cells = <1>;
49
50 compatible = "simple-bus";
51 ranges;
52
53 periph_intc: periph_intc@10000020 {
54 compatible = "brcm,bcm3380-l2-intc";
55 reg = <0x10000024 0x4 0x1000002c 0x4>,
56 <0x10000020 0x4 0x10000028 0x4>;
57
58 interrupt-controller;
59 #interrupt-cells = <1>;
60
61 interrupt-parent = <&cpu_intc>;
62 interrupts = <2>;
63 };
64
65 uart0: serial@10000100 {
66 compatible = "brcm,bcm6345-uart";
67 reg = <0x10000100 0x18>;
68 interrupt-parent = <&periph_intc>;
69 interrupts = <28>;
70 clocks = <&periph_clk>;
71 status = "disabled";
72 };
73
74 timer: timer@10000040 {
75 compatible = "syscon";
76 reg = <0x10000040 0x2c>;
77 native-endian;
78 };
79
80 reboot {
81 compatible = "syscon-reboot";
82 regmap = <&timer>;
83 offset = <0x28>;
84 mask = <0x1>;
85 };
86
87 leds0: led-controller@10000800 {
88 #address-cells = <1>;
89 #size-cells = <0>;
90 compatible = "brcm,bcm6328-leds";
91 reg = <0x10000800 0x24>;
92 status = "disabled";
93 };
94 };
95};