]> git.sur5r.net Git - u-boot/blob - arch/mips/dts/brcm,bcm63268.dtsi
4d020246cfb60751e1cf63a57ee56585f8a532b4
[u-boot] / arch / mips / dts / brcm,bcm63268.dtsi
1 /*
2  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <dt-bindings/clock/bcm63268-clock.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include "skeleton.dtsi"
10
11 / {
12         compatible = "brcm,bcm63268";
13
14         cpus {
15                 reg = <0x10000000 0x4>;
16                 #address-cells = <1>;
17                 #size-cells = <0>;
18                 u-boot,dm-pre-reloc;
19
20                 cpu@0 {
21                         compatible = "brcm,bcm63268-cpu", "mips,mips4Kc";
22                         device_type = "cpu";
23                         reg = <0>;
24                         u-boot,dm-pre-reloc;
25                 };
26
27                 cpu@1 {
28                         compatible = "brcm,bcm63268-cpu", "mips,mips4Kc";
29                         device_type = "cpu";
30                         reg = <1>;
31                         u-boot,dm-pre-reloc;
32                 };
33         };
34
35         clocks {
36                 compatible = "simple-bus";
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39                 u-boot,dm-pre-reloc;
40
41                 periph_osc: periph-osc {
42                         compatible = "fixed-clock";
43                         #clock-cells = <0>;
44                         clock-frequency = <50000000>;
45                         u-boot,dm-pre-reloc;
46                 };
47
48                 periph_clk: periph-clk {
49                         compatible = "brcm,bcm6345-clk";
50                         reg = <0x10000004 0x4>;
51                         #clock-cells = <1>;
52                 };
53
54                 timer_clk: timer-clk {
55                         compatible = "brcm,bcm6345-clk";
56                         reg = <0x100000ac 0x4>;
57                         #clock-cells = <1>;
58                 };
59         };
60
61         ubus {
62                 compatible = "simple-bus";
63                 #address-cells = <1>;
64                 #size-cells = <1>;
65                 u-boot,dm-pre-reloc;
66
67                 pll_cntl: syscon@10000008 {
68                         compatible = "syscon";
69                         reg = <0x10000008 0x4>;
70                 };
71
72                 syscon-reboot {
73                         compatible = "syscon-reboot";
74                         regmap = <&pll_cntl>;
75                         offset = <0x0>;
76                         mask = <0x1>;
77                 };
78
79                 gpio1: gpio-controller@100000c0 {
80                         compatible = "brcm,bcm6345-gpio";
81                         reg = <0x100000c0 0x4>, <0x100000c8 0x4>;
82                         gpio-controller;
83                         #gpio-cells = <2>;
84                         ngpios = <20>;
85
86                         status = "disabled";
87                 };
88
89                 gpio0: gpio-controller@100000c4 {
90                         compatible = "brcm,bcm6345-gpio";
91                         reg = <0x100000c4 0x4>, <0x100000cc 0x4>;
92                         gpio-controller;
93                         #gpio-cells = <2>;
94
95                         status = "disabled";
96                 };
97
98                 uart0: serial@10000180 {
99                         compatible = "brcm,bcm6345-uart";
100                         reg = <0x10000180 0x18>;
101                         clocks = <&periph_osc>;
102
103                         status = "disabled";
104                 };
105
106                 uart1: serial@100001a0 {
107                         compatible = "brcm,bcm6345-uart";
108                         reg = <0x100001a0 0x18>;
109                         clocks = <&periph_osc>;
110
111                         status = "disabled";
112                 };
113
114                 leds: led-controller@10001900 {
115                         compatible = "brcm,bcm6328-leds";
116                         reg = <0x10001900 0x24>;
117                         #address-cells = <1>;
118                         #size-cells = <0>;
119
120                         status = "disabled";
121                 };
122
123                 memory-controller@10003000 {
124                         compatible = "brcm,bcm6328-mc";
125                         reg = <0x10003000 0x1000>;
126                         u-boot,dm-pre-reloc;
127                 };
128         };
129 };