blob: a5b43ae6e3367aa9e357fb72cf7bb6f30d065397 [file] [log] [blame]
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +02001/*
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/gpio/gpio.h>
8#include "skeleton.dtsi"
9
10/ {
11 compatible = "brcm,bcm6328";
12
13 cpus {
14 reg = <0x10000000 0x4>;
15 #address-cells = <1>;
16 #size-cells = <0>;
17 u-boot,dm-pre-reloc;
18
19 cpu@0 {
20 compatible = "brcm,bcm6328-cpu", "mips,mips4Kc";
21 device_type = "cpu";
22 reg = <0>;
23 u-boot,dm-pre-reloc;
24 };
25
26 cpu@1 {
27 compatible = "brcm,bcm6328-cpu", "mips,mips4Kc";
28 device_type = "cpu";
29 reg = <1>;
30 u-boot,dm-pre-reloc;
31 };
32 };
33
34 clocks {
35 compatible = "simple-bus";
36 #address-cells = <1>;
37 #size-cells = <1>;
38 u-boot,dm-pre-reloc;
39
40 periph_osc: periph-osc {
41 compatible = "fixed-clock";
42 #clock-cells = <0>;
43 clock-frequency = <50000000>;
44 u-boot,dm-pre-reloc;
45 };
46 };
47
48 ubus {
49 compatible = "simple-bus";
50 #address-cells = <1>;
51 #size-cells = <1>;
52 u-boot,dm-pre-reloc;
53
54 pll_cntl: syscon@10000068 {
55 compatible = "syscon";
56 reg = <0x10000068 0x4>;
57 };
58
59 syscon-reboot {
60 compatible = "syscon-reboot";
61 regmap = <&pll_cntl>;
62 offset = <0x0>;
63 mask = <0x1>;
64 };
65
Álvaro Fernández Rojas320186f2017-05-07 20:09:32 +020066 gpio: gpio-controller@10000084 {
67 compatible = "brcm,bcm6345-gpio";
68 reg = <0x10000084 0x4>, <0x1000008c 0x4>;
69 gpio-controller;
70 #gpio-cells = <2>;
71
72 status = "disabled";
73 };
74
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +020075 uart0: serial@10000100 {
76 compatible = "brcm,bcm6345-uart";
77 reg = <0x10000100 0x18>;
78 clocks = <&periph_osc>;
79
80 status = "disabled";
81 };
82
83 uart1: serial@10000120 {
84 compatible = "brcm,bcm6345-uart";
85 reg = <0x10000120 0x18>;
86 clocks = <&periph_osc>;
87
88 status = "disabled";
89 };
90
Álvaro Fernández Rojase0f1fd22017-05-07 20:10:25 +020091 leds: led-controller@10000800 {
92 compatible = "brcm,bcm6328-leds";
93 reg = <0x10000800 0x24>;
94 #address-cells = <1>;
95 #size-cells = <0>;
96
97 status = "disabled";
98 };
99
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +0200100 memory-controller@10003000 {
101 compatible = "brcm,bcm6328-mc";
102 reg = <0x10003000 0x1000>;
103 u-boot,dm-pre-reloc;
104 };
105 };
106};